]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Fix linting with ruff provided in alembic.ini by scratch 1615/head
authorRishat Fayzullin <nilluziaf@gmail.com>
Tue, 4 Mar 2025 09:52:07 +0000 (12:52 +0300)
committerRishat Fayzullin <nilluziaf@gmail.com>
Tue, 4 Mar 2025 09:52:07 +0000 (12:52 +0300)
Fixes: #1614
alembic/templates/async/alembic.ini.mako
alembic/templates/generic/alembic.ini.mako
alembic/templates/multidb/alembic.ini.mako

index f97e2d6659d52a5a7e8ed48bc88be2f36e06e239..7ffd7926bce15473116ffce116ed2e819d7e5a85 100644 (file)
@@ -79,7 +79,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname
 # hooks = ruff
 # ruff.type = exec
 # ruff.executable = %(here)s/.venv/bin/ruff
-# ruff.options = --fix REVISION_SCRIPT_FILENAME
+# ruff.options = check --fix REVISION_SCRIPT_FILENAME
 
 # Logging configuration
 [loggers]
index 4fc5d01a9446750c4d3a989cb4597c581ad3f7ec..3e211d0d64dfa92f60da2fb568004d554f8b541e 100644 (file)
@@ -81,7 +81,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname
 # hooks = ruff
 # ruff.type = exec
 # ruff.executable = %(here)s/.venv/bin/ruff
-# ruff.options = --fix REVISION_SCRIPT_FILENAME
+# ruff.options = check --fix REVISION_SCRIPT_FILENAME
 
 # Logging configuration
 [loggers]
index 116bd4a88145267072a452aabec1e023a5545e2e..003164561bb8da95e02b3a196d60297ee8140d3d 100644 (file)
@@ -86,7 +86,7 @@ sqlalchemy.url = driver://user:pass@localhost/dbname2
 # hooks = ruff
 # ruff.type = exec
 # ruff.executable = %(here)s/.venv/bin/ruff
-# ruff.options = --fix REVISION_SCRIPT_FILENAME
+# ruff.options = check --fix REVISION_SCRIPT_FILENAME
 
 # Logging configuration
 [loggers]