From b81bd49e73f888ac510d05c12204ac87120e189a Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 6 Aug 2021 15:41:41 +0200 Subject: [PATCH] Update config --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 541717a..8a87b3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,12 +22,12 @@ repos: args: - --markdown-linebreak-ext=md - repo: https://github.com/timothycrosley/isort - rev: 5.9.2 + rev: 5.9.3 hooks: - id: isort types: [python] - repo: https://github.com/psf/black - rev: 21.6b0 + rev: 21.7b0 hooks: - id: black types: [python] diff --git a/pyproject.toml b/pyproject.toml index 9428b6c..a885e39 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,3 +14,9 @@ pre-commit = "^2.13.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + +[tool.black] +target-version = ['py39'] + +[tool.isort] +profile = "black"