blob: fdb43c4c5dd2689962844ed76053b9dfc84db948 [file] [log] [blame]
[tool.black]
line-length = 100
[tool.poetry]
name = "isort"
version = "5.11.1"
description = "A Python utility / library to sort Python imports."
authors = ["Timothy Crosley <timothy.crosley@gmail.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/pycqa/isort"
homepage = "https://pycqa.github.io/isort/"
documentation = "https://pycqa.github.io/isort/"
keywords = ["Refactor", "Lint", "Imports", "Sort", "Clean"]
classifiers = [
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"Natural Language :: English",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
urls = { Changelog = "https://github.com/pycqa/isort/blob/main/CHANGELOG.md" }
packages = [
{ include = "isort" },
]
include = [
{ path = "tests", format = "sdist" },
{ path = "ACKNOWLEDGEMENTS.md" },
{ path = "CHANGELOG.md" },
{ path = "LICENSE" },
]
[tool.poetry.dependencies]
python = ">=3.7.0"
pipreqs = {version = "*", optional = true}
requirementslib = {version = "*", optional = true}
pip-api = {version = "*", optional = true}
colorama = {version = "^0.4.3", optional = true}
setuptools = {version = "*", optional = true}
[tool.poetry.extras]
pipfile_deprecated_finder = ["pipreqs", "requirementslib", "pip-shims<=0.3.4"]
requirements_deprecated_finder = ["pipreqs", "pip-api"]
colors = ["colorama"]
plugins = ["setuptools"]
[tool.poetry.dev-dependencies]
bandit = "^1.6"
black = ">=22.6.0"
coverage = {version = ">=6.5.0", extras = ["toml"]}
#cruft = { version = "^2.2" }
example-isort-sorting-plugin = ">=0.1.0"
example-shared-isort-profile = ">=0.1.0"
flake8 = "^3.8.4"
flake8-bugbear = "^19.8"
httpx = "^0.13.3"
hypothesmith = "^0.1.3"
#hypothesis-auto = { version = "^1.0.0" }
hypothesis = "^6.10.1"
ipython = "^7.16"
mypy = "^0.902"
pytest = "^6.0"
pytest-mock = "^1.10"
pep8-naming = "^0.8.2"
#portray = { version = ">=1.7.0" }
mkdocs = { version = "1.2.1" }
pipfile = "^0.0.2"
requirementslib = "^1.5"
pipreqs = "^0.4.9"
pip_api = "^0.0.12"
pylama = "^7.7"
pip = "^21.1.1"
pip-shims = "^0.5.2"
py = "^1.11.0"
safety = "^2.2.0"
smmap2 = "^3.0.1"
gitdb2 = "^4.0.2"
libcst = "^0.3.18"
mypy-extensions = "^0.4.3"
toml = "^0.10.2"
pytest-benchmark = "^3.4.1"
types-pkg-resources = "^0.1.2"
pre-commit = "^2.13.0"
types-colorama = "^0.4.2"
types-toml = "^0.1.3"
vulture = "^1.0"
[tool.poetry.scripts]
isort = "isort.main:main"
isort-identify-imports = "isort.main:identify_imports_main"
[tool.poetry.plugins."distutils.commands"]
isort = "isort.setuptools_commands:ISortCommand"
[tool.poetry.plugins."pylama.linter"]
isort = "isort.pylama_isort:Linter"
[tool.portray.mkdocs]
edit_uri = "https://github.com/pycqa/isort/edit/main/"
extra_css = ["art/stylesheets/extra.css"]
[tool.portray.mkdocs.theme]
name = "material"
favicon = "art/logo.png"
logo = "art/logo.png"
palette = {scheme = "isort"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
python_version = 3.7
strict = true
follow_imports = "silent"
exclude = "isort/_vendored|tests/unit/example_projects|tests/unit/example_crlf_file.py"
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
allow_incomplete_defs = true
allow_untyped_calls = true