File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : python
22
33python :
4- - " 3.8"
5- - " 3.9"
4+ - " 3.12" # Specify the Python version to use
5+
6+ env :
7+ - TESTING=True
68
79# Enable caching for pip to speed up builds by reusing previously downloaded packages
8- cache : pip
10+ cache :
11+ pip : true
912
1013# Add PostgreSQL service for testing database interactions
1114services :
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ gunicorn>=20.1.0
1313psycopg2-binary >= 2.9.0 # Switched from psycopg2 to psycopg2-binary for easier installation
1414python-dotenv >= 0.19.1
1515sqlalchemy >= 1.4.31
16+ alembic >= 1.7.4 # Added for database migrations
1617
1718# Testing dependencies
1819pytest >= 7.4.0
@@ -22,11 +23,13 @@ pytest-cov>=4.0.0 # Added for coverage reporting
2223pytest-xdist >= 2.4.0 # Added for parallel test execution
2324pytest-asyncio >= 0.20.3 # If asynchronous tests are included
2425
25- # Linting and code style (optional, but recommended)
26- flake8 == 6.1.0
26+ # Development dependencies (optional but recommended)
27+ flake8 >= 6.1.0
28+ # mock>=4.0.3 # Remove if not needed
2729
28- # Mocking dependencies
29- mock >= 4.0.3 # Added for mock compatibility
30+ # Documentation dependencies (optional)
31+ sphinx >= 4.0.0
32+ furo >= 2021.8.14
3033
31- # Pin setuptools to avoid psycopg2 issues
32- setuptools == 70.0.0 # Added to avoid conflicts with psycopg2 setup
34+ # Pre-commit for linting and formatting (optional)
35+ pre-commit >= 2.20.0 ß
You can’t perform that action at this time.
0 commit comments