From 18157b9e82cbd03315f6d546a217501eedffe956 Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Wed, 4 Oct 2023 08:55:13 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B8=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=D0=B2=D0=B0=D0=BB=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=20pylint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pylint | 23 ----------------------- .pylintrc | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 .pylint create mode 100644 .pylintrc diff --git a/.pylint b/.pylint deleted file mode 100644 index 1e48083..0000000 --- a/.pylint +++ /dev/null @@ -1,23 +0,0 @@ -[MAIN] -ignored-modules = ["PySide2"] -extension-pkg-whitelist = ["PySide2"] - -[tool.pylint.MASTER] -init-hook = "import sys; sys.path.append('./statapp')" -ignore-patterns = 'ui_.+\.py' - -[BASIC] -attr-rgx = "^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$|^_?[a-z0-9]+(_[a-z0-9]+)*$" # camelCase, lowercase, snake_case -class-attribute-rgx = "^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$|^_?[a-z0-9]+(_[a-z0-9]+)*$" # camelCase, lowercase -variable-rgx = "^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$" # camelCase, lowercase -argument-rgx = "^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$" # camelCase, lowercase -function-rgx = "^_?[a-z][a-zA-Z0-9]+$" # camelCase -method-rgx = "^_?[a-z][a-zA-Z0-9]+$|^_?on_[a-z][a-zA-Z]+_[a-z][a-zA-Z]+|^__init__$" # camelCase, on_camelCaseWidget_camelCaseSignal and __init__ - -[MESSAGES CONTROL] -disable = - unused-argument, - fixme, - missing-docstring, - too-many-public-methods, - too-many-arguments diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..0e07e4d --- /dev/null +++ b/.pylintrc @@ -0,0 +1,23 @@ +[MAIN] +ignored-modules=PySide2 +extension-pkg-whitelist=PySide2 + +[MASTER] +init-hook="import sys; sys.path.append('./statapp')" +ignore-patterns=ui_.+\.py + +[BASIC] +attr-rgx=^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$|^_?[a-z0-9]+(_[a-z0-9]+)*$ # camelCase, lowercase, snake_case +class-attribute-rgx=^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$|^_?[a-z0-9]+(_[a-z0-9]+)*$ # camelCase, lowercase +variable-rgx=^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$ # camelCase, lowercase +argument-rgx=^_?[a-z][a-zA-Z0-9]+$|^_?[a-z0-9]+$ # camelCase, lowercase +function-rgx=^_?[a-z][a-zA-Z0-9]+$ # camelCase +method-rgx=^_?[a-z][a-zA-Z0-9]+$|^_?on_[a-z][a-zA-Z]+_[a-z][a-zA-Z]+|^__init__$ # camelCase, on_camelCaseWidget_camelCaseSignal and __init__ + +[MESSAGES CONTROL] +disable= + unused-argument, + fixme, + missing-docstring, + too-many-public-methods, + too-many-arguments