summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/pep8.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/pep8.py b/misc/pep8.py
index 1a50efc6..38906294 100644
--- a/misc/pep8.py
+++ b/misc/pep8.py
@@ -824,6 +824,9 @@ def _main():
start_time = time.time()
errors = 0
for path in args:
+ # skip emacs backups
+ if path.startswith(".#"):
+ continue
if os.path.isdir(path):
errors += input_dir(path)
else: