[build-system] requires = ["setuptools>=65.4.0", "wheel"] build-backend = "setuptools.build_meta" [tool.coverage] report.exclude_lines = [ "pragma: no cover", "if TYPE_CHECKING:", "if __name__ == '__main__':", ] report.show_missing = true report.skip_covered = true run.branch = true run.source = ["src"] [tool.flake8] avoid_escape = false docstring_convention = "all" docstring_style = "google" extend_exclude = ["venv"] ignore = [ # do not require annotation of `self` "ANN101", # do not apply to google convention "D203", "D213", "D215", "D406", "D407", "D408", "D409", # handled by B001 "E722", # allow line break after binary operator "W504", ] max_line_length = 100 strictness = "long" suppress_none_returning = true [tool.isort] include_trailing_comma = true line_length = 100 multi_line_output = 3 [tool.mypy] explicit_package_bases = true fast_module_lookup = true mypy_path = "src" namespace_packages = true strict = true [[tool.mypy.overrides]] module = "lz4.frame" ignore_missing_imports = true [tool.pydocstyle] convention = "google" add_select = ["D204", "D400", "D401", "D404", "D413"] [tool.pylint.'MESSAGES CONTROL'] enable = "all" disable = [ "duplicate-code", "locally-disabled", "suppressed-message", "ungrouped-imports", # isort (pylint FAQ) "wrong-import-order", # mccabe (pylint FAQ) "too-many-branches", # fixme "fixme", # pep8-naming (pylint FAQ, keep: invalid-name) "bad-classmethod-argument", "bad-mcs-classmethod-argument", "no-self-argument", # pycodestyle (pylint FAQ) "bad-indentation", "bare-except", "line-too-long", "missing-final-newline", "multiple-statements", "trailing-whitespace", "unnecessary-semicolon", "unneeded-not", # pydocstyle (pylint FAQ) "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", # pyflakes (pylint FAQ) "undefined-variable", "unused-import", "unused-variable", ] [tool.pytest.ini_options] addopts = ["--cov=src", "--verbose"] [tool.yapf] based_on_style = "google" column_limit = 100 allow_split_before_dict_value = false dedent_closing_brackets = true indent_dictionary_value = false