Skip to content

Commit

Permalink
Update unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Aug 8, 2024
1 parent 69e63ca commit 1b2d8d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions plugins/hetzner/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# fix-plugin-hetzner

Hetzner Collector Plugin for Fix

## License

See [LICENSE](../../LICENSE) for details.
3 changes: 1 addition & 2 deletions plugins/hetzner/fix_plugin_hetzner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from fixlib.args import ArgumentParser
from fixlib.config import Config
from fixlib.core.actions import CoreFeedback
from fixlib.graph import Graph, MaxNodesExceeded
from fixlib.graph import MaxNodesExceeded
from fixlib.baseresources import Cloud
from fixlib.logger import log
from typing import Any, Optional
Expand Down Expand Up @@ -61,4 +61,3 @@ def add_config(config: Config) -> None:
Can be used to introduce plugin config arguments to the global config store.
"""
config.add_config(HetznerConfig)
pass
6 changes: 1 addition & 5 deletions plugins/hetzner/fix_plugin_hetzner/resources.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from attrs import define, field

Check warning on line 1 in plugins/hetzner/fix_plugin_hetzner/resources.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

plugins/hetzner/fix_plugin_hetzner/resources.py#L1

Unused field imported from attrs
from typing import ClassVar, List, Optional, Dict
from datetime import datetime
from typing import ClassVar, Optional
from fixlib.graph import Graph
from fixlib.logger import log
from fixlib.baseresources import (
BaseAccount,
BaseRegion,
Expand All @@ -11,8 +9,6 @@
BaseNetwork,
BaseResource,
BaseVolume,
InstanceStatus,
VolumeStatus,
)


Expand Down

0 comments on commit 1b2d8d3

Please sign in to comment.