Files
OpenUxAS-bootstrap/.mypy.ini
M. Anthony Aiello 8737b1d748 Feature/style checks (#45)
Support pre-commit checks used in AdaCore/e3-core

These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent.

Documentation of how to set up and run the checks is in CONTRIBUTING.md
2020-06-23 09:54:41 -04:00

14 lines
338 B
INI

[mypy]
warn_redundant_casts = True
warn_unused_ignores = True
warn_unused_configs = True
disallow_untyped_calls = True
warn_unreachable = True
disallow_incomplete_defs = True
no_implicit_optional = True
# Need to check this with e3 maintainers, as they should have type information
# available.
[mypy-e3.*]
ignore_missing_imports = True