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.
7 lines
161 B
INI
7 lines
161 B
INI
[MASTER]
|
|
disable=
|
|
C0114, # missing-module-docstring
|
|
C0115, # missing-class-docstring
|
|
C0116, # missing-function-docstring
|
|
R0801, # duplicate-code
|