ruff
[pylint] Implement consider-using-ternary (R1706)
#7811
Merged

[pylint] Implement consider-using-ternary (R1706) #7811

danbi2990
danbi2990 impl consider_using_ternary
ae533ce5
danbi2990 add names & test
4893cc60
danbi2990 add python test
57f8601e
danbi2990 call rule
55d1c693
danbi2990 edit schema
8515e469
danbi2990 add snapshot
d1a3f57d
danbi2990 Merge branch 'main' of https://github.com/astral-sh/ruff into conside…
c7cb48bf
danbi2990 apply cargo fmt
ca8f911a
danbi2990 fix typo
720820b6
codspeed-hq
danbi2990 rename to LegacyTernary
f2eee653
github-actions
danbi2990 danbi2990 marked this pull request as draft 2 years ago
danbi2990 rename to AndOrTernary
c2f6bb9b
danbi2990 move to helpers
2662cf70
danbi2990 change snapshot
fccf90d5
danbi2990 apply format
2d2af477
danbi2990 Merge branch 'main' of https://github.com/astral-sh/ruff into conside…
d5e56fde
danbi2990 danbi2990 marked this pull request as ready for review 2 years ago
danbi2990 assume no complex logical operator
0f3c6d33
konstin
konstin commented on 2023-10-06
danbi2990 apply PR review
fc33084e
danbi2990 remove checking len
f20e2f78
danbi2990 clean-up
b56d5ffc
danbi2990 Merge branch 'main' of https://github.com/astral-sh/ruff into conside…
552093b8
danbi2990 use safe_edit
ca97bc4a
danbi2990
danbi2990 danbi2990 requested a review from konstin konstin 2 years ago
konstin
konstin commented on 2023-10-10
danbi2990 add test
c3f67287
danbi2990 update snapshot
970dc7d1
danbi2990 move helper and make private
23bbd164
danbi2990 early return if parent is `if` or `bool_op`
964bc91e
danbi2990 Merge branch 'main' of https://github.com/astral-sh/ruff into conside…
220c88e4
danbi2990
danbi2990 danbi2990 requested a review from konstin konstin 2 years ago
konstin
danbi2990 update snapshot
70a48bdc
danbi2990 add test
bfb628c2
danbi2990 check comprehension-if
ca2c0e2d
danbi2990 Merge branch 'main' of https://github.com/astral-sh/ruff into conside…
6b6da3f3
danbi2990 use enabled
330244f7
danbi2990 remove mut
679ca422
danbi2990 remove pub
ef8c558e
danbi2990 format
341d8472
danbi2990
konstin
konstin approved these changes on 2023-10-12
konstin konstin requested a review from charliermarsh charliermarsh 2 years ago
danbi2990 update snapshot
b3d4b0b1
danbi2990 use unsafe_edit
13904893
charliermarsh Merge branch 'main' into consider-using-ternary
a09f88bb
charliermarsh Tweak messages
7db58c75
charliermarsh charliermarsh added rule
charliermarsh Add to preview
50f55cc9
charliermarsh
charliermarsh approved these changes on 2023-10-13
charliermarsh Tweak fixture
825afc39
charliermarsh Merge branch 'main' into consider-using-ternary
2551ccae
charliermarsh charliermarsh enabled auto-merge (squash) 2 years ago
charliermarsh charliermarsh merged c03a693e into main 2 years ago
danbi2990 danbi2990 deleted the consider-using-ternary branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone