mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 16:47:34 -06:00

* Resolve F541 errors * Resolve F841 errors * Resolve F811 errors * Resolve F901 errors * Resolve E714 errors * Ignore F821 errors for GraphQL mixins * Replace pycodestyle with ruff * Move ignores to ruff.toml
19 lines
408 B
Python
19 lines
408 B
Python
from typing import Annotated, List
|
|
|
|
import strawberry
|
|
|
|
__all__ = (
|
|
'IPAddressesMixin',
|
|
'VLANGroupsMixin',
|
|
)
|
|
|
|
|
|
@strawberry.type
|
|
class IPAddressesMixin:
|
|
ip_addresses: List[Annotated["IPAddressType", strawberry.lazy('ipam.graphql.types')]] # noqa: F821
|
|
|
|
|
|
@strawberry.type
|
|
class VLANGroupsMixin:
|
|
vlan_groups: List[Annotated["VLANGroupType", strawberry.lazy('ipam.graphql.types')]] # noqa: F821
|