Skip to content
Browse files

Upgrading CleanPython.tmbundle's flake8 to 0.8

  • Loading branch information...
1 parent b77c665 commit d849a7ee014061e783f547023ab6de94faed35a7 Osvaldo Santana committed Apr 15, 2011
View
1 .gitignore
@@ -1,3 +1,2 @@
.hg
-.hgtags
*.py[cod]
View
1 CleanPython.tmbundle/Support/flake8/.hgtags
@@ -5,3 +5,4 @@
ea4d5abfd0c02a96dd10cfe7ec3e7a76a080f38f 0.5
a914ae72b4eae171ca50b0ebda12765a68c7f744 0.6
405ffe2bfa854ba85428ee1627f5e0b01246ee22 0.7
+b04dcad949573b1cef99392cf66caa5c55a0f930 0.8
View
2 CleanPython.tmbundle/Support/flake8/CONTRIBUTORS.txt
@@ -4,4 +4,4 @@ Contributors:
- Tamás Gulácsi
- Nicolas Dumazet
-
+- Stefan Scherfke
View
9 CleanPython.tmbundle/Support/flake8/flake8/run.py
@@ -4,6 +4,7 @@
"""
import sys
import os
+import os.path
from flake8.util import skip_file
from flake8 import pep8
@@ -57,7 +58,8 @@ def _get_files(repo, **kwargs):
seen = set()
for rev in xrange(repo[kwargs['node']], len(repo)):
for file_ in repo[rev].files():
- if file_ in seen:
+ file_ = os.path.join(repo.root, file_)
+ if file_ in seen or not os.path.exists(file_):
continue
seen.add(file_)
if not file_.endswith('.py'):
@@ -70,8 +72,9 @@ def _get_files(repo, **kwargs):
class _PEP8Options(object):
exclude = select = []
show_pep8 = show_source = quiet = verbose = testsuite = False
- repeat = True
- messages = counters = {}
+ no_repeat = False
+ counters = {}
+ messages = {}
ignore = pep8.DEFAULT_IGNORE
View
2 CleanPython.tmbundle/Support/flake8/setup.py
@@ -5,7 +5,7 @@
setup(
name="flake8",
license="MIT",
- version="0.7",
+ version="0.8",
description="code checking using pep8 and pyflakes",
author="Tarek Ziade",
author_email="tarek@ziade.org",

0 comments on commit d849a7e

Please sign in to comment.
Something went wrong with that request. Please try again.