Switch to using ruff for formatting as well as linting

This commit is contained in:
Mike Auty
2026-03-08 20:48:02 +00:00
parent 98e2f7a1f5
commit 013921e787
21 changed files with 67 additions and 82 deletions
-15
View File
@@ -1,15 +0,0 @@
name: Black python formatter
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --diff --verbose"
src: "./volatility3"
# FIXME: Remove when Volatility3 minimum Python version is >3.8
version: "24.8.0"
+3 -1
View File
@@ -4,7 +4,7 @@ name: Ruff
on: [push, pull_request]
jobs:
lint:
lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -13,3 +13,5 @@ jobs:
with:
args: check
src: "."
- run: "ruff format --check --diff"