Skip to content

Commit 878d6cc

Browse files
authored
[confcom] Make lib a module (#9418)
* [confcom] Make lib a module * Fix style issues * Bump version
1 parent 2d3b398 commit 878d6cc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/confcom/azext_confcom/lib/__init__.py

Whitespace-only changes.

src/confcom/azext_confcom/lib/policy.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# Licensed under the MIT License. See License.txt in the project root for license information.
44
# --------------------------------------------------------------------------------------------
55

6-
from dataclasses import dataclass, field, is_dataclass
7-
import inspect
8-
import sys
6+
from dataclasses import dataclass, field
97
from typing import Literal, Optional
108

119

@@ -75,6 +73,7 @@ class FragmentReference:
7573
path: Optional[str] = None
7674

7775

76+
# pylint: disable=too-many-instance-attributes
7877
@dataclass
7978
class Container:
8079
allow_elevated: bool = False
@@ -94,6 +93,7 @@ class Container:
9493
working_dir: str = "/"
9594

9695

96+
# pylint: disable=too-many-instance-attributes
9797
@dataclass
9898
class Policy:
9999
package: str = "policy"

src/confcom/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
logger.warn("Wheel is not available, disabling bdist_wheel hook")
2121

22-
VERSION = "1.4.0"
22+
VERSION = "1.4.1"
2323

2424
# The full list of classifiers is available at
2525
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

0 commit comments

Comments
 (0)