You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ flake8 --version
2.3.0 (pep8: 1.6.2, pyflakes: 0.8.1, pep257: 0.2.1.post1, mccabe: 0.3) CPython 2.7.8 on Darwin
$ flake8 .
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
$ flake8 -j 0
No handlers could be found for logger "root"
$ flake8 -j 1
No handlers could be found for logger "root"
$ flake8 -j 2
No handlers could be found for logger "root"
No handlers could be found for logger "root"
I suspect this is a multiprocessing / logging interaction, since it varies with the number of jobs selected. It also goes away in Python 3.4.2:
$ flake8 --version
2.4.0 (pep8: 1.5.7, pyflakes: 0.8.1, pep257: 0.2.1.post1, mccabe: 0.3) CPython 2.7.8 on Darwin
$ flake8 .
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
No handlers could be found for logger "root"
$ flake8 -j 2 .
No handlers could be found for logger "root"
No handlers could be found for logger "root"
And, still not there with flake8 2.4.0 and Python 3.4:
$ flake8 --version
2.4.0 (pep8: 1.5.7, pyflakes: 0.8.1, pep257: 0.2.1.post1, mccabe: 0.3) CPython 3.4.2 on Darwin
$ flake8 .
I think this might be a problem with pep257 which is the only library that uses logging since none of (flake8, pep8, pyflakes, mccabe) use logging. And I already forgot there was an issue for it here.
I'll see if I can bug the pep257 maintainers for a release. Once there is you should be able to update that since there's no version requirement in flake8-docstrings.
In GitLab by @jwhitlock on Mar 9, 2015, 07:14
I suspect this is a multiprocessing / logging interaction, since it varies with the number of jobs selected. It also goes away in Python 3.4.2:
The text was updated successfully, but these errors were encountered: