summaryrefslogtreecommitdiffstats
path: root/.gitlab
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2024-04-30 12:25:29 +0200
committerAndrei Pavel <andrei@isc.org>2024-06-20 17:52:08 +0200
commit4673e38116aff501eaf8485bb28c9cf0daffca95 (patch)
treec588d4b5285546a53066cd39c15b391cca26eeca /.gitlab
parent[#3287] address review (diff)
downloadkea-4673e38116aff501eaf8485bb28c9cf0daffca95.tar.xz
kea-4673e38116aff501eaf8485bb28c9cf0daffca95.zip
[#3287] add bandit, pycodestyle and pylint CI jobs
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/pycodestyle.cfg2
-rw-r--r--.gitlab/ci/pylint.rc17
2 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab/ci/pycodestyle.cfg b/.gitlab/ci/pycodestyle.cfg
new file mode 100644
index 0000000000..b00efd8853
--- /dev/null
+++ b/.gitlab/ci/pycodestyle.cfg
@@ -0,0 +1,2 @@
+[pycodestyle]
+ max-line-length = 120
diff --git a/.gitlab/ci/pylint.rc b/.gitlab/ci/pylint.rc
new file mode 100644
index 0000000000..b605350349
--- /dev/null
+++ b/.gitlab/ci/pylint.rc
@@ -0,0 +1,17 @@
+[MASTER]
+disable=,
+ consider-using-f-string, # TODO: This one is decent. There are too many to fix. Enable later.
+ fixme,
+ invalid-name,
+ missing-class-docstring,
+ missing-function-docstring,
+ missing-module-docstring,
+ too-few-public-methods,
+ too-many-arguments,
+ too-many-boolean-expressions,
+ too-many-branches,
+ too-many-instance-attributes,
+ too-many-lines,
+ too-many-locals,
+ too-many-statements,
+max-line-length=120