[clean] Linter / typing fixes

This commit is contained in:
Lucas PASCAL
2023-07-28 15:41:17 +02:00
parent e5c82d910e
commit 54b979186d
11 changed files with 117 additions and 73 deletions

View File

@@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
- run: pip install flake8
- name: Flake8 lint Python code
run: find client/src/ -type f -name '*.py' -exec flake8 --max-line-length=120 '{}' '+'
run: (cd client && find src/ -type f -name '*.py' -exec flake8 --max-line-length=120 '{}' '+')
mypy:
name: Type checking
@@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v3
- run: pip install mypy
- name: Mypy type checking
run: mypy client/src
run: (cd client && mypy src/)
build:
name: Building the package