diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-06 13:05:26 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-06 13:06:02 -0300 |
commit | a17f157e19bd6792c00321c8020dca5e5a281f45 (patch) | |
tree | 5527a92b14f49c5366dfad5066eca359aec5a516 /misc/pep8.py | |
parent | 6cd99f5aca9cac016b6fd1faf5a0402fe384b4a7 (diff) | |
download | gobject-introspection-a17f157e19bd6792c00321c8020dca5e5a281f45.tar.gz |
[pep8] Skip emacs backup files
Diffstat (limited to 'misc/pep8.py')
-rw-r--r-- | misc/pep8.py | 3 |
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: |