Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
python-pytest-flakes
replace-pytest-pep8-with-pytest-codestyle.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File replace-pytest-pep8-with-pytest-codestyle.patch of Package python-pytest-flakes
Index: pytest-flakes-4.0.0/tox.ini =================================================================== --- pytest-flakes-4.0.0.orig/tox.ini +++ pytest-flakes-4.0.0/tox.ini @@ -5,7 +5,7 @@ envlist = py27,py34,py35,py36 usedevelop = true deps = pytest - pytest-pep8 + pytest-codestyle coverage commands = coverage erase @@ -14,6 +14,6 @@ commands = coverage html -d htmlcov-{envname} [pytest] -addopts = --flakes --pep8 -pep8ignore = E501 +addopts = --flakes --codestyle +codestyle_ignore = E501 E305 E741 norecursedirs = bin lib include Scripts .* Index: pytest-flakes-4.0.0/pytest_flakes.py =================================================================== --- pytest-flakes-4.0.0.orig/pytest_flakes.py +++ pytest-flakes-4.0.0/pytest_flakes.py @@ -97,7 +97,7 @@ class FlakesItem(pytest.Item, pytest.Fil class Ignorer: - def __init__(self, ignorelines, coderex=re.compile("[EW]\d\d\d")): + def __init__(self, ignorelines, coderex=re.compile(r"[EW]\d\d\d")): self.ignores = ignores = [] for line in ignorelines: i = line.find("#")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor