From 907f3ad238bc93e4ddec25ed4f83e7cd1d897f8d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 17 Feb 2023 15:43:02 +0100 Subject: [PATCH] Add pyproject-fmt --- .pre-commit-config.yaml | 4 ++++ pyproject.toml | 1 + 2 files changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69c88aa..5eb4c61 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -63,6 +63,10 @@ repos: additional_dependencies: - eslint@8.32.0 - eslint-config-prettier@8.5.0 + - repo: https://github.com/tox-dev/pyproject-fmt + rev: 0.9.1 + hooks: + - id: pyproject-fmt - repo: https://github.com/jazzband/pip-tools rev: 6.12.2 hooks: diff --git a/pyproject.toml b/pyproject.toml index 0bbc00d..7c3b359 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ python_files = [ ############################################################################### # ruff ############################################################################### + [tool.ruff] src = ["src"] target-version = "py311"