Add nox session "verify-db-objects"
The new "verify-db-objects" session creates the ORM objects with `.create_all()` in a temporary database and compares them with the `CLEAN_SCHEMA` of a "live" database using `sqlalchemy-diff`
This commit is contained in:
parent
69b9d53704
commit
731299bb6e
1 changed files with 192 additions and 0 deletions
|
|
@ -145,6 +145,9 @@ docs = [
|
|||
"sphinx-autodoc-typehints (>=3.17.7,<4.0.0)",
|
||||
]
|
||||
|
||||
verify-db = [
|
||||
"sqlalchemy-diff (>=1.2.0,<2.0.0)",
|
||||
]
|
||||
|
||||
|
||||
[tool.autoflake]
|
||||
|
|
@ -519,6 +522,7 @@ module = [
|
|||
"geopy.*",
|
||||
"googlemaps.*",
|
||||
"rpy2.*",
|
||||
"sqlalchemydiff.*",
|
||||
"statsmodels.*",
|
||||
"utm.*",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue