diff --git a/run_lint.sh b/run_lint.sh index d686ac1..41c6bea 100755 --- a/run_lint.sh +++ b/run_lint.sh @@ -2,4 +2,5 @@ # filepath: /home/gus/p/ecosystem/logspec/run_flake8.sh echo "Running flake8..." -flake8 . \ No newline at end of file +flake8 . +pylint logspec \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 77f5983..0f64a72 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ install_requires = pytest pyyaml flake8 + pylint [options.packages.find] include = logspec* @@ -41,4 +42,10 @@ ignore = E203, E266, E501, W503 # - E131: Continuation line unaligned for hanging indent. # - E122: Continuation line missing indentation or outdented. per-file-ignores = - tests/*: E121, E126, E131, E122 \ No newline at end of file + tests/*: E121, E126, E131, E122 + +[pylint] +max-line-length = 88 +# Disable missing module, class, function docstrings and style checks +disable = C0114, C0115, C0116, C0301, C0302, C0326 +ignore-patterns = .git, .venv, __pycache__, build, dist \ No newline at end of file