Skip to content

Commit 663920a

Browse files
authored
Merge pull request #2448 from joao-faria-dev/chore/apply-code-formatting
chore: replace black with ruff in clean.sh
2 parents 3fb0400 + 5cff82a commit 663920a

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

scripts/build_config_option_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#! /bin/env python
22
import dataclasses
33
import os
4+
from collections.abc import Generator, Iterable
45
from textwrap import dedent
56
from typing import Any
6-
from collections.abc import Generator, Iterable
77

88
from isort.main import _build_arg_parser
99
from isort.settings import _DEFAULT_SETTINGS as config

scripts/clean.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ set -euxo pipefail
33

44
uv run isort --profile hug isort/ tests/ scripts/
55
uv run isort --profile hug example_*/
6-
uv run black isort/ tests/ scripts/
7-
uv run black example_*/
6+
uv run ruff format

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependency_groups =
5555
commands =
5656
cruft check
5757
mypy -p isort -p tests
58-
isort --profile hug --check --diff isort/ tests/
58+
isort --profile hug --check --diff isort/ tests/ scripts/
5959
isort --profile hug --check --diff example_isort_formatting_plugin/
6060
isort --profile hug --check --diff example_isort_sorting_plugin/
6161
isort --profile hug --check --diff example_shared_isort_profile/

0 commit comments

Comments
 (0)