Skip to content

Commit

Permalink
ci: drop black and replace with ruff add ruff format github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed May 8, 2024
1 parent 8356425 commit 45c65e7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 73 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/black.yml

This file was deleted.

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: 2023 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: "."
options: "format --check"
63 changes: 2 additions & 61 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ faker = "*"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
black = "22.12"
djlint = "^1.31.1"
ruff = ">=0.2.1,<0.5.0"
deptry = ">=0.12,<0.17"
Expand Down

0 comments on commit 45c65e7

Please sign in to comment.