You've already forked OpenUxAS-bootstrap
mirror of
https://github.com/AdaCore/OpenUxAS-bootstrap.git
synced 2026-02-12 13:07:23 -08:00
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
14 lines
338 B
INI
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
|