Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 11, 2022
1 parent bb6d607 commit 6031fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/helpers/ResistorColourCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def __repr__(self):
COLOUR_CODES = {}
for i, colour_name in enumerate(COLOUR_NAMES):
digit = i - 2
multiplier = 10 ** digit
multiplier = 10**digit
# digit is defined positive
if digit < 0:
digit = None
Expand Down

0 comments on commit 6031fea

Please sign in to comment.