Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linting failure: F: 1, 0: No module named bin/ (fatal) #13

Open
cbrainerd opened this issue Aug 18, 2016 · 1 comment
Open

Linting failure: F: 1, 0: No module named bin/ (fatal) #13

cbrainerd opened this issue Aug 18, 2016 · 1 comment

Comments

@cbrainerd
Copy link

pylint is failing against master:

chrismac:isilon_stat_browser isi-cbrainerd$ make lint
`which pylint` -E -f colorized -r n stat_key_browser bin/ tests/
No config file found, using default configuration
************* Module bin/
F:  1, 0: No module named bin/ (fatal)
************* Module tests
F:  1, 0: error while code parsing: Unable to load file 'tests/__init__.py' ([Errno 2] No such file or directory: 'tests/__init__.py') (parse-error)
make: *** [lint] Error 1
@cbrainerd
Copy link
Author

Seems to be related to a change in pylint.

Works fine with pylint-1.5.5:

Successfully installed pylint-1.5.5
chrismac:isilon_stat_browser isi-cbrainerd$ make lint
`which pylint` -E -f colorized -r n stat_key_browser bin/ tests/
No config file found, using default configuration
chrismac:isilon_stat_browser isi-cbrainerd$ echo $?
0
chrismac:isilon_stat_browser isi-cbrainerd$

Fails with latest pylint-1.6.4

chrismac:isilon_stat_browser isi-cbrainerd$ pip install -U pylint
Collecting pylint
  Using cached pylint-1.6.4-py2.py3-none-any.whl
[...]
  Found existing installation: pylint 1.5.5
    Uninstalling pylint-1.5.5:
      Successfully uninstalled pylint-1.5.5
Successfully installed mccabe-0.5.2 pylint-1.6.4
chrismac:isilon_stat_browser isi-cbrainerd$ make lint
`which pylint` -E -f colorized -r n stat_key_browser bin/ tests/
No config file found, using default configuration
************* Module bin/
F:  1, 0: No module named bin/ (fatal)
************* Module tests
F:  1, 0: error while code parsing: Unable to load file 'tests/__init__.py' ([Errno 2] No such file or directory: 'tests/__init__.py') (parse-error)
make: *** [lint] Error 1
chrismac:isilon_stat_browser isi-cbrainerd$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant