Skip to content

Commit

Permalink
upgrade pydocstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
infothrill committed Dec 10, 2019
1 parent 6040cb4 commit 8da83c0
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dyndnsc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DynDnsClient(object):

def __init__(self, updater=None, detector=None, plugins=None, detect_interval=300):
"""
Initializer.
Initialize.
:param detect_interval: amount of time in seconds that can elapse between checks
"""
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class IPDetector_Command(IPDetector):

def __init__(self, command="", *args, **kwargs):
"""
Initializer.
Initialize.
:param command: string shell command that writes IP address to STDOUT
"""
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/dns.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class IPDetector_DNS(IPDetector):

def __init__(self, hostname=None, family=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param hostname: host name to query from DNS
:param family: IP address family (default: '' (ANY), also possible: 'INET', 'INET6')
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/dnswanip.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class IPDetector_DnsWanIp(IPDetector):

def __init__(self, family=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param family: IP address family (default: '' (ANY), also possible: 'INET', 'INET6')
"""
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class IPDetector_Iface(IPDetector):

def __init__(self, iface=None, netmask=None, family=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param iface: name of interface
:param family: IP address family (default: INET, possible: INET6)
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/null.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class IPDetector_Null(IPDetector):

def __init__(self, family=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param family: IP address family (default: '' (ANY), also possible: 'INET', 'INET6')
"""
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/socket_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class IPDetector_Socket(IPDetector):

def __init__(self, family=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param family: IP address family (default: INET, possible: INET6)
"""
Expand Down
2 changes: 1 addition & 1 deletion dyndnsc/detector/teredo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class IPDetector_Teredo(IPDetector_Iface):
configuration_key = "teredo"

def __init__(self, iface="tun0", netmask="2001:0000::/32", *args, **kwargs):
"""Initializer."""
"""Initialize."""
super(IPDetector_Teredo, self).__init__(*args, **kwargs)

self.opts_iface = iface
Expand Down
8 changes: 4 additions & 4 deletions dyndnsc/detector/webcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class IPDetectorWebCheckBase(IPDetector):

def __init__(self, url=None, parser=None, *args, **kwargs):
"""
Initializer.
Initialize.
:param url: URL to fetch and parse for IP detection
:param parser: parser to use for above URL
Expand Down Expand Up @@ -142,7 +142,7 @@ class IPDetectorWebCheck(IPDetectorWebCheckBase):
)

def __init__(self, *args, **kwargs):
"""Initializer."""
"""Initialize."""
super(IPDetectorWebCheck, self).__init__(*args, **kwargs)

self.opts_family = AF_INET
Expand All @@ -167,7 +167,7 @@ class IPDetectorWebCheck6(IPDetectorWebCheckBase):
)

def __init__(self, *args, **kwargs):
"""Initializer."""
"""Initialize."""
super(IPDetectorWebCheck6, self).__init__(*args, **kwargs)

self.opts_family = AF_INET6
Expand Down Expand Up @@ -206,7 +206,7 @@ class IPDetectorWebCheck46(IPDetectorWebCheckBase):
)

def __init__(self, *args, **kwargs):
"""Initializer."""
"""Initialize."""
super(IPDetectorWebCheck46, self).__init__(*args, **kwargs)

self.opts_family = AF_UNSPEC
2 changes: 1 addition & 1 deletion requirements-style.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
flake8>=3.7.5
pydocstyle==4.0.1
pydocstyle==5.0.1
flake8-bandit>=1.0.1
flake8-bugbear>=17.12.0
flake8-comprehensions>=1.4.1
Expand Down

0 comments on commit 8da83c0

Please sign in to comment.