chore(ci): add ruff lint and format on git hook and github action #1
Annotations
10 errors and 1 warning
Ruff (F401):
backend/app/alembic/versions/04d4f05116ed_.py#L12
backend/app/alembic/versions/04d4f05116ed_.py:12:36: F401 `tidb_vector.sqlalchemy.VectorType` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/10f36e8a25c4_.py#L10
backend/app/alembic/versions/10f36e8a25c4_.py:10:22: F401 `sqlalchemy` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/10f36e8a25c4_.py#L11
backend/app/alembic/versions/10f36e8a25c4_.py:11:8: F401 `sqlmodel.sql.sqltypes` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/10f36e8a25c4_.py#L12
backend/app/alembic/versions/10f36e8a25c4_.py:12:36: F401 `tidb_vector.sqlalchemy.VectorType` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/197bc8be72d1_.py#L11
backend/app/alembic/versions/197bc8be72d1_.py:11:8: F401 `sqlmodel.sql.sqltypes` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/197bc8be72d1_.py#L12
backend/app/alembic/versions/197bc8be72d1_.py:12:36: F401 `tidb_vector.sqlalchemy.VectorType` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/27a6723b767a_.py#L11
backend/app/alembic/versions/27a6723b767a_.py:11:8: F401 `sqlmodel.sql.sqltypes` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/27a6723b767a_.py#L12
backend/app/alembic/versions/27a6723b767a_.py:12:36: F401 `tidb_vector.sqlalchemy.VectorType` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/27a6723b767a_.py#L13
backend/app/alembic/versions/27a6723b767a_.py:13:33: F401 `sqlalchemy.dialects.mysql` imported but unused
|
Ruff (F401):
backend/app/alembic/versions/749767db5505_add_recommend_questions.py#L11
backend/app/alembic/versions/749767db5505_add_recommend_questions.py:11:8: F401 `sqlmodel.sql.sqltypes` imported but unused
|
Backend Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|