Everything in this series should pass with flake8, pylint, and mypy; but there are a few bits of dust swept under the rug with these config files.
Signed-off-by: John Snow <js...@redhat.com> --- .flake8 | 2 ++ pylintrc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .flake8 create mode 100644 pylintrc diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..45d8146 --- /dev/null +++ b/.flake8 @@ -0,0 +1,2 @@ +[flake8] +extend-ignore = E722 # Pylint handles this, but smarter. \ No newline at end of file diff --git a/pylintrc b/pylintrc new file mode 100644 index 0000000..7cf16c0 --- /dev/null +++ b/pylintrc @@ -0,0 +1,53 @@ +[MASTER] + +extension-pkg-allow-list=pydantic + +[MESSAGES CONTROL] + +# disable= + +[REPORTS] + +[REFACTORING] + +[MISCELLANEOUS] + +[LOGGING] + +[BASIC] + +# Good variable names which should always be accepted, separated by a comma. +good-names=i, + j, + k, + ex, + Run, + _, + fd, + c, + ns, + rc, + T, + +[VARIABLES] + +[STRING] + +[SPELLING] + +[FORMAT] + +[SIMILARITIES] + +# Ignore imports when computing similarities. +ignore-imports=yes + +[TYPECHECK] + +[CLASSES] + +[IMPORTS] + +[DESIGN] + +[EXCEPTIONS] -- 2.30.2