-
Notifications
You must be signed in to change notification settings - Fork 45
Use setup file #8
Comments
That would be great. I could mute some annoying "issues" such as hard-coded line length. |
Based on what the jshint linter's doing, it seems like this would be a pretty small change, but I think the package settings would clobber anything in the config /: |
@matthewwithanm Yes it would be pretty small change, just give me a few days, becouse I'm while quiting my job and founding my own company, so I don't much time right now. |
Didn't mean to rush you! |
There's also the home config to read at |
I can put together a PR for this; I'm just not sure of how to resolve the package settings. (Personally, I don't think there should be any package-level linter config and instead it should just rely on the normal flake8 configuration behavior.) |
@yellottyellott @AtomLinter is actually making a copy of the file in a tmp directory, which can mess up a bunch of stuff like this. I mentioned it in steelbrain/linter#213 but it seems unlikely to be changed. Unfortunately, that means individual linter packages have to reimplement this kind of logic 💩 |
It would be nice if the linter could use a setup.cfg or tox.ini etc. if found in the root project directory.
Normally flake8 will read these automatically if there's one in the same directory as it is invoked from, but there is also a --config option to specify a path.
The text was updated successfully, but these errors were encountered: