1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

updated black formatting

This commit is contained in:
Ross McFarland
2023-05-23 10:27:23 -07:00
parent 193d004d65
commit 98f51db028
13 changed files with 0 additions and 13 deletions

View File

@ -475,7 +475,6 @@ class Manager(object):
force=False,
plan_output_fh=stdout,
):
self.log.info(
'sync: eligible_zones=%s, eligible_targets=%s, dry_run=%s, '
'force=%s, plan_output_fh=%s',

View File

@ -78,7 +78,6 @@ class Plan(object):
self.existing
and len(self.existing.records) >= self.MIN_EXISTING_RECORDS
):
existing_record_count = len(self.existing.records)
if existing_record_count > 0:
update_pcent = (

View File

@ -4,7 +4,6 @@
class BaseSource(object):
SUPPORTS_MULTIVALUE_PTR = False
SUPPORTS_POOL_VALUE_STATUS = False
SUPPORTS_ROOT_NS = False

View File

@ -11,7 +11,6 @@ from octodns.zone import Zone
class TestAutoArpa(TestCase):
def test_empty_zone(self):
# empty zone no records
zone = Zone('unit.tests.', [])
aa = AutoArpa('auto-arpa')

View File

@ -10,7 +10,6 @@ from octodns.zone import Zone
class TestRecordIp(TestCase):
def test_ipv4_value_rdata_text(self):
# anything goes, we're a noop
for s in (
None,

View File

@ -68,7 +68,6 @@ class TestRecordMx(TestCase):
a.__repr__()
def test_mx_value_rdata_text(self):
# empty string won't parse
with self.assertRaises(RrParseError):
MxValue.parse_rdata_text('')

View File

@ -63,7 +63,6 @@ class TestRecordPtr(TestCase):
)
def test_ptr_rdata_text(self):
# anything goes, we're a noop
for s in (
None,

View File

@ -81,7 +81,6 @@ class TestRecordSrv(TestCase):
a.__repr__()
def test_srv_value_rdata_text(self):
# empty string won't parse
with self.assertRaises(RrParseError):
SrvValue.parse_rdata_text('')

View File

@ -85,7 +85,6 @@ class TestRecordSshfp(TestCase):
a.__repr__()
def test_sshfp_value_rdata_text(self):
# empty string won't parse
with self.assertRaises(RrParseError):
SshfpValue.parse_rdata_text('')

View File

@ -11,7 +11,6 @@ from octodns.zone import Zone
class TestRecordTarget(TestCase):
def test_target_rdata_text(self):
# anything goes, we're a noop
for s in (
None,

View File

@ -118,7 +118,6 @@ class TestRecordTlsa(TestCase):
a.__repr__()
def test_tsla_value_rdata_text(self):
# empty string won't parse
with self.assertRaises(RrParseError):
TlsaValue.parse_rdata_text('')

View File

@ -150,7 +150,6 @@ class TestTinyDnsFileSource(TestCase):
self.assertEqual([], changes)
def test_populate_in_addr_arpa(self):
got = Zone('3.2.10.in-addr.arpa.', [])
self.source.populate(got)

View File

@ -192,7 +192,6 @@ class TestZone(TestCase):
self.assertTrue('whitespace not allowed' in str(ctx.exception))
def test_sub_zones(self):
# NS for exactly the sub is allowed
zone = Zone('unit.tests.', set(['sub', 'barred']))
record = Record.new(