Skip to content

Commit 285a5d2

Browse files
[Fixes GeoNode#12458] black fails on python3.10 constructs (GeoNode#12461)
1 parent 1040fd3 commit 285a5d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/flake8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
flake8 geonode --count --statistics
3838
3939
- name: "Check: black"
40-
run: black -t py310 --check geonode
40+
run: black --check geonode

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 120
3-
target-version = ['py37']
3+
target-version = ['py310', 'py311']
44
exclude = '''
55
/(
66
geonode/.*/migrations/.*

0 commit comments

Comments
 (0)