pylint-errors

W0406 (import-self)

:x: Problematic code:

cat > foo.py <<EOF
import foo
EOF

:heavy_check_mark: Correct code:

cat > foo.py <<EOF
import bar
EOF

cat > bar.py <<EOF
# some actions
EOF

Rationale:

Used when a module is importing itself.