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
SIM104: yield from is not possible for async functions
#94
MartinThoma
closed
2 years ago
0
SIM105: Add notice about speed impact in README
#93
MartinThoma
closed
2 years ago
0
[New Rule] Create dictionary directly
#92
atombrella
closed
2 years ago
2
[Adjust rule] Drop SIM105 due to performance
#91
atombrella
closed
2 years ago
5
SIM901: Add rule for unnecessary bool applications
#90
MartinThoma
closed
2 years ago
0
[Adjust Rule] SIM401 unnecessarily quotes default value
#89
akx
closed
2 years ago
3
[New Rule] Use comparision directly instead of bool(comparison)
#88
martin-thoma
closed
2 years ago
2
[Adjust Rule] SIM106 False-Positive for NotImplementedError / ValueError
#87
martin-thoma
closed
2 years ago
3
[SIM905] Use list of strings instead of splitting a constant string
#86
MartinThoma
closed
2 years ago
2
SIM401: Fix false-positives and quotation issues
#85
MartinThoma
closed
2 years ago
0
[Adjust Rule] SIM401 quotation issue
#84
jonyscathe
opened
2 years ago
4
SIM401 false positive
#83
MetRonnie
closed
2 years ago
4
MAINT: Update dependencies
#82
MartinThoma
closed
2 years ago
0
BUG: Check list length for SIM114
#81
MartinThoma
closed
2 years ago
0
[New Rule] Default values for dictionaries
#80
MartinThoma
opened
2 years ago
1
[SIM109] Suggest tuple instead of list
#79
mxr
closed
2 years ago
1
[Adjust Rule] SIM109 - Suggest tuple instead of list
#78
mxr
closed
2 years ago
1
[SIM109] Only rewrite when comparing against names
#77
mxr
closed
2 years ago
0
[Adjust Rule] SIM109 - Do not suggest rewrites when comparing against function calls
#76
mxr
closed
2 years ago
1
MAINT: Run tests for Python 3.10
#75
MartinThoma
closed
2 years ago
0
Make SIM119 not trigger on complex operations in the constructor, and when async methods are present on a class.
#74
dsegan
closed
2 years ago
2
SIM401: Implement check if-block -> dict.get(key, default)
#73
MartinThoma
closed
2 years ago
0
[New Rule] `dict` use get with default rather than `if in mydict: else`
#72
jcpunk
closed
2 years ago
2
[New Rule] Replace f-string without any text with using value directly instead
#71
simon-liebehenschel
opened
2 years ago
7
[Bug] SIM114 reports false positive finding
#70
kasium
closed
2 years ago
6
BUG: Fix infinite recursion in SIM114
#69
ghost
closed
3 years ago
0
[New Rule] Promote the walrus operator on >3.8
#68
ROpdebee
opened
3 years ago
0
SIM104 proposes yield from under async generators
#67
ergoithz
closed
2 years ago
0
Segfault when executing from pytest
#66
scganterh
closed
3 years ago
5
[Adjust Rule] Let SIM115 accept usage of contextlib.ExitStack to manage contextmanagers
#65
terrykong
opened
3 years ago
0
[SIM907] Use Optional[Type] instead of Union[Type, None]
#64
kasium
closed
2 years ago
3
[Adjust Rule] SIM119 - Use a dataclass rule
#63
Kub-AT
closed
2 years ago
3
[Adjust Rule] SIM111 - Detect if another statement comes after the loop
#62
kasium
closed
2 years ago
1
[Adjust Rule] SIM102 - comments in between if clauses
#61
MetRonnie
opened
3 years ago
3
Fix SIM111 warning for compound expressions.
#60
hjoliver
closed
3 years ago
4
[Adjust Rule] SIM111 for compound conditionals
#59
hjoliver
closed
3 years ago
0
Fix README doc for SIM111.
#58
hjoliver
closed
3 years ago
1
SIM113: Remove False-Positive when continue is present
#57
MartinThoma
closed
3 years ago
0
SIM113: Remove False-Positive when adding a string
#56
MartinThoma
closed
3 years ago
0
[Adjust Rule] SIM113 should not trigger when adding a non-number
#55
akx
closed
3 years ago
1
[Adjust Rule] SIM113 Use enumerate only when it's unconditionally executed
#54
tsx
closed
3 years ago
2
[Adjust Rule] SIM116 Use a dictionary lookup instead of 3+ if/elif - but not if side effects are involved
#53
tsx
closed
2 years ago
2
SIM 121: Added
#52
MartinThoma
closed
2 years ago
0
[SIM122] Use 'key in some_dict' instead of 'key in some_dict.keys()'
#51
MartinThoma
closed
3 years ago
2
[SIM121] Use ".get" instead of "if X in dict: dict[X]"
#50
MartinThoma
closed
2 years ago
8
✏️ simpified > simplified
#49
frenck
closed
3 years ago
1
[Adjust Rule] SIM102: 'if __name__ == "__main__"' does not count
#48
MartinThoma
closed
2 years ago
0
Add SIM122/SIM123 to check for magic booleans/numbers
#47
MartinThoma
closed
2 years ago
0
[Adjust Rule] SIM118: for key in list(dict.keys) can be used if the loop removes keys
#46
MartinThoma
closed
3 years ago
2
MAINT: Create xfail test for known issue #34
#45
MartinThoma
closed
3 years ago
0
Previous
Next