Replace reorder-python-imports with isort

See here for indept explanation: https://github.com/psf/black/issues/4175
See here (and related) for the attitude: https://github.com/asottile/reorder-python-imports/issues/366
This commit is contained in:
2024-08-16 14:26:51 -04:00
parent df343396a4
commit 13cfb8616c
3 changed files with 11 additions and 44 deletions

View File

@@ -46,6 +46,7 @@ bandit = {version = "^1.7.7", python = "^3.10"}
black = {version = "^24.3.0", python = "^3.10"}
blacken-docs = {version = "^1.8.0", python = "^3.10"}
ipython = {version = "^8.10.1", python = "^3.10"}
isort = {version = "^5.13.2", python = "^3.10"}
mdformat = {version = "^0.7", python = "^3.10"}
mdformat-gfm = {version = "^0.3", python = "^3.10"}
mypy = {version = "^0.930", python = "^3.10"}
@@ -54,11 +55,15 @@ pre-commit-hooks = {version = "^3.3.0", python = "^3.10"}
pylint = {version = "^2.13.0", python = "^3.10"}
pytest = {version = "^6.0.2", python = "^3.10"}
pytest-cov = {version = "^2.10.1", python = "^3.10"}
reorder-python-imports = {version = "^2.3.5", python = "^3.10"}
toml = {version = "^0.10.1", python = "^3.10"}
tox = "^4.1"
types-toml = {version = "^0.10.1", python = "^3.10"}
[tool.isort]
profile = "black"
force_single_line = "true"
lines_after_imports = 2
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"