isort the whole repo

This commit is contained in:
Franzi 2024-11-08 06:39:59 +01:00
parent e51c24f837
commit 209dedccf9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 8 additions and 8 deletions

View file

@ -2,6 +2,7 @@ from datetime import datetime
from os import listdir
from os.path import isfile, join
from subprocess import check_output
from bundlewrap.utils.ui import io
zone_path = join(repo.path, 'data', 'powerdns', 'files', 'bind-zones')

View file

@ -7,7 +7,6 @@ from subprocess import check_output
from requests import get
UPDATE_URL = '${url}'
USERNAME = '${username}'
PASSWORD = '${password}'

View file

@ -5,7 +5,6 @@ from ipaddress import ip_address
from json import loads
from subprocess import check_output, run
DOMAIN = '${domain}'
# <%text>

View file

@ -2,7 +2,6 @@ import re
from json import load
from os.path import join
with open(join(repo.path, 'configs', 'netbox', f'{node.name}.json')) as f:
netbox = load(f)

View file

@ -1,5 +1,6 @@
import bwpass
def demagify(something, vault):
if isinstance(something, str):
if something.startswith('!bwpass:'):

View file

@ -1,6 +1,7 @@
from bundlewrap.utils.ui import io
from bundlewrap.utils.scm import get_rev
from bundlewrap.utils.text import red, bold
from bundlewrap.utils.text import bold, red
from bundlewrap.utils.ui import io
@node_attribute
def needs_apply(node):