Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,6 @@ pre-commit script to check Python code before committing.

[More info here.](https://pycqa.github.io/isort/docs/configuration/git_hook.html)

## Setuptools integration

Upon installation, isort enables a `setuptools` command that checks
Python files declared by your project.

[More info here.](https://pycqa.github.io/isort/docs/configuration/setuptools_integration.html)

## Spread the word

[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://pycqa.github.io/isort/)
Expand Down
27 changes: 0 additions & 27 deletions docs/configuration/setuptools_integration.md

This file was deleted.

63 changes: 0 additions & 63 deletions isort/setuptools_commands.py

This file was deleted.

7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,8 @@ local_scheme = "no-local-version"
isort = "isort.main:main"
isort-identify-imports = "isort.main:identify_imports_main"

[project.entry-points."distutils.commands"]
isort = "isort.setuptools_commands:ISortCommand"

[project.optional-dependencies]
colors = ["colorama"]
plugins = ["setuptools"]

[tool.coverage.paths]
source = [
Expand Down Expand Up @@ -126,13 +122,11 @@ dev = [
"pytest>=8.4.2",
"pytest-benchmark>=5.1.0",
"ruff>=0.13.3",
"setuptools>=75.8.0",
"stdlibs>=2024.10.21.16",
"toml>=0.10.2",
"tox>=4.30.3",
"tox-uv>=1.28.0",
"types-colorama>=0.4.2",
"types-setuptools>=70.0.0.20240523",
"types-toml>=0.1.3",
"uv>=0.8.23",
]
Expand Down Expand Up @@ -200,7 +194,6 @@ lint.mccabe.max-complexity = 91 # Default is 10
"isort/hooks.py" = [ "S603" ]
"isort/output.py" = [ "PLC0206" ]
"isort/settings.py" = [ "PLC0414", "S603", "S607" ]
"isort/setuptools_commands.py" = [ "RUF012" ]
"tests/*" = [ "RUF001", "S" ]
"tests/unit/example_crlf_file.py" = [ "F401" ]

Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_importable.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def test_importable():
import isort.profiles
import isort.sections
import isort.settings
import isort.setuptools_commands
import isort.sorting
import isort.stdlibs
import isort.stdlibs.all
Expand Down
32 changes: 0 additions & 32 deletions tests/unit/test_setuptools_command.py

This file was deleted.

32 changes: 2 additions & 30 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.