From: Sarah Hoffmann Date: Sun, 17 Jul 2022 22:16:33 +0000 (+0200) Subject: CIL use psutil type stubs X-Git-Tag: v4.1.0~10^2~2 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f40c83d02555927367e49f4d74e642069dd5c6af CIL use psutil type stubs --- diff --git a/.github/actions/build-nominatim/action.yml b/.github/actions/build-nominatim/action.yml index 38deeb96..c6ff7a31 100644 --- a/.github/actions/build-nominatim/action.yml +++ b/.github/actions/build-nominatim/action.yml @@ -27,7 +27,6 @@ runs: else sudo apt-get install -y -qq python3-icu python3-datrie python3-pyosmium python3-jinja2 python3-psutil python3-psycopg2 python3-dotenv python3-yaml fi - sudo pip3 install -U typing-extensions shell: bash env: UBUNTUVER: ${{ inputs.ubuntu }} diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 5d70b568..481ec767 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -98,8 +98,8 @@ jobs: run: sudo apt-get install -y -qq python3-pytest if: matrix.ubuntu == 22 - - name: Install latest pylint - run: pip3 install pylint mypy types-PyYAML types-jinja2 types-psycopg2 + - name: Install latest pylint/mypy + run: pip3 install -U pylint mypy types-PyYAML types-jinja2 types-psycopg2 types-psutil typing-extensions - name: PHP linting run: phpcs --report-width=120 . diff --git a/.mypy.ini b/.mypy.ini index c019a55e..81a5c2e7 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -3,9 +3,6 @@ [mypy-icu.*] ignore_missing_imports = True -[mypy-psutil] -ignore_missing_imports = True - [mypy-osmium.*] ignore_missing_imports = True