2020-10-06 06:04:09 +00:00
|
|
|
[tool:pytest]
|
|
|
|
markers =
|
|
|
|
network: marks tests which require network connection
|
2021-01-26 12:37:03 +00:00
|
|
|
|
|
|
|
[coverage:run]
|
|
|
|
relative_files = True
|
2021-08-21 15:33:15 +00:00
|
|
|
|
2021-11-29 20:35:18 +00:00
|
|
|
[flake8]
|
|
|
|
ignore = W503,W605,E128,E501,E203,E266,E501,E231
|
2022-04-21 19:27:14 +00:00
|
|
|
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
|
|
|
|
|
2021-08-21 15:33:15 +00:00
|
|
|
[pylint.'MESSAGES CONTROL']
|
|
|
|
disable = W,C,R,E
|
2022-10-04 16:28:30 +00:00
|
|
|
# future sensible checks = super-init-not-called, unspecified-encoding, undefined-loop-variable
|
2022-10-04 19:12:09 +00:00
|
|
|
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
|
2022-10-06 08:37:35 +00:00
|
|
|
|
|
|
|
[mypy]
|
2022-10-23 13:26:55 +00:00
|
|
|
files= moto/a*,moto/b*
|
2022-10-06 08:37:35 +00:00
|
|
|
show_column_numbers=True
|
|
|
|
show_error_codes = True
|
2022-10-11 13:16:27 +00:00
|
|
|
disable_error_code=abstract
|
2022-10-06 08:37:35 +00:00
|
|
|
|
|
|
|
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
|
2022-10-06 08:37:35 +00:00
|
|
|
warn_no_return=True
|
|
|
|
warn_return_any=False
|
|
|
|
warn_unreachable=False
|
|
|
|
|
|
|
|
strict_equality=True
|
|
|
|
ignore_missing_imports=True
|
|
|
|
follow_imports=silent
|