Skip to content

Commit

Permalink
Checks only platotk with mypy
Browse files Browse the repository at this point in the history
Running mypy on the whole repo generates errors when two folders contain two
python files with the same name. This generates a mypy error and a simple
solution to it is not possible.
See related issues:
- python/mypy#10428
- python/mypy#4008

For this reason, we restrict type checking only on the main package code.
  • Loading branch information
mzat-msft committed Jun 12, 2023
1 parent 84d6680 commit e41d91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
pip install -r requirements/dev_requirements.txt
- name: Analysing code with mypy
run: |
mypy --explicit-package-bases $(git ls-files '*.py')
mypy src/platotk

0 comments on commit e41d91f

Please sign in to comment.