Update pre-commit hook astral-sh/ruff-pre-commit to v0.6.3 (#2661) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push, pull_request ] | |
name: flake8 linting (6 ignores) | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux/archlinux:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare arch | |
run: | | |
pacman-key --init | |
pacman --noconfirm -Sy archlinux-keyring | |
pacman --noconfirm -Syyu | |
pacman --noconfirm -Sy python-pip python-pyparted python-simple-term-menu pkgconfig gcc | |
- run: pip install --break-system-packages --upgrade pip | |
# this will install the exact version of mypy that is in the pyproject.toml file | |
- name: Install archinstall dependencies | |
run: pip install --break-system-packages .[dev] | |
- run: python --version | |
- run: flake8 --version | |
- name: Lint with flake8 | |
run: flake8 |