File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 .
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments