mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-15 08:51:50 +02:00
Compare commits
6 commits
65290aa95c
...
4b96e89422
Author | SHA1 | Date | |
---|---|---|---|
4b96e89422 | |||
![]() |
dcb61b62b1 | ||
![]() |
e00c39a62c | ||
![]() |
2f099674ed | ||
![]() |
752c80d29f | ||
![]() |
61ea1f54d2 |
3 changed files with 15 additions and 4 deletions
|
@ -78,6 +78,15 @@ 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
|
||||
|
|
|
@ -38,6 +38,9 @@ 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)
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ dependencies = [
|
|||
"email_validator>=1.0,<3",
|
||||
"Flask>=2,<4",
|
||||
"Flask-Babel>=1.0,<4",
|
||||
"Flask-Cors>=3.0.8,<4",
|
||||
"Flask-Cors>=3.0.8,<6",
|
||||
"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,12 +53,11 @@ dependencies = [
|
|||
[project.optional-dependencies]
|
||||
database = [
|
||||
# Python 3.11 support starts in 2.9.2
|
||||
"psycopg2-binary>=2.9.2,<2.9.9",
|
||||
"psycopg2-binary>=2.9.2,<2.9.11",
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue