From a33b75911d6a24952cafe586061f16805941771c Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 11 Jan 2020 17:30:12 +0000 Subject: [PATCH 1/2] Bump pycodestyle from 2.4.0 to 2.5.0 Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/PyCQA/pycodestyle/releases) - [Changelog](https://github.com/PyCQA/pycodestyle/blob/master/CHANGES.txt) - [Commits](https://github.com/PyCQA/pycodestyle/compare/2.4.0...2.5.0) Signed-off-by: dependabot-preview[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index d9888b8..5fb2233 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ coverage mock nose -pycodestyle==2.4.0 +pycodestyle==2.5.0 pyflakes==1.6.0 readme_renderer[md]==24.0 requests_mock From 79cb88ef2566fc7863d3f71ad078bea081c1c04e Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Sat, 11 Jan 2020 09:37:00 -0800 Subject: [PATCH 2/2] Fix pycodestyle overindent warnings w/2.5.0 --- octodns/provider/constellix.py | 4 ++-- octodns/provider/dnsmadeeasy.py | 2 +- tests/test_octodns_provider_azuredns.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/octodns/provider/constellix.py b/octodns/provider/constellix.py index 2ca49e3..0600f80 100644 --- a/octodns/provider/constellix.py +++ b/octodns/provider/constellix.py @@ -429,8 +429,8 @@ class ConstellixProvider(BaseProvider): for record in self.zone_records(zone): if existing.name == record['name'] and \ existing._type == record['type']: - self._client.record_delete(zone.name, record['type'], - record['id']) + self._client.record_delete(zone.name, record['type'], + record['id']) def _apply(self, plan): desired = plan.desired diff --git a/octodns/provider/dnsmadeeasy.py b/octodns/provider/dnsmadeeasy.py index cc10c9a..0bf05a0 100644 --- a/octodns/provider/dnsmadeeasy.py +++ b/octodns/provider/dnsmadeeasy.py @@ -374,7 +374,7 @@ class DnsMadeEasyProvider(BaseProvider): for record in self.zone_records(zone): if existing.name == record['name'] and \ existing._type == record['type']: - self._client.record_delete(zone.name, record['id']) + self._client.record_delete(zone.name, record['id']) def _apply(self, plan): desired = plan.desired diff --git a/tests/test_octodns_provider_azuredns.py b/tests/test_octodns_provider_azuredns.py index 920c502..1769cef 100644 --- a/tests/test_octodns_provider_azuredns.py +++ b/tests/test_octodns_provider_azuredns.py @@ -321,7 +321,7 @@ class Test_ParseAzureType(TestCase): ['AAAA', 'Microsoft.Network/dnszones/AAAA'], ['NS', 'Microsoft.Network/dnszones/NS'], ['MX', 'Microsoft.Network/dnszones/MX']]: - self.assertEquals(expected, _parse_azure_type(test)) + self.assertEquals(expected, _parse_azure_type(test)) class Test_CheckEndswithDot(TestCase):