Skip to content

Commit

Permalink
replace pep8 with pycodestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
wochinge committed Dec 5, 2018
1 parent cd0fe5d commit 59bad10
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install:
- pip install coveralls==1.3.0
- pip list
script:
- py.test --pep8 -m pep8
- py.test --codestyle -m codestyle
- travis_wait py.test tests --cov rasa_core -v
#- cd docs && make doctest # can't do yet - doctests need to be cleaned up first
after_success:
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# test
pytest==3.5.1
pytest-pep8==1.0.6
pytest-pycodestyle==1.3.1
pytest-cov==2.5.1
pytest_localserver==0.4.1
treq==17.8.0
Expand Down
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# pytest PEP8 configuration
# pytest pycodestyle configuration
[tool:pytest]
pep8maxlinelength = 80
pep8ignore =
docs/conf.py ALL
rasa_core/policies/tf_utils.py ALL
tests/test_domain.py ALL
codestyle_max_line_length = 80
codestyle_ignore =
E251
W503
codestyle_exclude =
docs/conf.py ALL

[metadata]
description-file = README.md
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

tests_requires = [
"pytest~=3.0",
"pytest-pep8~=1.0",
"pytest-pycodestyle~=1.3",
"pytest-cov~=2.0",
"pytest_localserver~=0.4.0",
"treq~=17.0",
Expand Down

0 comments on commit 59bad10

Please sign in to comment.