File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,6 @@ name: ruff linting
33jobs :
44 ruff :
55 runs-on : ubuntu-latest
6- container :
7- image : archlinux/archlinux:latest
86 steps :
97 - uses : actions/checkout@v4
10- - name : Prepare arch
11- run : |
12- pacman-key --init
13- pacman --noconfirm -Sy archlinux-keyring
14- pacman --noconfirm -Syyu
15- pacman --noconfirm -Sy python-pip python-pyparted pkgconfig gcc
16- - run : pip install --break-system-packages --upgrade pip
17- - name : Install ruff
18- run : pip install --break-system-packages .[dev]
19- - run : python --version
20- - run : ruff --version
21- - name : Lint with ruff
22- run : ruff check
8+ - uses : astral-sh/ruff-action@v3
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ Home = "https://archlinux.org"
2727Documentation = " https://archinstall.readthedocs.io/"
2828Source = " https://github.com/archlinux/archinstall"
2929
30+ [dependency-groups ]
31+ dev = [
32+ " ruff==0.8.5" ,
33+ ]
34+
3035[project .optional-dependencies ]
3136log = [" systemd_python==235" ]
3237dev = [
You can’t perform that action at this time.
0 commit comments