Enable EM in flake8 and ruff
This commit is contained in:
parent
652713e702
commit
ae2dc8db64
1 changed files with 201 additions and 99 deletions
|
|
@ -12,7 +12,8 @@ from velofy import db
|
|||
|
||||
# Disable the --sql option, a.k.a, the "offline mode".
|
||||
if context.is_offline_mode():
|
||||
raise NotImplementedError("The --sql option is not implemented in this project")
|
||||
msg = "The --sql option is not implemented in this project"
|
||||
raise NotImplementedError(msg)
|
||||
|
||||
|
||||
# Set up the default Python logger from the alembic.ini file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue