Enable EM in flake8 and ruff

This commit is contained in:
Alexander Hess 2026-11-30 22:59:41 +01:00
commit ae2dc8db64
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -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.