* 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 |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| __init__.py | Loading commit data... | |
| test_authenticator.py | Loading commit data... | |
| test_env.py | Loading commit data... | |
| test_env_site.py | Loading commit data... | |
| test_exporter.py | Loading commit data... | |
| test_extras.py | Loading commit data... | |
| test_helpers.py | Loading commit data... | |
| test_password_manager.py | Loading commit data... | |
| test_patterns.py | Loading commit data... | |
| test_pip.py | Loading commit data... | |
| test_setup_reader.py | Loading commit data... |