Skip to content

Commit 46fd681

Browse files
committed
Set version for black
1 parent fc40f5c commit 46fd681

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install black
28+
pip install black==20.8b1
2929
pip install -r requirements-test.txt
3030
- name: Lint with black
31-
run: python -m black --check .
31+
run: python -m black --check . --config=.black.toml
3232
- name: Test with pytest
3333
run: pytest --cov=reusables

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: debug-statements
1111
- id: check-yaml
1212
- repo: https://github.com/ambv/black
13-
rev: stable
13+
rev: 20.8b1
1414
hooks:
1515
- id: black
1616
args: [--config=.black.toml]

0 commit comments

Comments
 (0)