Skip to content

Commit 6d2ce57

Browse files
authored
Travis testing/linting Patch (#44)
Update .travis.yml & Create setup.cfg
1 parent 6972d33 commit 6d2ce57

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ before_install:
1616

1717
install:
1818
- "pip install -r src/requirements.txt"
19-
- pip install pytest-pylint
19+
- pip install --no-cache-dir pytest-flake8
2020
- "python src/create_db.py"
2121

2222

2323
script:
24-
- py.test --pylint --pylint-rcfile=.pylintrc -m pylint
24+
- pytest --lint-only --flake8

setup.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# content of setup.cfg
2+
[tool:pytest]
3+
flake8-ignore = W191

0 commit comments

Comments
 (0)