Skip to content

Commit 3fe4f90

Browse files
committed
Fix linter configuration
The `make fmt` call was producing obscure results due to missing isort configuration. This commit configures isort to work in black compatibility mode and respect magic traling comma, that is enabled in black by default. Also updating black's target python versions list. No-Issue
1 parent 1b7dbbb commit 3fe4f90

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ issue_format = "`AAH-{issue} <https://issues.redhat.com/browse/AAH-{issue}>`_"
99

1010
[tool.black]
1111
line-length = 100
12-
target-version = ["py36", "py37"]
12+
target-version = ["py311"]
1313
exclude = '''
1414
/(
1515
\.eggs
@@ -23,6 +23,12 @@ exclude = '''
2323
'''
2424

2525

26+
[tool.isort]
27+
profile = "black"
28+
line_length = 100
29+
split_on_trailing_comma = true
30+
31+
2632
[tool.darker]
2733
src = [
2834
"galaxy_ng",

0 commit comments

Comments
 (0)