summaryrefslogtreecommitdiff
path: root/lint.py
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2014-04-29 13:08:19 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2014-04-29 13:08:19 +0200
commite772fe51ac49b3e00b119f6ab9c819a9f50c3278 (patch)
treeab103515e455e3993cbfb2efa108fc4cb823f9c8 /lint.py
parent03b18258c118e2d5f0d64d3fe53b45a1cbdb3787 (diff)
downloadpylint-e772fe51ac49b3e00b119f6ab9c819a9f50c3278.tar.gz
fix explicit check of python script. Closes #219
Diffstat (limited to 'lint.py')
-rw-r--r--lint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lint.py b/lint.py
index 57accd4..529fbd4 100644
--- a/lint.py
+++ b/lint.py
@@ -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)