Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linter: add "tautorogy" warning #502

Open
Tracked by #501
mtshiba opened this issue Mar 24, 2024 · 0 comments · May be fixed by #536
Open
Tracked by #501

Linter: add "tautorogy" warning #502

mtshiba opened this issue Mar 24, 2024 · 0 comments · May be fixed by #536
Labels
enhancement New feature or request good first issue Good for newcomers lint

Comments

@mtshiba
Copy link
Member

mtshiba commented Mar 24, 2024

Tracking issue: #501

We would like to warn code like:

assert 1 == 1
assert 1 <= 1
assert 1 >= 1
assert x + 1 == x + 1

Warn if LHS/RHS are clearly equal when comparing.

@mtshiba mtshiba added enhancement New feature or request good first issue Good for newcomers lint labels Mar 24, 2024
@mtshiba mtshiba changed the title Linter: Add tautorogy warning Linter: Add "tautorogy" warning Mar 24, 2024
@mtshiba mtshiba changed the title Linter: Add "tautorogy" warning Linter: add "tautorogy" warning Mar 24, 2024
@GreasySlug GreasySlug linked a pull request Nov 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers lint
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant