Add Python linting and typechecking to nox and CI. Fix code style and typing issues.
Showing
- .gitlab-ci.yml 29 additions, 1 deletion.gitlab-ci.yml
- cmake/PrepareSFG.cmake 1 addition, 1 deletioncmake/PrepareSFG.cmake
- codegen-requirements.txt 0 additions, 0 deletionscodegen-requirements.txt
- mypy.ini 3 additions, 0 deletionsmypy.ini
- noxfile.py 21 additions, 0 deletionsnoxfile.py
- src/walberla/codegen/api.py 18 additions, 3 deletionssrc/walberla/codegen/api.py
- src/walberla/codegen/boundaries/boundary_utils.py 0 additions, 3 deletionssrc/walberla/codegen/boundaries/boundary_utils.py
- src/walberla/codegen/boundaries/hbb.py 2 additions, 2 deletionssrc/walberla/codegen/boundaries/hbb.py
- src/walberla/codegen/sweep.py 19 additions, 16 deletionssrc/walberla/codegen/sweep.py
- src/walberla/codegen/symbolic.py 15 additions, 0 deletionssrc/walberla/codegen/symbolic.py