diff options
Diffstat (limited to '')
| -rw-r--r-- | .snekrc | 22 | ||||
| -rw-r--r-- | .travis.yml | 4 | ||||
| -rw-r--r-- | requirements-ci.txt | 14 | 
3 files changed, 34 insertions, 6 deletions
| @@ -1,8 +1,22 @@  [all] -linters = flake8, isort +linters = flake8, isort, yapf, safety, dodgy, vulture  [flake8] -max-line-length = 79 -exclude=venv +max-line-length=100 -[isort]
\ No newline at end of file +[isort] +line_length=100 +indent='    ' +multi_line_output=0 +length_sort=1 +use_parentheses=true +sections=sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER +import_heading_stdlib=Stdlib +import_heading_thirdparty=External Libraries +import_heading_firstparty=Snekchek +force_sort_within_sections=true       + +[vulture] +min-confidence=60 + +[style] diff --git a/.travis.yml b/.travis.yml index 9e9dd9ef..e13a3334 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ python:  install:    - pip install -r requirements.txt -  - pip install snekchek flake8 yapf isort +  - pip install -r requirements-ci.txt  script:    - "curl https://api.beardfist.com/pythondiscord -H \"token: $AUTODEPLOY_TOKEN\"" -  - snekchek
\ No newline at end of file +  - snekchek diff --git a/requirements-ci.txt b/requirements-ci.txt new file mode 100644 index 00000000..de64a7b1 --- /dev/null +++ b/requirements-ci.txt @@ -0,0 +1,14 @@ +snekchek  +flake8  +flake8-bugbear  +flake8-bandit  +flake8-import-order  +flake8-tidy-imports  +flake8-todo  +flake8-string-format  +isort  +yapf  +safety  +dodgy  +vulture + | 
