mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(pre-commit): include migrations in fixes/checks
We want all python files related to the project to be checked, really. Some of which are still included, but migrations are a core part of FastAPI aurweb and should be included. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
03776c4663
commit
b3853e01b8
6 changed files with 44 additions and 46 deletions
|
@ -8,20 +8,19 @@ Create Date: 2022-02-18 12:47:05.322766
|
|||
from datetime import datetime
|
||||
|
||||
import sqlalchemy as sa
|
||||
|
||||
from alembic import op
|
||||
|
||||
from aurweb import db
|
||||
from aurweb.models import PackageVote
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = 'd64e5571bc8d'
|
||||
down_revision = 'be7adae47ac3'
|
||||
revision = "d64e5571bc8d"
|
||||
down_revision = "be7adae47ac3"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
table = PackageVote.__tablename__
|
||||
column = 'VoteTS'
|
||||
column = "VoteTS"
|
||||
epoch = datetime(1970, 1, 1)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue