Skip to content

Commit b8fe3f7

Browse files
committed
uncommented alembic
1 parent 3f2d8c3 commit b8fe3f7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ jobs:
5252
- name: Lint Python backend
5353
if: steps.changes.outputs.backend == 'true'
5454
working-directory: ./backend
55-
run: pip install ruff && ruff check . && ruff format --check .
55+
run: pip install ruff && ruff check --line-length 120 . && ruff format --check .

backend/alembic.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ version_path_separator = os # Use os.pathsep. Default configuration used for ne
7777
# black.options = -l 79 REVISION_SCRIPT_FILENAME
7878

7979
# lint with attempts to fix using "ruff" - use the exec runner, execute a binary
80-
; hooks = ruff
81-
; ruff.type = exec
82-
; ruff.executable = %(here)s/.venv/bin/ruff
83-
; ruff.options = check --fix REVISION_SCRIPT_FILENAME
80+
hooks = ruff
81+
ruff.type = exec
82+
ruff.executable = %(here)s/.venv/bin/ruff
83+
ruff.options = check --fix REVISION_SCRIPT_FILENAME
8484

8585
# Logging configuration
8686
# Every time you want to define a new sub-logger, you need to add it to loggers or it won't show up.

0 commit comments

Comments
 (0)