ruff
[flake8-simplify] Only trigger SIM401 on known dictionaries (SIM401)
#15995
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
8
Changes
View On
GitHub
[flake8-simplify] Only trigger SIM401 on known dictionaries (SIM401)
#15995
MichaReiser
merged 8 commits into
astral-sh:main
from
junhsonjb:jjb-sim401-rule
solves issues, probably needs polishing before PR
6a9d8f58
move is_known_to_be_of_type_dict to central location
df76003c
move all dict detections to use the central version
5cffee70
testing
45acfa8e
linting
36974ec8
test that SIM401 is not triggered for dictionary-like type
37499555
remove TODO
74ec3c6c
MichaReiser
added
rule
Simplify code
617f4d1f
MichaReiser
approved these changes on 2025-02-07
MichaReiser
enabled auto-merge (squash)
219 days ago
MichaReiser
merged
349f9338
into main
219 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
MichaReiser
Assignees
No one assigned
Labels
rule
Milestone
No milestone
Login to write a write a comment.
Login via GitHub