diff options
| author | John L. Villalovos <john@sodarock.com> | 2021-12-07 14:16:04 -0800 |
|---|---|---|
| committer | John L. Villalovos <john@sodarock.com> | 2021-12-07 14:19:19 -0800 |
| commit | 041091f37f9ab615e121d5aafa37bf23ef72ba13 (patch) | |
| tree | d762eec25d8c1999cd59d4ec2f66785c6aaa793b /pyproject.toml | |
| parent | 1c33080cf161481baada2afa2710b31675711285 (diff) | |
| download | gitlab-041091f37f9ab615e121d5aafa37bf23ef72ba13.tar.gz | |
chore: add initial pylint check
Initial pylint check is added. A LONG list of disabled checks is also
added. In the future we should work through the list and resolve the
errors or disable them on a more granular level.
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 62e0bfb..6e83a2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,3 +41,50 @@ 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", + "expression-not-assigned", + "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", + +] |
