Enable pycodestyle linter

This commit is contained in:
Sergey Petrov
2019-08-11 13:43:19 +03:00
parent 3e9a191f4b
commit d1a5e995d8
4 changed files with 8 additions and 27 deletions
-18
View File
@@ -1,18 +0,0 @@
---
engines:
duplication:
enabled: true
config:
languages:
- python
fixme:
enabled: true
pep8:
enabled: true
radon:
enabled: true
ratings:
paths:
- "**.py"
exclude_paths:
- "setup.py"
+7
View File
@@ -26,6 +26,13 @@ local Pipeline(py_version) = {
linter: "mypy",
},
},
{
name: "pycodestyle",
image: "pr0ger/drone-pylinters",
settings: {
linter: "pycodestyle",
},
},
],
},
Pipeline("3.5"),
-8
View File
@@ -1,8 +0,0 @@
python-targets:
- 2
- 3
ignore-paths:
- setup.py
strictness: veryhigh
pep8:
full: true
+1 -1
View File
@@ -29,5 +29,5 @@ warn_unreachable = True
strict_equality = True
no_implicit_reexport = True
[pep8]
[pycodestyle]
max-line-length = 160