Skip to content

Commit 72c56bd

Browse files
committed
Fix azdev style
1 parent 8a9a694 commit 72c56bd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/confcom/azext_confcom/cose_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
POLICY_FIELD_CONTAINERS_ELEMENTS_REGO_FRAGMENTS_MINIMUM_SVN,
1919
REGO_CONTAINER_START, REGO_FRAGMENT_START)
2020
from azext_confcom.errors import eprint
21+
from azext_confcom.lib.paths import get_binaries_dir
2122
from knack.log import get_logger
2223

23-
from azext_confcom.lib.paths import get_binaries_dir
2424

2525
logger = get_logger(__name__)
2626
host_os = platform.system()

src/confcom/azext_confcom/kata_proxy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# --------------------------------------------------------------------------------------------
55

66
import os
7-
from pathlib import Path
87
import platform
98
import stat
109
import subprocess
@@ -34,7 +33,7 @@
3433
_kata_data = [
3534
{
3635
"path": _data_dir / "genpolicy-settings.json",
37-
"url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy3/genpolicy-settings.json",
36+
"url": "https://github.com/microsoft/kata-containers/releases/download/3.2.0.azl3.genpolicy3/genpolicy-settings.json", # pylint: disable=line-too-long
3837
},
3938
{
4039
"path": _data_dir / "rules.rego",

src/confcom/azext_confcom/rootfs_proxy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
import requests
1515
from azext_confcom.errors import eprint
16+
from azext_confcom.lib.paths import get_binaries_dir
1617
from knack.log import get_logger
1718

18-
from azext_confcom.lib.paths import get_binaries_dir
1919

2020
host_os = platform.system()
2121
machine = platform.machine()
@@ -49,7 +49,6 @@ def download_binaries():
4949
with open(binary_info["path"], "wb") as f:
5050
f.write(dmverity_vhd_fetch_resp.content)
5151

52-
5352
def __init__(self):
5453
script_directory = os.path.dirname(os.path.realpath(__file__))
5554
DEFAULT_LIB = "./bin/dmverity-vhd"

0 commit comments

Comments
 (0)