]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/workflows/ci-tests.yml
CI: make type checking strict
[nominatim.git] / .github / workflows / ci-tests.yml
index ab4ded0c7aa88b5994add9bffb30af8f7202a6f5..5d70b56838eceb23b51abb5ef3c8207ffa3d070b 100644 (file)
@@ -99,7 +99,7 @@ jobs:
               if: matrix.ubuntu == 22
 
             - name: Install latest pylint
-              run: pip3 install pylint mypy types-PyYAML types-jinja2
+              run: pip3 install pylint mypy types-PyYAML types-jinja2 types-psycopg2
 
             - name: PHP linting
               run: phpcs --report-width=120 .
@@ -110,7 +110,7 @@ jobs:
               working-directory: Nominatim
 
             - name: Python static typechecking
-              run: mypy nominatim
+              run: mypy --strict nominatim
               working-directory: Nominatim