Skip to content

Commit

Permalink
ci: introduce ruff checks
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Sep 23, 2024
1 parent 2b20140 commit 9482502
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ruff-formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#SPDX-FileCopyrightText: 2024 Birger Schacht
#SPDX-License-Identifier: MIT
name: Run ruff formatter

on: [push, pull_request]

jobs:
ruff:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."
options: "format --check"
11 changes: 11 additions & 0 deletions .github/workflows/ruff-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#SPDX-FileCopyrightText: 2024 Birger Schacht
#SPDX-License-Identifier: MIT
name: Run ruff linter

on: [push, pull_request]

jobs:
ruff:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."

0 comments on commit 9482502

Please sign in to comment.