Skip to content

Commit 56ec925

Browse files
committed
Install isort (#864)
1 parent 85bc1d4 commit 56ec925

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.isort.cfg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Configuration settings for isort.
2+
[settings]
3+
py_version=38
4+
profile=black
5+
force_sort_within_sections = true
6+
known_first_party = doc,examples,pymodbus",test
7+
forced_separate = doc,examples,pymodbus",test
8+
combine_as_imports = true

requirements-checks.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pyflakes>=1.2.3
55
pylint>=2.13.3
66
codespell>=2.1.0
77
bandit>=1.7.4
8+
isort>=5.10.1

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ ignore_errors = false
3535
commands =
3636
codespell doc examples pymodbus test
3737

38+
[testenv:isort]
39+
deps =
40+
-r requirements-checks.txt
41+
ignore_errors = false
42+
commands =
43+
isort .
44+
3845
[testenv:bandit]
3946
deps =
4047
-r requirements-checks.txt

0 commit comments

Comments
 (0)