forked from salt-extensions/salt-extension-copier
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace asottile/reorder-python-imports with isort
black >=24 is incompatible with it since it adds a whitespace between an initial docstring and the import section, which reorder-python-imports does not like. This is something that is not likely to be fixed. For reference: asottile/reorder-python-imports#366 psf/black#4175 This substitution causes some reordering since isort separates first-party imports from third-party ones by default. We're still keeping the one line per import format to reduce merge conflicts.
- Loading branch information
Showing
68 changed files
with
116 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ed_package_path }}/{% if 'auth' in loaders %}auth{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt auth module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ckage_path }}/{% if 'beacon' in loaders %}beacons{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt beacon module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
..._package_path }}/{% if 'cache' in loaders %}cache{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt cache module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...package_path }}/{% if 'cloud' in loaders %}clouds{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt cloud module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ckage_path }}/{% if 'engine' in loaders %}engines{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt engine module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...e_path }}/{% if 'executor' in loaders %}executors{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt executor module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...th }}/{% if 'fileserver' in loaders %}fileservers{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt fileserver module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...package_path }}/{% if 'grain' in loaders %}grains{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt grain module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
... }}/{% if 'log_handler' in loaders %}log_handlers{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt log_handler module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...age_path }}/{% if 'matcher' in loaders %}matchers{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt matcher module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
..._path }}/{% if 'metaproxy' in loaders %}metaproxy{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt metaproxy module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ckage_path }}/{% if 'module' in loaders %}modules{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt execution module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ackage_path }}/{% if 'netapi' in loaders %}netapi{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt netapi module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ackage_path }}/{% if 'output' in loaders %}output{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt output module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ackage_path }}/{% if 'pillar' in loaders %}pillar{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt pillar module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
..._package_path }}/{% if 'pkgdb' in loaders %}pkgdb{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt pkgdb module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...age_path }}/{% if 'pkgfile' in loaders %}pkgfiles{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt pkgfile module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
..._package_path }}/{% if 'proxy' in loaders %}proxy{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt proxy module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...package_path }}/{% if 'queue' in loaders %}queues{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt queue module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...e_path }}/{% if 'renderer' in loaders %}renderers{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt renderer module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...e_path }}/{% if 'returner' in loaders %}returners{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt returner module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ackage_path }}/{% if 'roster' in loaders %}roster{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt roster module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ckage_path }}/{% if 'runner' in loaders %}runners{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt runner module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...aced_package_path }}/{% if 'sdb' in loaders %}sdb{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt SDB module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...th }}/{% if 'serializer' in loaders %}serializers{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt serializer module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...package_path }}/{% if 'state' in loaders %}states{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt state module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...kage_path }}/{% if 'thorium' in loaders %}thorium{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt thorium module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...package_path }}/{% if 'token' in loaders %}tokens{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt token module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
...ced_package_path }}/{% if 'top' in loaders %}tops{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt top module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
1 change: 1 addition & 0 deletions
1
..._package_path }}/{% if 'wheel' in loaders %}wheel{% endif %}/{{ package_name }}_mod.py.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
""" | ||
Salt wheel module | ||
""" | ||
|
||
import logging | ||
|
||
log = logging.getLogger(__name__) | ||
|
Oops, something went wrong.