[autoflake] remove-all-unused-imports=true ignore-init-module-imports=true [isort] force_single_line=true force_sort_within_sections=true ensure_newline_before_comments=true single_line_exclusions=[] line_length=100 src_paths=moneyhub,tests skip=.gitignore,.env skip_glob=env/*,spec/* profile=google [flake8] application-import-names=moneyhub,tests color=always exclude = tests/integration/.env.shadow, env, ignore = # missing blank line after last section D413, # whitespace before ‘,’, ‘;’, or ‘:’ E203, # line break before binary operator W503 import-order-style=google max-line-length=100 max-complexity=18 per-file-ignores= moneyhub/handlers/statement_attachment.py:E501 moneyhub/models/__init__.py:F401 moneyhub/schemas/__init__.py:F401 [mypy] # Config taken from https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options strict = True warn_unused_configs = False warn_redundant_casts = False warn_unused_ignores = False strict_equality = False strict_concatenate = False check_untyped_defs = False disallow_subclassing_any = False disallow_untyped_decorators = False disallow_any_generics = False disallow_untyped_calls = False disallow_incomplete_defs = False disallow_untyped_defs = False no_implicit_reexport = False warn_return_any = False # Ingnore missing types from PDE libraries [mypy-pythonfeatures.*] ignore_missing_imports = True [mypy-owslogger.*] ignore_missing_imports = True [mypy-owsrequest.*] ignore_missing_imports = True [pylint] max-line-length=100 load-plugins = pylint.extensions.magic_value, pylint.extensions.typing, pylint.extensions.broad_try_clause, pylint.extensions.consider_ternary_expression, pylint.extensions.check_elif, pylint.extensions.docparams, pylint.extensions.comparison_placement, pylint.extensions.overlapping_exceptions [pylint.messages_control] extension-pkg-whitelist=pydantic disable= # too few public methods R0903 [yapf] align_closing_bracket_with_visual_indent=true based_on_style=google column_limit=100 dedent_closing_brackets=true spaces_before_comment=4 split_before_logical_operator=true split_arguments_when_comma_terminated=true split_all_comma_separated_values=true split_all_top_level_comma_separated_values=true [coverage:run] include = moneyhub/ omit = moneyhub/config.py **/__init__.py