File replace-pytest-pep8-with-pytest-codestyle.patch of Package python-Flask-Gravatar
Index: Flask-Gravatar-0.5.0/pytest.ini
===================================================================
--- Flask-Gravatar-0.5.0.orig/pytest.ini
+++ Flask-Gravatar-0.5.0/pytest.ini
@@ -12,7 +12,7 @@
[pytest]
-addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=flask_gravatar --cov-report=term-missing
-pep8ignore = docs/conf.py ALL \
- docs/_themes/flask_theme_support.py ALL
+addopts = --codestyle --doctest-glob="*.rst" --doctest-modules --cov=flask_gravatar --cov-report=term-missing
+codestyle_exclude = docs/conf.py docs/_themes/flask_theme_support.py
+codestyle_ignore = E501 E305
testpaths = docs tests flask_gravatar
Index: Flask-Gravatar-0.5.0/tox.ini
===================================================================
--- Flask-Gravatar-0.5.0.orig/tox.ini
+++ Flask-Gravatar-0.5.0/tox.ini
@@ -11,5 +11,5 @@ envlist = py26, py27, py33, py34
[testenv]
deps = pytest
pytest-cov
- pytest-pep8
+ pytest-codestyle
commands = {envpython} setup.py test
Index: Flask-Gravatar-0.5.0/setup.py
===================================================================
--- Flask-Gravatar-0.5.0.orig/setup.py
+++ Flask-Gravatar-0.5.0/setup.py
@@ -23,7 +23,7 @@ tests_require = [
'pydocstyle>=1.0.0',
'pytest-cache>=1.0',
'pytest-cov>=1.8.0',
- 'pytest-pep8>=1.0.6',
+ 'pytest-codestyle>=1.3.0',
'pytest>=2.8.0',
]
Index: Flask-Gravatar-0.5.0/Flask_Gravatar.egg-info/requires.txt
===================================================================
--- Flask-Gravatar-0.5.0.orig/Flask_Gravatar.egg-info/requires.txt
+++ Flask-Gravatar-0.5.0/Flask_Gravatar.egg-info/requires.txt
@@ -10,5 +10,5 @@ isort>=4.2.2
pydocstyle>=1.0.0
pytest-cache>=1.0
pytest-cov>=1.8.0
-pytest-pep8>=1.0.6
+pytest-codestyle>=1.3.0
pytest>=2.8.0