FlakeHell was archived
See original GitHub issueSorry, flakehell was archived. it was my the most mentally difficult project, and I don’t maintain it anymore. Probably, the WPS documentation should be adjusted accordingly, removing flakehell references. I don’t insist, though 😃
Luckily, the documentation already has a great section about flake8 --diff
which should be enough for most of the cases from the perspective of integrating WPS with a big codebase. Additionally, I can recommend:
- reviewdog which supports flake8 out of the box and by default filters violations only for the diff,
- GitLab code quality report which shows only violations that are new in the analyzed merge request. There are few flake8 plugins to generate the report: flake8-gl-codeclimate (I used it, works pretty well) and flake8-codeclimate.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Remove flakehell now that it's no longer being maintained
https://github.com/life4/flakehell was added in !1970 (merged), but the maintainer has now archived the project: ...
Read more >Jonathan Bowman on Twitter: ""Using Flake8 and pyproject.toml ...
The source repository for Flakehell has been archived. Know of anyone who has picked up stewardship? 1. Jonathan Bowman.
Read more >flakehell - Python Package Health Analysis - Snyk
Learn more about flakehell: package health score, popularity, security, maintenance, versions and more. ... Maintenance. Inactive. archived ...
Read more >FlakeHell — FlakeHell 0.8.0 documentation
FlakeHell supports all flake8 plugins, formatters, and configs. However, FlakeHell has it's own beautiful way to configure enabled plugins and codes.
Read more >drytoml - PyPI
In the works: docformatter; pytest. Notes. Although the flakehell project was archived, we're keeping a fork alive from here, availabe as ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We also have #1276 and #1471, which will hopefully make it into 0.16 (flakehell is already removed from the documentation in that first PR).
I’ve been using that branch for a few months locally now, and it works pretty well.
Not if you install plugins. I think the performance issue may have been atleast partially resolved, but to support the granular controls over enabling/disabling error codes (not something we even wanted to use) it was basically rechecking the code several times or something. So, the performance of flake8 is O(n), while the performance of flakehell is more like O(nm), where n is number of files and m is number of plugins (or something along those lines, it’s been awhile). On our project flake8 was taking ~2 minutes to run, while flakehell was taking over 30 minutes (I literally gave up and cancelled it after 30 minutes). That included wemake and several other flake8 plugins on ~30k lines of code.
Fair enough. To me, the feature was sufficiently rudimentary that it seemed too cumbersome to use. e.g. Changes frequently result in far too many baseline exceptions reappearing in the output and not being ignored anymore (even from trivial changes). I was using my branch at my last company, and it was working a lot better. The matching behaviour results in much less previously ignored exceptions reappearing, it updates the baseline after your changes (to avoid multiple small changes reintroducing ignored exceptions), and removes anything from the baseline that is no longer in the code (to avoid accidentally ignoring new exceptions).