Skip to content

Commit

Permalink
Update linting of migrations for alembic
Browse files Browse the repository at this point in the history
  • Loading branch information
mslwang committed Oct 8, 2024
1 parent 4273653 commit 669319e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions backend/alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ version_path_separator = os # Use os.pathsep. Default configuration used for ne
# black.options = -l 79 REVISION_SCRIPT_FILENAME

# lint with attempts to fix using "ruff" - use the exec runner, execute a binary
# hooks = ruff
# ruff.type = exec
# ruff.executable = %(here)s/.venv/bin/ruff
# ruff.options = --fix REVISION_SCRIPT_FILENAME
hooks = ruff
ruff.type = exec
ruff.executable = %(here)s/.venv/bin/ruff
ruff.options = --fix REVISION_SCRIPT_FILENAME

# Logging configuration
[loggers]
Expand Down

0 comments on commit 669319e

Please sign in to comment.