Skip to content

Commit

Permalink
mypy: use strict with two exceptions (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
JJMC89 committed Oct 16, 2023
1 parent 52f7748 commit 0174345
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[mypy]
python_version = 3.11
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
enable_error_code = ignore-without-code
warn_redundant_casts = true
warn_unused_ignores = true
strict = true
disallow_subclassing_any = false
warn_return_any = false

[mypy-mwparserfromhell.*]
ignore_missing_imports = true
Expand Down

0 comments on commit 0174345

Please sign in to comment.