Skip to content
Snippets Groups Projects
Commit 5975bd1f authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Sourcery: keep remove-zero-from-range check disabled

IMO explicit declaration of lower and upper limits makes code easier to
read than using an implicit default value.

See for reference:
https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-zero-from-range/
parent 3715f022
No related branches found
No related tags found
1 merge request!285Sourcery: keep remove-zero-from-range check disabled
Pipeline #72177 skipped with stage
......@@ -8,6 +8,8 @@ rule_settings:
disable:
# Code is easier to read without this
- min-max-identity
# Keep explicit lower range limit instead of using implicit default value
- remove-zero-from-range
# FIXME: verify if we want to keep the checks below.
# If not, remove them. If yes, move them above this comment.
- use-fstring-for-formatting
......@@ -28,7 +30,6 @@ rule_settings:
- de-morgan
- merge-nested-ifs
- remove-dict-keys
- remove-zero-from-range
- use-named-expression
- use-next
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment