Skip to content

Commit

Permalink
Fix flake8 test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmavirus24 committed Apr 12, 2018
1 parent f73c4bb commit fac2871
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pycodestyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1689,9 +1689,9 @@ def parse_udiff(diff, patterns=None, parent='.'):
if path[:2] in ('b/', 'w/', 'i/'):
path = path[2:]
rv[path] = set()
return dict([(os.path.join(parent, path), rows)
for (path, rows) in rv.items()
if rows and filename_match(path, patterns)])
return dict([(os.path.join(parent, filepath), rows)
for (filepath, rows) in rv.items()
if rows and filename_match(filepath, patterns)])


def normalize_paths(value, parent=os.curdir):
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

[tox]
envlist = py26, py27, py32, py33, py34, py35, py36, pypy, pypy3, jython
skip_missing_interpreters=True
skipsdist = True
skip_missing_interpreters = True

[testenv]
commands =
Expand Down

0 comments on commit fac2871

Please sign in to comment.