Watch
0
0
Fork
You've already forked hyperhive
0

treefmt covers python with ruff-format and ruff-check, ruff in the dev shell

This commit is contained in:
atlas 2026-11-11 21:49:21 +01:00 • committed by mara
commit f2e735a98f

View file

@ -99,19 +99,6 @@ jobs:
fi
echo "$files" | xargs nix develop -c shellcheck -S warning
ruff-vm-tests:
name: ruff (vm-tests)
if: vars.PUBLIC_FORGE != 'true'
runs-on: ${{ vars.PUBLIC_FORGE == 'true' && 'nixos' || 'hive-ci' }}
steps:
- uses: actions/checkout@v3
- name: lint
# ruff from this flake's nixpkgs pin, as the jq job does. The config in
# nix/vm-tests/ruff.toml names the globals the test driver provides.
run: |
nix shell --inputs-from . nixpkgs#ruff --command sh -c \
'ruff check nix/vm-tests && ruff format --check nix/vm-tests'
prose-lint:
name: prose lint (vale)
if: vars.PUBLIC_FORGE != 'true'