Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
Add type and syntax checking with mypy and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Mar 8, 2021
1 parent 2f69930 commit 5751ba6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
pip install -r requirements.txt
pip install -r requirements-test.txt
python setup.py -q install
- name: Check types and syntax 🦆
run: |
mypy .
flake8
- name: Test 🧪
env:
DB_URL: bolt://neo4j:ci@localhost:7687
Expand Down
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
pytest-runner==5.3.0
pytest-flask==1.2.0
coveralls==3.0.1
mypy==0.812
flake8==3.8.4

0 comments on commit 5751ba6

Please sign in to comment.