From 1fed193cb348f8e75bfd7ae2ef22c3845e1de6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Thu, 8 Dec 2022 11:34:20 +0100 Subject: [PATCH] chore(ci): move black config to pyproject.toml (#93) * chore(ci): move black config to pyproject.toml * chore(deps): update target version --- .pre-commit-config.yaml | 1 - pyproject.toml | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e74f67..b255fed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,6 @@ repos: rev: 22.10.0 hooks: - id: black - args: ["--target-version", "py37"] - repo: https://github.com/PyCQA/flake8 rev: 6.0.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index 3c39e79..973c9a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,10 @@ build-backend = "poetry.core.masonry.api" [tool.isort] profile = "black" -py_version = 37 +py_version = 38 + +[tool.black] +target-version = ["py38"] [tool.poetry.plugins] [tool.poetry.plugins."console_scripts"]