Skip to content

Commit 29cb240

Browse files
committed
chore(ruff): enable isort, apply autofixes
1 parent 9565536 commit 29cb240

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tool.ruff]
22
line-length = 79
33
target-version = "py37"
4-
lint.select = ["E", "F", "B"]
4+
lint.select = ["E", "F", "B", "I"]
55
lint.ignore = [
66
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
77
# (keep order of ignores here same as ^there for maintainability)

Diff for: test/t/test_java.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pytest
22

3-
from conftest import is_bash_type, assert_bash_exec, bash_env_saved
3+
from conftest import assert_bash_exec, bash_env_saved, is_bash_type
44

55

66
@pytest.mark.bashcomp(

Diff for: test/t/unit/test_unit_compgen.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import pytest
21
import re
32

4-
from conftest import assert_bash_exec, bash_env_saved, assert_complete
3+
import pytest
4+
5+
from conftest import assert_bash_exec, assert_complete, bash_env_saved
56

67

78
@pytest.mark.bashcomp(cmd=None)

Diff for: test/t/unit/test_unit_load.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import pytest
21
import os
32

3+
import pytest
4+
45
from conftest import assert_bash_exec, bash_env_saved, prepare_fixture_dir
56

67

0 commit comments

Comments
 (0)