Skip to content

Commit ec5e3ae

Browse files
committed
ignore some errors in the migration files
1 parent b381928 commit ec5e3ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mypy.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ warn_untyped_fields = True
3939
# Per-module options (one is kept as example):
4040
; [mypy-aio-pika.*]
4141
; ignore_missing_imports = True
42+
43+
# Ignore specific error codes in alembic migration files
44+
[mypy-*.migration.versions.*]
45+
disable_error_code = var-annotated

0 commit comments

Comments
 (0)