Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

flake8 entry_points ID collides with flake8-bugbear leading to plugin auto-load problems #9

Closed
bskinn opened this issue Apr 17, 2019 · 2 comments

Comments

@bskinn
Copy link

bskinn commented Apr 17, 2019

flake8-bugbear already uses the B code for its entry_points[flake8.extension], just like flake8-pie currently does. This makes it impossible to auto-load both flake8-bugbear and flake8-pie at the same time. See issue 534 for flake8 over at GitLab for more details.

Per the discussion in the comments at that flake8 issue, since flake8-pie is much newer, perhaps it should switch to using one of the newly-allowed three-character error code categories... PIE, perhaps? From the bottom of the docs page here:

Please Note: Your entry point does not need to be exactly 4 characters as of Flake8 3.0. Consider using an entry point with 3 letters followed by 3 numbers (i.e. ABC123).

sbdchd added a commit that referenced this issue Apr 17, 2019
rename lint prefix to prevent collisions with other flake8 lints.

see: #9

Also update poetry config to latest & fix CI caching
@sbdchd
Copy link
Owner

sbdchd commented Apr 17, 2019

Thanks for the heads up. Should be fixed in the latest release v0.2.1.

@sbdchd sbdchd closed this as completed Apr 17, 2019
@bskinn
Copy link
Author

bskinn commented Apr 17, 2019

👍 Fixed indeed -- thank you! And, thanks for the plugin!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants