[tool.isort] profile = "black" multi_line_output = 3 order_by_type = false [tool.mypy] files = "." # 'strict = true' is equivalent to the following: check_untyped_defs = true disallow_incomplete_defs = true disallow_subclassing_any = true disallow_untyped_decorators = true disallow_untyped_defs = true warn_redundant_casts = true warn_unused_configs = true warn_unused_ignores = true # The following need to have changes made to be able to enable them: # disallow_any_generics = true # disallow_untyped_calls = true # no_implicit_optional = true # no_implicit_reexport = true # strict_equality = true # warn_return_any = true [[tool.mypy.overrides]] # Overrides for currently untyped modules module = [ "docs.*", "docs.ext.*", "tests.*", "tests.functional.*", "tests.functional.api.*", "tests.unit.*", "tests.smoke.*" ] ignore_errors = true [tool.semantic_release] branch = "main" version_variable = "gitlab/__version__.py:__version__" commit_subject = "chore: release v{version}" commit_message = "" [tool.pylint.messages_control] max-line-length = 88 # TODO(jlvilla): Work on removing these disables over time. disable = [ "arguments-differ", "arguments-renamed", "attribute-defined-outside-init", "broad-except", "consider-using-f-string", "consider-using-generator", "consider-using-sys-exit", "cyclic-import", "duplicate-code", "fixme", "implicit-str-concat", "import-outside-toplevel", "invalid-name", "missing-class-docstring", "missing-function-docstring", "missing-module-docstring", "no-else-return", "no-self-use", "protected-access", "raise-missing-from", "redefined-builtin", "redefined-outer-name", "signature-differs", "super-with-arguments", "too-few-public-methods", "too-many-ancestors", "too-many-arguments", "too-many-branches", "too-many-instance-attributes", "too-many-lines", "too-many-locals", "too-many-statements", "unexpected-keyword-arg", "unnecessary-pass", "unspecified-encoding", "unsubscriptable-object", "unused-argument", "useless-import-alias", "useless-object-inheritance", ]