Skip to content

Commit eebc4a5

Browse files
committed
fix bandit and pydocstyle
1 parent fcf2274 commit eebc4a5

File tree

1 file changed

+6
-3
lines changed
  • examples/05-nautobot-peeringdb

1 file changed

+6
-3
lines changed

examples/05-nautobot-peeringdb/main.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# Import Adapters
2-
from diffsync.enum import DiffSyncFlags
1+
"""Main.py."""
32

3+
# Import Adapters
44
from adapter_nautobot import NautobotRemote
55
from adapter_peeringdb import PeeringDB
66

7+
from diffsync.enum import DiffSyncFlags
8+
9+
710
# Initialize PeeringDB adapter, using CATNIX id for demonstration
811
peeringdb = PeeringDB(ix_id=62)
912

1013
# Initialize Nautobot adapter, pointing to the demo instance (it's also the default settings)
11-
nautobot = NautobotRemote(url="https://demo.nautobot.com", token="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
14+
nautobot = NautobotRemote(url="https://demo.nautobot.com", token="a" * 40) # nosec
1215

1316
# Load PeeringDB info into the adapter
1417
peeringdb.load()

0 commit comments

Comments
 (0)