It is quite disappointing when overall project, separate file and folder checks give different results. Here is a little table showing results depended on arguments given.
| cmd |
--absolute-path |
PATH |
results |
| not defined |
Full path to project |
. |
file |
folder |
| relative |
abs |
relative |
abs |
code |
import-error |
ignored noqa |
| |
- | * | | | | | | | ok | | |
| `pwd` |
- | | * | | | | | | ok | | |
| . |
- | | | * | | | | | ok | | |
| lib/__init__.py |
- | | | | * | | | | ok | | |
| `pwd`/lib/__init__.py |
- | | | | | * | | | fail | | * |
| lib |
- | | | | | | * | | fail | * | * |
| `pwd`/lib |
- | | | | | | | * | fail | * | * |
| --absolute-path |
+ | * | | | | | | | ok | | |
| --absolute-path `pwd` |
+ | | * | | | | | | ok | | |
| --absolute-path . |
+ | | | * | | | | | ok | | |
| --absolute-path lib/__init__.py |
+ | | | | * | | | | ok | | |
| --absolute-path `pwd`/lib/__init__.py |
+ | | | | | * | | | ok | | |
| --absolute-path lib |
+ | | | | | | * | | fail | * | * |
| --absolute-path `pwd`/lib |
+ | | | | | | | * | fail | * | * |
It is quite disappointing when overall project, separate file and folder checks give different results. Here is a little table showing results depended on arguments given.