diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-25 21:42:27 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-07-25 22:05:20 +0200 |
commit | 210ee835662877c4e5a94450d0656680875e0e18 (patch) | |
tree | 79823306a0aea842541a8b2586fcf47b0ced0eb5 /setup.cfg | |
parent | Configure linters. (diff) | |
download | mu4web-210ee835662877c4e5a94450d0656680875e0e18.tar.gz mu4web-210ee835662877c4e5a94450d0656680875e0e18.tar.xz |
Fix and harden linter checks.
Harden the requirements of mypy, and also check against flake8
docstrings. And fix all errors and warnings resulting from that.
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -32,6 +32,9 @@ include_package_data = True [mypy] ignore_missing_imports = True disallow_untyped_defs = True +check_untyped_defs = True +strict = True +warn_unused_ignores = False [mypy-mu4web.main] # NOTE Flask endpoints aren't typed. @@ -40,5 +43,5 @@ disallow_untyped_defs = True disallow_untyped_defs = False [flake8] -ignore = E731 +ignore = E731,D105,D107 max-line-length = 100 |