sourcery-ai / sourcery

Instant AI code reviews
https://sourcery.ai
MIT License
1.53k stars 66 forks source link

[Feature Request] Suggestion Identifiers #254

Open Hyperclaw79 opened 2 years ago

Hyperclaw79 commented 2 years ago

Currently, the refactoring suggestions simply show the suggestion text. If we can add identifiers for a specific suggestion, it will shorten the Issue descriptions and would enable the use of Github tags to quickly categorize issues.

Example: Sourcery - The first argument to instance methods should be 'self' would become: Sourcery - The first argument to instance methods should be 'self' no-self-use

This way, all the Issues related to no-self-use like #253 can be easily tracked.

Hyperclaw79 commented 2 years ago

Ok, I've seen that the identifiers already exists (and can be used in sourcery.yml). Would be nice to display it in the suggestions panel as well.