Some minor fixes for CodeClimate
This commit is contained in:
parent
489da830e4
commit
e7084943cd
3 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
5
tox.ini
5
tox.ini
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue