-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
If your .gitignore
has one or more empty lines, inspektor will ignore all files and return FAIL:
avocado) [bleal@laptop avocado]$ inspekt lint --exclude ".git"
Pylint disabled: W,R,C,E1002,E1101,E1103,E1120,F0401,I0011
Pylint enabled : W0611
Syntax check FAIL
(avocado) [user@laptop avocado]$ echo $?
1
If I remove the empty lines on .gitignore the result it is as expected:
(avocado) [user@laptop avocado]$ inspekt lint --exclude ".git"
Running 'pylint --help'
Pylint disabled: W,R,C,E1002,E1101,E1103,E1120,F0401,I0011
Pylint enabled : W0611
(avocado) [user@laptop avocado]$ echo $?
0
Metadata
Metadata
Assignees
Labels
No labels