Skip to content

Commit 1fed193

Browse files
authored
chore(ci): move black config to pyproject.toml (#93)
* chore(ci): move black config to pyproject.toml * chore(deps): update target version
1 parent 9f22793 commit 1fed193

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ repos:
1414
rev: 22.10.0
1515
hooks:
1616
- id: black
17-
args: ["--target-version", "py37"]
1817
- repo: https://github.com/PyCQA/flake8
1918
rev: 6.0.0
2019
hooks:

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ build-backend = "poetry.core.masonry.api"
6565

6666
[tool.isort]
6767
profile = "black"
68-
py_version = 37
68+
py_version = 38
69+
70+
[tool.black]
71+
target-version = ["py38"]
6972

7073
[tool.poetry.plugins]
7174
[tool.poetry.plugins."console_scripts"]

0 commit comments

Comments
 (0)