Skip to content

Commit

Permalink
🔧 also lint noxfile
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Sep 10, 2024
1 parent e7cfeb7 commit 16e4a65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ repos:
rev: v1.11.2
hooks:
- id: mypy
files: ^(src/mqt|test/python)
files: ^(src/mqt|test/python|noxfile.py)
args: []
additional_dependencies:
- nox
- numpy
- pytest
- pytest-mock
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ report.exclude_also = [
]

[tool.mypy]
files = ["src/mqt", "test/python"]
files = ["src/mqt", "test/python", "noxfile.py"]
mypy_path = ["$MYPY_CONFIG_FILE_DIR/src"]
python_version = "3.9"
warn_unused_configs = true
Expand Down

0 comments on commit 16e4a65

Please sign in to comment.