Skip to content

Commit 997d360

Browse files
authored
[ci] Add ruff workflow (fjosw#250)
* [ci] Add ruff workflow * [ci] Add src for ruff workflow * [ci] Rename ruff worklow * [ci] Adjust on for ruff workflow
1 parent 3eac921 commit 997d360

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/ruff.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: ruff
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- develop
7+
pull_request:
8+
jobs:
9+
ruff:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: astral-sh/ruff-action@v2
14+
with:
15+
src: "./pyerrors"

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[build-system]
22
requires = ["setuptools >= 63.0.0", "wheel"]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.ruff.lint]
6+
ignore = ["F403"]

0 commit comments

Comments
 (0)