Skip to content

Commit

Permalink
Version 3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Mar 17, 2021
1 parent 5ac31bf commit e75c807
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## master - CURRENT

## 3.5.4 - 17/03/2021
### Changed
* Support both `tldextract` 2.x and 3.x
* Upgrade third-party dependencies
Expand Down
6 changes: 4 additions & 2 deletions lexicon/providers/powerdns.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def __init__(self, config):

self.api_endpoint = self._get_provider_option("pdns_server")
if not self.api_endpoint:
raise PowerDNSProviderError('PowerDNS API endpoint not defined (pdns_server)')
raise PowerDNSProviderError(
"PowerDNS API endpoint not defined (pdns_server)"
)

self.disable_slave_notify = self._get_provider_option("pdns-disable-notify")

Expand All @@ -74,7 +76,7 @@ def __init__(self, config):

self.api_key = self._get_provider_option("auth_token")
if not self.api_key:
raise PowerDNSProviderError('PowerDNS API key not defined (auth_token)')
raise PowerDNSProviderError("PowerDNS API key not defined (auth_token)")

self._zone_data = None

Expand Down
3 changes: 1 addition & 2 deletions lexicon/tests/providers/test_auto.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"""Integration tests for auto"""
import socket
from unittest import TestCase
from unittest import TestCase, mock

from unittest import mock
import pytest

from lexicon.providers.auto import _get_ns_records_domains_for_domain
Expand Down
2 changes: 1 addition & 1 deletion lexicon/tests/test_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import importlib
import pkgutil
from types import ModuleType

from unittest import mock

import pytest

from lexicon.config import ConfigResolver
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "dns-lexicon"
version = "3.5.3"
version = "3.5.4"
description = "Manipulate DNS records on various DNS providers in a standardized/agnostic way"
license = "MIT"
keywords = [
Expand Down

0 comments on commit e75c807

Please sign in to comment.