Skip to content

Commit cc9fcd1

Browse files
dwozclaude
andcommitted
Fix isort import formatting
- Add blank line separator in lazy.py imports - Move stdlib imports before Salt imports in test_dunder.py 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ce935af commit cc9fcd1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

salt/loader/lazy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import salt.utils.event
3030
import salt.utils.files
3131
import salt.utils.lazy
32+
3233
# Lazy import: salt.utils.optsdict imported only when creating loaders
3334
import salt.utils.platform
3435
import salt.utils.stringutils

tests/pytests/functional/loader/test_dunder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
from collections.abc import MutableMapping
2+
13
import salt.loader.context
24
import salt.loader.lazy
35
import salt.utils.files
46
import tests.support.helpers
5-
from collections.abc import MutableMapping
67

78

89
def test_opts_dunder_opts_without_import(tmp_path):

0 commit comments

Comments
 (0)