mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-15 17:01:49 +02:00
Compare commits
2 commits
4b96e89422
...
65290aa95c
Author | SHA1 | Date | |
---|---|---|---|
65290aa95c | |||
c59e8de354 |
3 changed files with 4 additions and 15 deletions
|
@ -78,15 +78,6 @@ Thanks again!
|
||||||
(setup-dev-environment)=
|
(setup-dev-environment)=
|
||||||
## Set up a dev environment
|
## Set up a dev environment
|
||||||
|
|
||||||
### Requirements
|
|
||||||
|
|
||||||
In addition to general {ref}`requirements<system-requirements>`, you will need
|
|
||||||
**uv**. It recommended to install uv [system
|
|
||||||
wide](https://docs.astral.sh/uv/getting-started/installation/#standalone-installer)
|
|
||||||
as it is a kind of replacement for pip.
|
|
||||||
|
|
||||||
### Getting the sources
|
|
||||||
|
|
||||||
You must develop on top of the Git master branch:
|
You must develop on top of the Git master branch:
|
||||||
|
|
||||||
git clone https://github.com/spiral-project/ihatemoney.git
|
git clone https://github.com/spiral-project/ihatemoney.git
|
||||||
|
|
|
@ -38,9 +38,6 @@ def history_sort_key(history_item_dict):
|
||||||
|
|
||||||
def describe_version(version_obj):
|
def describe_version(version_obj):
|
||||||
"""Use the base model str() function to describe a version object"""
|
"""Use the base model str() function to describe a version object"""
|
||||||
if not version_obj:
|
|
||||||
return ""
|
|
||||||
else:
|
|
||||||
return parent_class(type(version_obj)).__str__(version_obj)
|
return parent_class(type(version_obj)).__str__(version_obj)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ dependencies = [
|
||||||
"email_validator>=1.0,<3",
|
"email_validator>=1.0,<3",
|
||||||
"Flask>=2,<4",
|
"Flask>=2,<4",
|
||||||
"Flask-Babel>=1.0,<4",
|
"Flask-Babel>=1.0,<4",
|
||||||
"Flask-Cors>=3.0.8,<6",
|
"Flask-Cors>=3.0.8,<4",
|
||||||
"Flask-Limiter>=2.6,<3",
|
"Flask-Limiter>=2.6,<3",
|
||||||
"Flask-Mail>=0.9.1,<1",
|
"Flask-Mail>=0.9.1,<1",
|
||||||
"Flask-Migrate>=2.5.3,<5", # Not following semantic versioning (e.g. https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b)
|
"Flask-Migrate>=2.5.3,<5", # Not following semantic versioning (e.g. https://github.com/miguelgrinberg/flask-migrate/commit/1af28ba273de6c88544623b8dc02dd539340294b)
|
||||||
|
@ -53,11 +53,12 @@ dependencies = [
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
database = [
|
database = [
|
||||||
# Python 3.11 support starts in 2.9.2
|
# Python 3.11 support starts in 2.9.2
|
||||||
"psycopg2-binary>=2.9.2,<2.9.11",
|
"psycopg2-binary>=2.9.2,<2.9.9",
|
||||||
"PyMySQL>=0.9,<1.2",
|
"PyMySQL>=0.9,<1.2",
|
||||||
]
|
]
|
||||||
dev = [
|
dev = [
|
||||||
"ruff==0.8.4",
|
"ruff==0.8.4",
|
||||||
|
"flake8==5.0.4",
|
||||||
"isort==5.11.5",
|
"isort==5.11.5",
|
||||||
"vermin==1.6.0",
|
"vermin==1.6.0",
|
||||||
"pytest>=6.2.5",
|
"pytest>=6.2.5",
|
||||||
|
|
Loading…
Reference in a new issue