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 a213b84 commit 4572e04
Show file tree
Hide file tree
Showing 2 changed files with 2 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: [--ignore-missing-imports, --install-types, --non-interactive, --strict]
args: [--disable-error-code=import-untyped, --ignore-missing-imports, --install-types, --non-interactive, --strict]
exclude: "tests"

- repo: https://github.com/pre-commit/pre-commit-hooks
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ exclude = '''

[tool.mypy]
files = ["fsutil"]
disable_error_code = "import-untyped"
ignore_missing_imports = true
install_types = true
non_interactive = true
Expand Down

0 comments on commit 4572e04

Please sign in to comment.