diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-10 23:48:49 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2023-04-10 23:48:49 +0200 |
commit | f11c0552f2bcfc8bc3afa35d29adb4dc5525c092 (patch) | |
tree | 79eadf1f560dcbc4f008975979e04f8e4cfbe57d /pyproject.toml | |
parent | 6b8700270e2c32e876dfca081dbbec832aa4e7a0 (diff) | |
parent | 4dd1e215f3d49fb3a5074b82430bf6199c14898e (diff) | |
download | psutil-f11c0552f2bcfc8bc3afa35d29adb4dc5525c092.tar.gz |
merge from master
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index c8cb62af..8d68131c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,44 @@ exclude_lines = [ "raise NotImplementedError", ] +[tool.pylint.messages_control] +# Important ones: +# undefined-all-variable, invalid-envvar-default, reimported, raising-format-tuple, simplifiable-if-expression, useless-object-inheritance +disable = [ + "broad-except", # except Exception: + "consider-using-dict-comprehension", + "consider-using-f-string", + "consider-using-set-comprehension", + "consider-using-with", + "disallowed-name", + "fixme", + "global-statement", + "import-error", + "import-outside-toplevel", + "inconsistent-return-statements", + "invalid-name", + "missing-class-docstring", + "missing-function-docstring", + "no-else-raise", + "no-else-return", + "protected-access", + "raise-missing-from", + "redefined-builtin", + "super-with-arguments", + "too-few-public-methods", + "too-many-arguments", + "too-many-branches", + "too-many-instance-attributes", + "too-many-lines", + "too-many-locals", + "too-many-public-methods", + "too-many-return-statements", + "too-many-statements", + "ungrouped-imports", + "unspecified-encoding", + "wrong-import-position", +] + [build-system] requires = ["setuptools>=43", "wheel"] build-backend = "setuptools.build_meta" |