* Fix SIM102: Use a single if-statement instead of nested if-statements * Fix SIM105: Use 'contextlib.suppress(...)' instead of try-except-pass * Fix SIM110: Use 'return any(...)' * Fix SIM113: Use enumerate instead of manually incrementing a counter * Fix SIM114: Combine conditions via a logical or to prevent duplicating code * Fix SIM211: Use 'not a' instead of 'False if a else True' * Fix SIM300: Use 'age == 42' instead of '42 == age' (Yoda-conditions) * Fix SIM119: Use dataclasses for data containers * Ignore "SIM106: Handle error-cases first" for now
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| cache | Loading commit data... | |
| debug | Loading commit data... | |
| env | Loading commit data... | |
| plugin | Loading commit data... | |
| self | Loading commit data... | |
| source | Loading commit data... | |
| __init__.py | Loading commit data... | |
| about.py | Loading commit data... | |
| add.py | Loading commit data... | |
| build.py | Loading commit data... | |
| check.py | Loading commit data... | |
| command.py | Loading commit data... | |
| config.py | Loading commit data... | |
| env_command.py | Loading commit data... | |
| export.py | Loading commit data... | |
| init.py | Loading commit data... | |
| install.py | Loading commit data... | |
| installer_command.py | Loading commit data... | |
| lock.py | Loading commit data... | |
| new.py | Loading commit data... | |
| publish.py | Loading commit data... | |
| remove.py | Loading commit data... | |
| run.py | Loading commit data... | |
| search.py | Loading commit data... | |
| shell.py | Loading commit data... | |
| show.py | Loading commit data... | |
| update.py | Loading commit data... | |
| version.py | Loading commit data... |