Offer built-in rules standalone
See original GitHub issueThis package of lints is great, however it adds quite a lot of dependencies into projects which may only want a small number of the rules available here. (Many of which aren’t available elsewhere).
Would you be open to offering the core rules as their own package, separate from the dependencies? (I’m assuming that most of the dependencies aren’t actually runtime requirements, but instead are dependencies so they’re pulled in for convenience).
I can think of a number of ways this could be expressed, either as a separate package or by moving the dependencies to an “extras” requirement on this package. The latter would be sort-of breaking (users who want everything would need to install wemake-python-styleguide[all]
or similar rather than just wemake-python-styleguide
), but is likely to be simpler to maintain.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top GitHub Comments
I had a quick look at which packages are actually needed just now; noting down the results to save future me some time – it’s currently
pip install 'flake8<5' flake8-quotes attrs pep8-naming astor pygments
.However flake8 v5 does also seem to work.
For info: I’m not sure I’m likely to get to this in the immediate future. I’m still interested in this happening (and may eventually have time to work on it), but wanted to clarify in case others were interested in working on this.