Skip to content

Commit

Permalink
Merge pull request #18 from talgat-abdraimov/chore/updates
Browse files Browse the repository at this point in the history
updated base configs
  • Loading branch information
talgat-abdraimov authored Apr 30, 2024
2 parents dc61207 + 9348917 commit 6c82fb6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
dev-deps:
# Install dependencies
# Compile and Install dev dependencies
pip-compile -o dev-requirements.txt dev-requirements.in

deps:
# Compile and Install dependencies
pip-compile -o requirements.txt requirements.in

ruff:
# Run ruff checks
ruff check --fix
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
environment:
DEBUG: True
<<: *common-variables
command: uvicorn code.app:app --host 0.0.0.0 --port 8000 --reload
command: echo "Hello, world!"

networks:
default:
Expand Down
10 changes: 4 additions & 6 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
python_files = test*.py
asyncio_mode = auto
addopts = --verbose
--show-capture stdout
--disable-warnings
--cov=code
--cov-report=term-missing
pythonpath= . code
--cov code
--cov-report term

markers =
freeze_time: freezing time marker (pytest-freezegun does not register it)
slow: tests with inentional slow run
pythonpath = . code

0 comments on commit 6c82fb6

Please sign in to comment.