Skip to content

Commit ee42c80

Browse files
committed
Loosen black constraint to ~=26.0
1 parent ed9cae1 commit ee42c80

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/black.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
- uses: psf/black@stable
1212
with:
1313
options: "--check --diff --verbose"
14-
version: "26.3.1"
14+
version: "~=26.0"
1515
src: "."

.pre-commit-config.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ repos:
77
- id: trailing-whitespace
88
- id: check-yaml
99
- id: check-added-large-files
10-
- repo: https://github.com/psf/black-pre-commit-mirror
11-
rev: 26.3.1
10+
- repo: local
1211
hooks:
13-
- id: black
12+
- id: black
13+
name: black
14+
entry: black
15+
language: python
16+
additional_dependencies:
17+
- black~=26.0
18+
types: [python]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[tool.black]
22
line-length = 88
3-
required-version = "26.3.1"
3+
required-version = "26"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ codecov
66
twine
77
check-manifest
88
readme_renderer[md]
9-
black==26.3.1
9+
black>=26.0,<27.0
1010
pre-commit

0 commit comments

Comments
 (0)