Skip to content

Commit fac2871

Browse files
committed
Fix flake8 test environment
1 parent f73c4bb commit fac2871

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pycodestyle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,9 +1689,9 @@ def parse_udiff(diff, patterns=None, parent='.'):
16891689
if path[:2] in ('b/', 'w/', 'i/'):
16901690
path = path[2:]
16911691
rv[path] = set()
1692-
return dict([(os.path.join(parent, path), rows)
1693-
for (path, rows) in rv.items()
1694-
if rows and filename_match(path, patterns)])
1692+
return dict([(os.path.join(parent, filepath), rows)
1693+
for (filepath, rows) in rv.items()
1694+
if rows and filename_match(filepath, patterns)])
16951695

16961696

16971697
def normalize_paths(value, parent=os.curdir):

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
[tox]
77
envlist = py26, py27, py32, py33, py34, py35, py36, pypy, pypy3, jython
8-
skip_missing_interpreters=True
8+
skipsdist = True
9+
skip_missing_interpreters = True
910

1011
[testenv]
1112
commands =

0 commit comments

Comments
 (0)