]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add pylint and flake8 tests to GitLab CI
authorOndřej Surý <ondrej@sury.org>
Mon, 30 Mar 2020 12:18:01 +0000 (14:18 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 15 Apr 2020 05:44:39 +0000 (07:44 +0200)
commit120e6202c670a3b8f048720d0bf5fa4872f25c55
tree14e34f855f2cb49ef82d0279d15c39f2362a764f
parent52666bbc09d4227c7fb951bd8c4c26b7a55f5ab0
Add pylint and flake8 tests to GitLab CI

Our python code didn't adhere to any coding standard.  In this commit, we add
flame8 (https://pypi.org/project/flake8/), and pylint (https://www.pylint.org/).

There's couple of exceptions:

- ans.py scripts are not checked, nor fixed as part of this MR
- pylint's missing-*-docstring and duplicate-code checks have
  been disabled via .pylintrc

Both exceptions should be removed in due time.

(cherry picked from commit ee534592e3c5ecd9f0d6c115c43b680baa692ed3)
.gitlab-ci.yml
.pylintrc [new file with mode: 0644]
util/copyrights