Skip to content

Commit

Permalink
dedupe mypy overrides
Browse files Browse the repository at this point in the history
remove redundant enables
```
--strict Strict mode; enables the following flags: --warn-unused-configs, --disallow-any-generics, --disallow-
           subclassing-any, --disallow-untyped-calls, --disallow-untyped-defs, --disallow-incomplete-defs, --check-
           untyped-defs, --disallow-untyped-decorators, --warn-redundant-casts, --warn-unused-ignores, --warn-return-any,
           --no-implicit-reexport, --strict-equality, --strict-concatenate
```
  • Loading branch information
Artturin committed Oct 19, 2023
1 parent 0184fcd commit bc9f5ad
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,15 @@ exclude = '''
[tool.mypy]
python_version = "3.10"
strict = true
warn_redundant_casts = true
disallow_untyped_calls = true
disallow_untyped_defs = true
no_implicit_optional = true
# # Missing type parameters for generic type "CaptureFixture" [type-arg]
disallow_any_generics = false

[[tool.mypy.overrides]]
module = "setuptools.*"
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = "pytest.*"
module = [
"setuptools",
"pytest"
]
ignore_missing_imports = true

[tool.pylint.FORMAT]
Expand Down

0 comments on commit bc9f5ad

Please sign in to comment.