[ci] Add ruff workflow (#250)

* [ci] Add ruff workflow

* [ci] Add src for ruff workflow

* [ci] Rename ruff worklow

* [ci] Adjust on for ruff workflow
This commit is contained in:
Fabian Joswig 2024-12-24 17:52:08 +01:00 committed by GitHub
parent 3eac9214b4
commit 997d360db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

15
.github/workflows/ruff.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: ruff
on:
push:
branches:
- master
- develop
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v2
with:
src: "./pyerrors"

View file

@ -1,3 +1,6 @@
[build-system]
requires = ["setuptools >= 63.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.ruff.lint]
ignore = ["F403"]