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 00f97e7 commit 2cdd572
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 @@ -80,6 +80,8 @@ exclude = '''
[tool.mypy]
files = ["codicefiscale"]
ignore_missing_imports = true
install_types = true
non_interactive = true
strict = true

[tool.ruff]
Expand Down

0 comments on commit 2cdd572

Please sign in to comment.