mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
[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:
parent
3eac9214b4
commit
997d360db3
2 changed files with 18 additions and 0 deletions
15
.github/workflows/ruff.yml
vendored
Normal file
15
.github/workflows/ruff.yml
vendored
Normal 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"
|
|
@ -1,3 +1,6 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools >= 63.0.0", "wheel"]
|
requires = ["setuptools >= 63.0.0", "wheel"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
|
ignore = ["F403"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue