Skip to content

Commit 164e2db

Browse files
hcymerysabaczek
authored andcommitted
fix: Update code standard in repo
Signed-off-by: Hubert Cymerys <[email protected]>
1 parent 3f2437d commit 164e2db

23 files changed

+31
-71
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,7 @@ dmypy.json
233233
.prof
234234

235235
# End of https://www.toptal.com/developers/gitignore/api/pycharm+all,python
236-
ruff.toml
236+
ruff.toml
237+
.pre-commit-config.yaml
238+
Scripts/
239+
pyvenv.cfg

.pre-commit-config.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

configure.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

mfd_hyperv/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""Module for Hyperv."""
4+
45
from .base import HyperV

mfd_hyperv/attributes/vm_network_interface_attributes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""VMNetworkInterfaceAttributes class."""
4+
45
from enum import Enum
56

67

mfd_hyperv/attributes/vm_params.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""VMParams class."""
4+
45
from dataclasses import dataclass, fields
56
from typing import Optional, Union
67

mfd_hyperv/attributes/vm_processor_attributes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""VMProcessorAttributes class."""
4+
45
from enum import Enum
56

67

mfd_hyperv/attributes/vswitchattributes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""VSwitchAttributes class."""
4+
45
from enum import Enum
56

67

mfd_hyperv/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""Module for exceptions."""
4+
45
import subprocess
56

67

mfd_hyperv/helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: MIT
33
"""Module for helper functions."""
4+
45
from typing import Union
56

67

0 commit comments

Comments
 (0)