Enable pycodestyle linter
This commit is contained in:
@@ -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"
|
|
||||||
@@ -26,6 +26,13 @@ local Pipeline(py_version) = {
|
|||||||
linter: "mypy",
|
linter: "mypy",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "pycodestyle",
|
||||||
|
image: "pr0ger/drone-pylinters",
|
||||||
|
settings: {
|
||||||
|
linter: "pycodestyle",
|
||||||
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
Pipeline("3.5"),
|
Pipeline("3.5"),
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
python-targets:
|
|
||||||
- 2
|
|
||||||
- 3
|
|
||||||
ignore-paths:
|
|
||||||
- setup.py
|
|
||||||
strictness: veryhigh
|
|
||||||
pep8:
|
|
||||||
full: true
|
|
||||||
Reference in New Issue
Block a user