aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-10-16 11:43:49 +0100
committerGravatar GitHub <[email protected]>2021-10-16 11:43:49 +0100
commit7ac8a9f6c7194d1edb5dfe6a9dab8d42d376d564 (patch)
treefc08dc04b6fbb075f7b19f90776590ad589183ee /pyproject.toml
parentMerge pull request #1874 from python-discord/fix-bot-1869 (diff)
parentIsort: set atomic to true (diff)
Merge pull request #1872 from python-discord/experiments/isort
Experiment: add Isort to our toolchain
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml11
1 files changed, 10 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4431a41c5..515514c7b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -38,10 +38,10 @@ flake8 = "~=3.8"
flake8-annotations = "~=2.0"
flake8-bugbear = "~=20.1"
flake8-docstrings = "~=1.4"
-flake8-import-order = "~=0.18"
flake8-string-format = "~=0.2"
flake8-tidy-imports = "~=4.0"
flake8-todo = "~=0.7"
+flake8-isort = "~=4.0"
pep8-naming = "~=0.9"
pre-commit = "~=2.1"
taskipy = "~=1.7.0"
@@ -66,8 +66,17 @@ test = "pytest -n auto --cov-report= --cov --ff"
retest = "pytest -n auto --cov-report= --cov --lf"
html = "coverage html"
report = "coverage report"
+isort = "isort ."
[tool.coverage.run]
branch = true
source_pkgs = ["bot"]
source = ["tests"]
+
+[tool.isort]
+multi_line_output = 6
+order_by_type = false
+case_sensitive = true
+combine_as_imports = true
+line_length = 120
+atomic = true