summaryrefslogtreecommitdiffstats
path: root/pylintrc
diff options
context:
space:
mode:
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc32
1 files changed, 32 insertions, 0 deletions
diff --git a/pylintrc b/pylintrc
new file mode 100644
index 0000000..76cda50
--- /dev/null
+++ b/pylintrc
@@ -0,0 +1,32 @@
+[MESSAGES CONTROL]
+disable=
+ invalid-name,
+ logging-fstring-interpolation,
+ fixme
+
+[BASIC]
+good-names=runCmds, i, y, t, c, x, e, fd, ip, v
+
+[DESIGN]
+max-statements=61
+max-returns=8
+max-locals=23
+max-args=6
+
+[FORMAT]
+max-line-length=165
+max-module-lines=1700
+
+[SIMILARITIES]
+# making similarity lines limit a bit higher than default 4
+min-similarity-lines=10
+
+[TYPECHECK]
+# https://stackoverflow.com/questions/49680191/click-and-pylint
+signature-mutators=click.decorators.option
+
+[MAIN]
+load-plugins=pylint_pydantic
+extension-pkg-whitelist=pydantic
+ignore-paths = ^tests/units/anta_tests/.*/data.py$,
+ ^tests/units/anta_tests/routing/.*/data.py$,