Some minor fixes for CodeClimate

This commit is contained in:
Tobias Gruetzmacher 2019-12-31 18:12:25 +01:00
parent 489da830e4
commit e7084943cd
3 changed files with 9 additions and 2 deletions

View file

@ -4,7 +4,9 @@ engines:
enabled: true enabled: true
config: config:
languages: languages:
- python python:
python_version: 3
mass_threshold: 64
fixme: fixme:
enabled: true enabled: true
radon: radon:

View file

@ -22,7 +22,7 @@ install:
script: tox script: tox
after_success: after_success:
- codecov --file .tox/cov-*.xml - codecov --file .tox/cov-*.xml
- "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter format-coverage --input-type coverage.py .tox/cov-*.xml; fi" - "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter format-coverage --prefix $PWD/.tox/*/lib/*/site-packages --input-type coverage.py .tox/cov-*.xml; fi"
- "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter upload-coverage; fi" - "if [ -n \"$CC_TEST_REPORTER_ID\" ]; then ./cc-test-reporter upload-coverage; fi"
notifications: notifications:
irc: irc:

View file

@ -39,6 +39,11 @@ ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504
require-code = True require-code = True
min-version = 2.7 min-version = 2.7
# Duplicated for CodeClimate...
[pep8]
max-line-length = 120
ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504
[pytest] [pytest]
filterwarnings = default filterwarnings = default
junit_family = xunit2 junit_family = xunit2