From c8b8c1eed352fc48cfe9e7052094857249525176 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 26 Oct 2023 22:35:03 -0400 Subject: [PATCH] Use ruff format (#1265) --- pyproject.toml | 4 ---- tox.ini | 5 ++--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 168848b26..1400fd5b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,3 @@ -[tool.black] -line-length = 79 -target-version = ["py37"] - [tool.ruff] select = ['E', 'F', 'I', 'W', 'UP', 'RUF'] line-length = 79 diff --git a/tox.ini b/tox.ini index bb923fb6e..a53004034 100644 --- a/tox.ini +++ b/tox.ini @@ -44,12 +44,11 @@ commands = [testenv:lint] basepython = python3 deps = - black - ruff==0.0.284 + ruff skip_install = true commands = - black --check . ruff . + ruff format --check . [testenv:py311-mypy] deps =