moto/setup.cfg

51 lines
1.4 KiB
INI
Raw Normal View History

2020-10-06 06:04:09 +00:00
[tool:pytest]
markers =
network: marks tests which require network connection
[coverage:run]
relative_files = True
2021-11-29 20:35:18 +00:00
[flake8]
ignore = W503,W605,E128,E501,E203,E266,E501,E231
exclude = moto/packages,dist,tests/terraformtests
2021-11-29 20:35:18 +00:00
2022-01-14 19:51:49 +00:00
[pylint.MASTER]
ignore-paths=moto/packages
[pylint.'MESSAGES CONTROL']
disable = W,C,R,E
# future sensible checks = super-init-not-called, unspecified-encoding, undefined-loop-variable
enable = anomalous-backslash-in-string, arguments-renamed, dangerous-default-value, deprecated-module, function-redefined, import-self, redefined-builtin, redefined-outer-name, reimported, pointless-statement, super-with-arguments, unused-argument, unused-import, unused-variable, useless-else-on-loop, wildcard-import
[mypy]
2022-10-23 20:42:14 +00:00
files= moto/a*,moto/b*,moto/ce
show_column_numbers=True
show_error_codes = True
disable_error_code=abstract
disallow_any_unimported=False
disallow_any_expr=False
disallow_any_decorated=True
disallow_any_explicit=False
disallow_any_generics=True
disallow_subclassing_any=True
disallow_untyped_calls=True
disallow_untyped_defs=True
disallow_incomplete_defs=True
check_untyped_defs=True
disallow_untyped_decorators=True
no_implicit_optional=True
strict_optional=True
warn_redundant_casts=True
2022-10-10 13:05:56 +00:00
warn_unused_ignores=False
warn_no_return=True
warn_return_any=False
warn_unreachable=False
strict_equality=True
ignore_missing_imports=True
follow_imports=silent