linter-flake8
linter-flake8 copied to clipboard
Flake8 fails when directory opened with the atom command
When I open a directory in Atom with the command
atom <path>
linter-flake8 throws this error and does not lint
Flake8 crashed! linter-flake8:: Flake8 threw an error related to: /bin/sh: error importing function definition for `module' Please check Atom's Console for more details
If I just drag the directory to the Atom icon everything works ok.
This is happening with Atom 1.17.0-beta4 on macOS.
This is a configuration issue with your environment, something in your shell environment (eg. .bashrc) isn't running properly when we attempt to execute flake8.
I'm using fish shell and actually don't have a .bashrc file. As far as I can remember I haven't had this problem in the past.