Skip to content

Commit d7a8168

Browse files
committed
Replace black by ruff format
1 parent b4f0824 commit d7a8168

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

.github/workflows/test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Upload coverage to Codecov
7373
uses: codecov/codecov-action@v5
7474

75-
lint:
75+
lint: # redundant with pre-commit-ci, but we want to make the linters a part of strict status checks.
7676
runs-on: ubuntu-latest
7777
steps:
7878
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,7 @@ repos:
1818
- id: markdownlint
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
2020
# Ruff version.
21-
rev: 'v0.8.6'
21+
rev: "v0.8.6"
2222
hooks:
2323
- id: ruff
24-
- repo: https://github.com/psf/black
25-
rev: 24.10.0
26-
hooks:
27-
- id: black
28-
args:
29-
- "--line-length"
30-
- "119"
31-
exclude: ^django_fsm_log/migrations|^docs/
32-
- repo: https://github.com/adamchainz/django-upgrade
33-
rev: "1.22.2"
34-
hooks:
35-
- id: django-upgrade
36-
args: [--target-version, "3.2"]
24+
- id: ruff-format

0 commit comments

Comments
 (0)