Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 9d6d427

Browse files
committed
Add isort to the list of linters
1 parent 04b68a9 commit 9d6d427

3 files changed

Lines changed: 23 additions & 1 deletion

File tree

lint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ set -x
22
set -e
33

44
poetry run black --check .
5+
poetry run isort --check .
56
poetry run mypy cli_ui
67
poetry run pyflakes cli_ui/__init__.py cli_ui/tests/test_cli_ui.py
78
poetry run sphinx-build -W docs docs/_build/html

poetry.lock

Lines changed: 18 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[tool.isort]
2+
profile = "black"
3+
14
[tool.poetry]
25
name = "cli-ui"
36
version = "0.11.0"
@@ -29,6 +32,7 @@ coverage = "^5.2"
2932
pytest = "^6.2.1"
3033
pytest-cov = "^2.10"
3134
safety = "^1.9.0"
35+
isort = "^5.7.0"
3236

3337
[build-system]
3438
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)