Compare commits

..

2 commits

Author SHA1 Message Date
65290aa95c
Merge branch 'master' into remove-flake8 2024-12-23 21:24:42 +01:00
c59e8de354
Remove flake8 2024-12-20 18:12:27 +01:00
3 changed files with 4 additions and 15 deletions

View file

@ -78,15 +78,6 @@ Thanks again!
(setup-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:
git clone https://github.com/spiral-project/ihatemoney.git

View file

@ -38,9 +38,6 @@ def history_sort_key(history_item_dict):
def describe_version(version_obj):
"""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)

View file

@ -32,7 +32,7 @@ dependencies = [
"email_validator>=1.0,<3",
"Flask>=2,<4",
"Flask-Babel>=1.0,<4",
"Flask-Cors>=3.0.8,<6",
"Flask-Cors>=3.0.8,<4",
"Flask-Limiter>=2.6,<3",
"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)
@ -53,11 +53,12 @@ dependencies = [
[project.optional-dependencies]
database = [
# 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",
]
dev = [
"ruff==0.8.4",
"flake8==5.0.4",
"isort==5.11.5",
"vermin==1.6.0",
"pytest>=6.2.5",