Skip to content

Commit

Permalink
fix make lint, add adev
Browse files Browse the repository at this point in the history
  • Loading branch information
myrho committed Mar 15, 2024
1 parent df8b91c commit 42a3382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test-all-env:
tox -- graphsense

lint:
flake8 gsrest
flake8 ./gsrest --count --max-line-length=80 --statistics --exclude plugins

format:
autopep8 --in-place --recursive gsrest
Expand All @@ -16,6 +16,9 @@ format:
serve:
python -m aiohttp.web -H localhost -P 9000 openapi_server:main

dev:
adev runserver -p 9000 --root . --app-factory main openapi_server/__init__.py

build-docker:
docker build -t graphsense-rest .

Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ pytest>=6.2.5
pytest-cov>=3.0.0
pytest-randomly>=3.11
pytest-aiohttp>=1.0.3
pytest-icdiff >= 0.6
pytest-icdiff >= 0.6
aiohttp-devtools==1.1.2

0 comments on commit 42a3382

Please sign in to comment.