flake8 plugins using pyproject.toml (this plugin) #23
christianparpart
started this conversation in
General
Replies: 1 comment 2 replies
-
What do you mean, you weren't successful? What problem did you actually run into? I don't see how your use case is different from everyone else's: there's Python code that needs linting, and Flake8 is configured in |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Nice, however, @john-hen,
I am kinda new to flake8, but I have to create a flake8 plugin and it is mandatory for me to use pyproject.toml. I wasn't really successful so far. I have a standalone checker script, that's using the
ast
module to treewalk and do what I want to check for. We decided to go for flake8 rather than pylint, because pylint already is very much slower than flake8, and theast
module is totally sufficient to what I want to check for.But we do not want to have any setup.cfg / setup.py files and the likes, but only pyproject.toml and have the project (here: flake8 plugin) configured using this.
I'm asking here because maybe it's already possible and I just didn't see the solution right in front of my eyes. :-)
Beta Was this translation helpful? Give feedback.
All reactions