Skip to content

Commit cdd98a2

Browse files
committed
drop black in favor of ruff format
1 parent 958aa15 commit cdd98a2

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ repos:
33
rev: 1.25.0
44
hooks:
55
- id: django-upgrade
6-
7-
- repo: https://github.com/psf/black
8-
rev: 25.1.0
9-
hooks:
10-
- id: black
6+
args: [--target-version, "5.2"]
117

128
- repo: https://github.com/astral-sh/ruff-pre-commit
139
rev: v0.12.4
1410
hooks:
15-
- id: ruff
11+
- id: ruff-check
12+
- id: ruff-format
13+

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ cryptography = [
3232

3333
[tool.uv]
3434
dev-dependencies = [
35-
"black>=24.10.0",
3635
"async-timeout>=5.0.1",
3736
"coverage>=7.6.2",
3837
"pre-commit>=4.2.0",

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ deps =
2020
[testenv:qa]
2121
skip_install=true
2222
deps =
23-
black
2423
ruff
2524
commands =
2625
ruff check channels_valkey tests
27-
black --check channels_valkey tests
26+
ruff format channels_valkey tests

0 commit comments

Comments
 (0)