Skip to content

Commit be4d6de

Browse files
committed
update black to 22.3.0
1 parent 80364f5 commit be4d6de

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/autoblack.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
uses: actions/setup-python@v1
1515
with:
1616
python-version: 3.9
17+
- name: Install click
18+
run: pip install 'click==8.0.4'
1719
- name: Install Black
18-
run: pip install black
20+
run: pip install 'black==22.3.0'
1921
- name: Run black --check .
2022
run: black --check .
2123
- name: If needed, commit black changes to the pull request

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
3+
rev: v4.0.1
44
hooks:
55
- id: check-yaml
66
- id: debug-statements
@@ -9,7 +9,7 @@ repos:
99
- id: check-json
1010
exclude: mathics_scanner/data/characters.json
1111
- repo: https://github.com/psf/black
12-
rev: 21.6b0
12+
rev: 22.3.0
1313
hooks:
1414
- id: black
1515
language_version: python3

0 commit comments

Comments
 (0)