Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows/mypy.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mypy.yaml')
-rw-r--r--.github/workflows/mypy.yaml14
1 files changed, 5 insertions, 9 deletions
diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml
index 20c98f3b..39306cd6 100644
--- a/.github/workflows/mypy.yaml
+++ b/.github/workflows/mypy.yaml
@@ -4,19 +4,15 @@ jobs:
mypy:
runs-on: ubuntu-latest
container:
- image: archlinux:latest
+ image: archlinux/archlinux:latest
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- run: pacman --noconfirm -Syu python mypy python-pip
- - run: python -m pip install --upgrade pip
- - run: pip install fastapi pydantic
+ - run: pip install --break-system-packages --upgrade pip
+ - run: pip install --break-system-packages fastapi pydantic
- run: python --version
- run: mypy --version
# one day this will be enabled
# run: mypy --strict --module archinstall || exit 0
- name: run mypy
- run: mypy --follow-imports=silent archinstall/lib/menu/abstract_menu.py archinstall/lib/menu/global_menu.py
- archinstall/lib/models/network_configuration.py archinstall/lib/menu/list_manager.py archinstall/lib/user_interaction/network_conf.py archinstall/lib/models/users.py
- archinstall/lib/disk/blockdevice.py archinstall/lib/user_interaction/subvolume_config.py archinstall/lib/disk/btrfs/btrfs_helpers.py
- archinstall/lib/translationhandler.py archinstall/lib/disk/diskinfo.py archinstall/lib/menu/table_selection_menu.py archinstall/lib/hsm
- archinstall/lib/disk/encryption.py archinstall/lib/models/disk_encryption.py
+ run: mypy --config-file pyproject.toml