Skip to content

Commit

Permalink
Update mypy config.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocaccamo committed Mar 18, 2024
1 parent bfefddd commit a213b84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
hooks:
- id: mypy
types: [python]
args: [--install-types, --non-interactive, --strict]
args: [--ignore-missing-imports, --install-types, --non-interactive, --strict]
exclude: "tests"

- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ exclude = '''
[tool.mypy]
files = ["fsutil"]
ignore_missing_imports = true
install_types = true
non_interactive = true
strict = true

[tool.ruff]
Expand Down

0 comments on commit a213b84

Please sign in to comment.