Skip to content

Commit 7759d35

Browse files
committed
Move pylint tests to pytest with the pytest-pylint plugin
1 parent d251fd7 commit 7759d35

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ install:
1111
- "pip install -r ./travis/requirements.txt"
1212

1313
script:
14-
- "python ./travis/test_json.py"
15-
- "git diff --diff-filter=d --name-only ${TRAVIS_COMMIT_RANGE} | grep -i '\\.py$' | xargs -r pylint --rcfile=travis/pylintrc"
16-
- "py.test . -R : -v --cov . --cov-report term-missing"
14+
- "py.test . -R : -v --cov . --cov-report term-missing --pylint --pylint-rcfile=travis/pylintrc"
1715

1816
after_success:
1917
- "coveralls"

travis/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pytest-cov
44
pytest-pep8
55
pytest-leaks
66
pytest-travis-fold
7+
pytest-pylint
78
flake8
89
python-coveralls
910
pylint

0 commit comments

Comments
 (0)