avocado-framework / inspektor

Inspektor code checker
Other
11 stars 17 forks source link

Ignore filenames which are not the proper source code [V2] #14

Closed ruda closed 9 years ago

ruda commented 9 years ago

Changes from V1 (PR #13 )


By default, ignore filenames that ends with ~, #, .swp, .pyc, .pyo, .o since they are not the proper source code.

If the current directory has the .gitignore file or $GIT_DIR/.config/gitignore or even $HOME/.config/git/ignore, then this file (the first available) is read as a glob pattern and used as the ignore list.


ruda commented 9 years ago

OK, wait for the next PR, so I will do the append. But set with {} syntax sugar isn't available on Python2.6, so probably I have to find another solution for repetitions.

lmr commented 9 years ago

Don't worry, I can take over the PR.

ruda commented 9 years ago

I already have it done. Closing this in favor of #15 .