From b7d063c9344f5a4c5ec5efdaa22c1ddeb110b672 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 28 Nov 2023 13:07:38 +0200 Subject: [PATCH] Use ruff-format for formatting --- .pre-commit-config.yaml | 5 +---- pyproject.toml | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 845199c..ec56193 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,10 +6,6 @@ repos: args: [--markdown-linebreak-ext=md] - id: end-of-file-fixer - id: debug-statements - - repo: https://github.com/psf/black - rev: "23.11.0" - hooks: - - id: black - repo: https://github.com/pre-commit/mirrors-mypy rev: 'v1.7.1' hooks: @@ -19,6 +15,7 @@ repos: hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] + - id: ruff-format - repo: https://github.com/netromdk/vermin rev: v1.6.0 hooks: diff --git a/pyproject.toml b/pyproject.toml index d3130f8..3eaa7ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,9 +5,6 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"] write_to = "barcode/version.py" version_scheme = "post-release" -[tool.black] -target-version = ['py38'] - [tool.ruff] select = [ "F",