You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# These flags make mypy associate different module names to `test.py`
# files from different test directories.
- --explicit-package-bases
- --namespace-packages
additional_dependencies:
- pytest-lsp
- lsprotocol<2025.0.0
- e3-testsuite
- psutil
- types-psutil
- repo: local
hooks:
# This hook checks that Python test directories are valid module names so
# that mypy will accept to analyse multiple test.py in different
# directories.
- id: py-filenames
name: Python test.py paths
entry: Python path components should be valid modules names (e.g. no '.' or whitespace). This is for mypy to accept dealing with test.py files in different directories.