summaryrefslogtreecommitdiffstats
path: root/aurweb/schema.py
diff options
context:
space:
mode:
authorFilipe Laíns <lains@archlinux.org>2020-06-02 00:35:25 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2021-02-20 17:24:30 +0100
commit8d1be7ea8a8d7c270f692a6c375ef2614c5ac601 (patch)
tree2b343525badee68b0850ddc51295a6efca66f9a2 /aurweb/schema.py
parent48b58b1c2f74df0906231d2affd9f2b352a8e330 (diff)
downloadaur-8d1be7ea8a8d7c270f692a6c375ef2614c5ac601.tar.gz
aur-8d1be7ea8a8d7c270f692a6c375ef2614c5ac601.tar.xz
Refactor code to comply with flake8 and isort
Signed-off-by: Filipe Laíns <lains@archlinux.org> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'aurweb/schema.py')
-rw-r--r--aurweb/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/aurweb/schema.py b/aurweb/schema.py
index 6792cf1d..20f3e5ce 100644
--- a/aurweb/schema.py
+++ b/aurweb/schema.py
@@ -6,7 +6,7 @@ usually be automatically generated. See `migrations/README` for details.
"""
-from sqlalchemy import CHAR, Column, ForeignKey, Index, MetaData, String, TIMESTAMP, Table, Text, text
+from sqlalchemy import CHAR, TIMESTAMP, Column, ForeignKey, Index, MetaData, String, Table, Text, text
from sqlalchemy.dialects.mysql import BIGINT, DECIMAL, INTEGER, TINYINT
from sqlalchemy.ext.compiler import compiles
@@ -24,7 +24,7 @@ def compile_bigint_sqlite(type_, compiler, **kw):
to INTEGER. Aside from that, BIGINT is the same as INTEGER for SQLite.
See https://docs.sqlalchemy.org/en/13/dialects/sqlite.html#allowing-autoincrement-behavior-sqlalchemy-types-other-than-integer-integer
- """
+ """ # noqa: E501
return 'INTEGER'