diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-04-29 13:08:19 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2014-04-29 13:08:19 +0200 |
commit | e772fe51ac49b3e00b119f6ab9c819a9f50c3278 (patch) | |
tree | ab103515e455e3993cbfb2efa108fc4cb823f9c8 /lint.py | |
parent | 03b18258c118e2d5f0d64d3fe53b45a1cbdb3787 (diff) | |
download | pylint-e772fe51ac49b3e00b119f6ab9c819a9f50c3278.tar.gz |
fix explicit check of python script. Closes #219
Diffstat (limited to 'lint.py')
-rw-r--r-- | lint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -607,7 +607,7 @@ warning, statement which respectively contain the number of errors / warnings\ # build ast and check modules or packages for descr in self.expand_files(files_or_modules): modname, filepath = descr['name'], descr['path'] - if not self.should_analyze_file(modname, filepath): + if not descr['isarg'] and not self.should_analyze_file(modname, filepath): continue if self.config.files_output: reportfile = 'pylint_%s.%s' % (modname, self.reporter.extension) |