1[tool.black] 2line-length = 100 3 4[tool.poetry] 5name = "isort" 6version = "5.10.1" 7description = "A Python utility / library to sort Python imports." 8authors = ["Timothy Crosley <timothy.crosley@gmail.com>"] 9license = "MIT" 10readme = "README.md" 11repository = "https://github.com/pycqa/isort" 12homepage = "https://pycqa.github.io/isort/" 13documentation = "https://pycqa.github.io/isort/" 14keywords = ["Refactor", "Lint", "Imports", "Sort", "Clean"] 15classifiers = [ 16 "Development Status :: 6 - Mature", 17 "Intended Audience :: Developers", 18 "Natural Language :: English", 19 "Environment :: Console", 20 "License :: OSI Approved :: MIT License", 21 "Programming Language :: Python", 22 "Programming Language :: Python :: 3", 23 "Programming Language :: Python :: 3.6", 24 "Programming Language :: Python :: 3.7", 25 "Programming Language :: Python :: 3.8", 26 "Programming Language :: Python :: 3.9", 27 "Programming Language :: Python :: 3.10", 28 "Programming Language :: Python :: 3 :: Only", 29 "Programming Language :: Python :: Implementation :: CPython", 30 "Programming Language :: Python :: Implementation :: PyPy", 31 "Topic :: Software Development :: Libraries", 32 "Topic :: Utilities", 33] 34urls = { Changelog = "https://github.com/pycqa/isort/blob/main/CHANGELOG.md" } 35packages = [ 36 { include = "isort" }, 37] 38include = [ 39 { path = "tests", format = "sdist" }, 40] 41 42[tool.poetry.dependencies] 43python = ">=3.6.1,<4.0" 44pipreqs = {version = "*", optional = true} 45requirementslib = {version = "*", optional = true} 46pip-api = {version = "*", optional = true} 47colorama = {version = "^0.4.3", optional = true} 48setuptools = {version = "*", optional = true} 49 50[tool.poetry.extras] 51pipfile_deprecated_finder = ["pipreqs", "requirementslib", "pip-shims<=0.3.4"] 52requirements_deprecated_finder = ["pipreqs", "pip-api"] 53colors = ["colorama"] 54plugins = ["setuptools"] 55 56[tool.poetry.dev-dependencies] 57vulture = "^1.0" 58bandit = "^1.6" 59safety = "^1.8" 60flake8-bugbear = "^19.8" 61black = {version = "^20.08b1", allow-prereleases = true} 62coverage = {version = "^6.0b1", allow-prereleases = true} 63mypy = "^0.902" 64ipython = "^7.7" 65pytest = "^6.0" 66pytest-cov = "^2.7" 67pytest-mock = "^1.10" 68pep8-naming = "^0.8.2" 69hypothesis-auto = { version = "^1.0.0" } 70hypothesmith = "^0.1.3" 71examples = { version = "^1.0.0" } 72cruft = { version = "^2.2" } 73portray = { version = "^1.6.0" } 74mkdocs = { version = "^1.2.3" } 75pipfile = "^0.0.2" 76requirementslib = "^1.5" 77pipreqs = "^0.4.9" 78pip_api = "^0.0.12" 79pylama = "^7.7" 80pip = "^21.1.1" 81pip-shims = "^0.5.2" 82smmap2 = "^3.0.1" 83gitdb2 = "^4.0.2" 84httpx = "^0.13.3" 85example_shared_isort_profile = "^0.0.1" 86example_isort_formatting_plugin = "^0.0.2" 87example_isort_sorting_plugin = "^0.0.2" 88flake8 = "^3.8.4" 89hypothesis = "^6.10.1" 90libcst = "^0.3.18" 91mypy-extensions = "^0.4.3" 92py = "^1.10.0" 93toml = "^0.10.2" 94pytest-benchmark = "^3.4.1" 95types-pkg-resources = "^0.1.2" 96pre-commit = "^2.13.0" 97types-colorama = "^0.4.2" 98types-toml = "^0.1.3" 99 100[tool.poetry.scripts] 101isort = "isort.main:main" 102isort-identify-imports = "isort.main:identify_imports_main" 103 104[tool.poetry.plugins."distutils.commands"] 105isort = "isort.setuptools_commands:ISortCommand" 106 107[tool.poetry.plugins."pylama.linter"] 108isort = "isort.pylama_isort:Linter" 109 110[tool.portray.mkdocs] 111edit_uri = "https://github.com/pycqa/isort/edit/main/" 112extra_css = ["art/stylesheets/extra.css"] 113 114[tool.portray.mkdocs.theme] 115name = "material" 116favicon = "art/logo.png" 117logo = "art/logo.png" 118palette = {scheme = "isort"} 119 120[build-system] 121requires = ["poetry-core>=1.0.0"] 122build-backend = "poetry.core.masonry.api" 123 124[tool.mypy] 125python_version = 3.6 126strict = true 127follow_imports = "silent" 128exclude = "isort/_vendored|tests/unit/example_projects|tests/unit/example_crlf_file.py" 129 130[[tool.mypy.overrides]] 131module = "tests.*" 132allow_untyped_defs = true 133allow_incomplete_defs = true 134allow_untyped_calls = true 135