forked from hans/Nominatim
adapt annotations for SQLAlchemy 2.x
It is not possible to produce type annotations that work with both versions 1.4 and 2.0. So keep to the principle of only supporting newest versions when it comes to mypy. This means that some types may have to be string quoted to not cause issues when running with SQLAlchemy 1.4.
This commit is contained in:
@@ -64,7 +64,7 @@ sudo apt install php-cgi phpunit php-codesniffer \
|
||||
|
||||
pip3 install --user behave mkdocs mkdocstrings pytest pylint \
|
||||
mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil \
|
||||
types-ujosn \
|
||||
types-ujosn types-requests typing-extensions\
|
||||
sanic-testing httpx asgi-lifespan
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user