Skip to content

Commit

Permalink
Merge pull request #42 from nerc-project/precommit-flake8-fixes
Browse files Browse the repository at this point in the history
CI/CD: upgrade pre-commit's flake8 to latest v6.1.0 and fix lint errors
  • Loading branch information
jtriley authored Nov 29, 2023
2 parents f897228 + 155a224 commit ee97a8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ repos:
exclude: .*/tests/.*

- repo: https://github.com/pycqa/flake8
rev: '4.0.1'
rev: '6.1.0'
hooks:
- id: flake8
args:
Expand Down
2 changes: 1 addition & 1 deletion apps/regapp/views/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_user_confirmation(account_action, validation_email):
# This should not happen...
errmsg = (
"Account action has unrecognized "
f"opcode { account_action.opcode }"
f"opcode {account_action.opcode}"
)
logger.error(errmsg)
raise RuntimeError(errmsg)
Expand Down

0 comments on commit ee97a8b

Please sign in to comment.