issues
search
MartinThoma
/
flake8-simplify
❄ A flake8 plugin that helps you to simplify code
MIT License
185
stars
19
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
ENH: Add SIM199 to detect dataclasses
#44
MartinThoma
closed
3 years ago
0
[New Rule] Use keyword-arguments instead of positional arguments for boolean values
#43
MartinThoma
closed
2 years ago
4
ENH: Add SIM118 (key in dict.keys -> key in dict)
#42
MartinThoma
closed
3 years ago
0
BUG: Fix all(not el for el in it) in SIM111
#41
MartinThoma
closed
3 years ago
0
[New Rule] Simplify "in dict.keys()" to "in dict"
#40
Skylion007
closed
3 years ago
1
[Adjust Rule] SIM113: Take care of nested loops
#39
MartinThoma
closed
2 years ago
0
[Adjust Rule] SIM111: Fix all(not el for el in it)
#38
MartinThoma
closed
3 years ago
0
[SIM119] Detect potential dataclasses
#37
MartinThoma
closed
3 years ago
2
ENH: Add SIM117 (merge with-statements)
#36
MartinThoma
closed
3 years ago
0
[SIM117] Merge with statements for context managers that have same scope
#35
Skylion007
closed
3 years ago
5
[Adjust Rule] SIM110
#34
MartinThoma
closed
2 years ago
3
SIM116: Use a dictionary lookup
#33
MartinThoma
closed
3 years ago
0
[Adjust Rule] SIM113: Take care of "continue"
#32
MartinThoma
closed
3 years ago
1
SIM116: Use a dictionary instead many if/elif equality checks
#31
MartinThoma
closed
3 years ago
2
ENH: Check if a context handler is used for file opening
#30
MartinThoma
closed
3 years ago
0
ENH: Only trigger SIM201-207 when it's not raising an exception
#29
MartinThoma
closed
3 years ago
0
[Adjust Rule] Fix SIM104 false positive inside async functions
#28
simon-liebehenschel
closed
2 years ago
2
[New Rule] Reduce conditional expressions to boolean expressions
#27
SpecLad
closed
3 years ago
6
ENH: Duplicate blocks in conditionals
#26
MartinThoma
closed
3 years ago
0
[Adjust Rule] SIM113 False Positive in Nested Loops
#25
Skylion007
closed
2 years ago
7
ENH: Add SIM113 (enumerate in for-loops)
#24
MartinThoma
closed
3 years ago
0
ENH: Enforce capitalization of environment variables
#23
MartinThoma
closed
3 years ago
0
WIP: ENH: Add any/all test
#22
MartinThoma
closed
3 years ago
0
Architecture: Figure out how to get context
#21
MartinThoma
closed
3 years ago
9
WIP: MAINT: Relax SIM106
#20
MartinThoma
closed
2 years ago
0
SIM112: Non-capital environment variables
#19
MartinThoma
closed
3 years ago
3
SIM113: Use enumerate
#18
MartinThoma
opened
3 years ago
5
SIM115: with context handler for opening files
#17
MartinThoma
closed
3 years ago
4
SIM300: Check Yoda Conditions
#16
MartinThoma
closed
3 years ago
0
SIM110 / SIM111: Use any / all
#15
MartinThoma
closed
3 years ago
0
[Adjust Rule] SIM106: Error cases first only if it's not "NotImplementedError"
#14
MartinThoma
closed
2 years ago
5
[Adjust Rule] SIM201 - SIM207
#13
MartinThoma
closed
3 years ago
1
SIM108: Use the ternary operator if it's reasonable.
#12
MartinThoma
closed
3 years ago
1
SIM109: Multiple comparisons of same variable
#11
MartinThoma
closed
3 years ago
1
SIM114: Duplicate blocks in conditionals
#10
MartinThoma
closed
3 years ago
1
SIM107: try-except-finally with returns
#9
MartinThoma
closed
3 years ago
1
SIM106: Handle error cases early
#8
MartinThoma
closed
2 years ago
13
[Adjust Rule] Expand SIM102 for elseif-if combinations
#7
MartinThoma
closed
3 years ago
0
SIM212, SIM220-SIM223: Ternary operator negation
#6
MartinThoma
closed
3 years ago
0
SIM105: contextlib.suppress
#5
MartinThoma
closed
4 years ago
0
SIM104: yield from
#4
MartinThoma
closed
4 years ago
0
SIM103: Unnecessary if-else to return boolean
#3
MartinThoma
closed
4 years ago
1
SIM210/SIM211: Ternary operator
#2
MartinThoma
closed
4 years ago
0
New Check: Unnecessary Parenthesis
#1
MartinThoma
closed
4 years ago
1
Previous