Skip to content

Commit

Permalink
Enable flake8, switch to pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Protasov committed Oct 17, 2019
1 parent 528ee57 commit 519cf7c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ matrix:
install:
- bash -c '[[ $(python -V) == "Python 3.4."* ]] && pip install setuptools==24.0.3 || :'
- pip install -r requirements.txt
- pip install flake8 pytest
# command to run tests
script:
- nosetests -s
- pytest
- flake8 rq_dashboard tests
3 changes: 0 additions & 3 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ werkzeug>=0.15.3

# Compatibility
backports.functools_lru_cache; python_version < '3.3'

# Development tools
nose
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ flask==1.0.2
itsdangerous==1.1.0 # via flask
jinja2==2.10.1 # via flask
markupsafe==1.1.1 # via jinja2
nose==1.3.7
python-dateutil==2.8.0 # via arrow
redis==3.3.8
rq==1.0
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ universal=1

[bdist_rpm]
requires=rq

[flake8]
select = E,F,W
ignore = E501, W504
4 changes: 0 additions & 4 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
from __future__ import absolute_import

from .basic import *
from .compat import *
File renamed without changes.
File renamed without changes.

0 comments on commit 519cf7c

Please sign in to comment.