snok / flake8-type-checking

Flake8 plugin for managing type-checking imports & forward references.
BSD 3-Clause "New" or "Revised" License
113 stars 16 forks source link

Codes conflict with tryceraptops #147

Closed Aplietexe closed 1 year ago

Aplietexe commented 2 years ago

Both flake8-type-checking and tryceraptops are using the same TC prefix in the same range, which makes it impossible to use both plugins at the same time. tryceraptops violations doc

sondrelg commented 2 years ago

I'm not keen on changing the error codes to be honest. Perhaps this could be solved upstream, if flake8 devs accepted a feature proposal for error code aliasing?

Just did a 5 minute scan of flake8 issues and can't see that it has been raised before (though, please double check). This post also seems to contain some motivating examples for such a feature. Colliding error codes will most likely pop up more and more as the ecosystem grows.

If you have other suggestions, I'm also happy to hear them 🙂

Aplietexe commented 2 years ago

I don't think there's another way, at least until aliasing is implemented. Thanks anyway.

seapagan commented 1 year ago

Just a quick note to say that Triceratops have changed their prefix to TRY a couple of months ago, so both should now be usable together.

sondrelg commented 1 year ago

Great! Thanks @seapagan 👏