Skip to content

Commit 6f90896

Browse files
committed
Bump version: 0.39.0 → 0.39.1
1 parent cad3963 commit 6f90896

2 files changed

Lines changed: 154 additions & 154 deletions

File tree

setup.cfg

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
[bumpversion]
2-
current_version = 0.39.0
3-
commit = True
4-
tag = True
5-
tag_name = {new_version}
6-
7-
[bumpversion:file:zeroconf/__init__.py]
8-
search = __version__ = '{current_version}'
9-
replace = __version__ = '{new_version}'
10-
11-
[tool:pytest]
12-
testpaths = tests
13-
14-
[flake8]
15-
show-source = 1
16-
application-import-names = zeroconf
17-
max-line-length = 110
18-
ignore = E203,W503,N818
19-
20-
[mypy]
21-
ignore_missing_imports = true
22-
follow_imports = skip
23-
check_untyped_defs = true
24-
no_implicit_optional = true
25-
warn_incomplete_stub = true
26-
warn_no_return = true
27-
warn_redundant_casts = true
28-
warn_unused_configs = true
29-
warn_unused_ignores = true
30-
warn_return_any = true
31-
disallow_untyped_calls = false
32-
disallow_untyped_defs = true
33-
34-
[mypy-zeroconf.test]
35-
disallow_untyped_defs = false
1+
[bumpversion]
2+
current_version = 0.39.1
3+
commit = True
4+
tag = True
5+
tag_name = {new_version}
6+
7+
[bumpversion:file:zeroconf/__init__.py]
8+
search = __version__ = '{current_version}'
9+
replace = __version__ = '{new_version}'
10+
11+
[tool:pytest]
12+
testpaths = tests
13+
14+
[flake8]
15+
show-source = 1
16+
application-import-names = zeroconf
17+
max-line-length = 110
18+
ignore = E203,W503,N818
19+
20+
[mypy]
21+
ignore_missing_imports = true
22+
follow_imports = skip
23+
check_untyped_defs = true
24+
no_implicit_optional = true
25+
warn_incomplete_stub = true
26+
warn_no_return = true
27+
warn_redundant_casts = true
28+
warn_unused_configs = true
29+
warn_unused_ignores = true
30+
warn_return_any = true
31+
disallow_untyped_calls = false
32+
disallow_untyped_defs = true
33+
34+
[mypy-zeroconf.test]
35+
disallow_untyped_defs = false

zeroconf/__init__.py

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,119 @@
1-
""" Multicast DNS Service Discovery for Python, v0.14-wmcbrine
2-
Copyright 2003 Paul Scott-Murphy, 2014 William McBrine
3-
4-
This module provides a framework for the use of DNS Service Discovery
5-
using IP multicast.
6-
7-
This library is free software; you can redistribute it and/or
8-
modify it under the terms of the GNU Lesser General Public
9-
License as published by the Free Software Foundation; either
10-
version 2.1 of the License, or (at your option) any later version.
11-
12-
This library is distributed in the hope that it will be useful,
13-
but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15-
Lesser General Public License for more details.
16-
17-
You should have received a copy of the GNU Lesser General Public
18-
License along with this library; if not, write to the Free Software
19-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20-
USA
21-
"""
22-
23-
import sys
24-
25-
from ._cache import DNSCache # noqa # import needed for backwards compat
26-
from ._core import Zeroconf
27-
from ._dns import ( # noqa # import needed for backwards compat
28-
DNSAddress,
29-
DNSEntry,
30-
DNSHinfo,
31-
DNSNsec,
32-
DNSPointer,
33-
DNSQuestion,
34-
DNSRecord,
35-
DNSService,
36-
DNSText,
37-
DNSQuestionType,
38-
)
39-
from ._exceptions import (
40-
AbstractMethodException,
41-
BadTypeInNameException,
42-
Error,
43-
EventLoopBlocked,
44-
IncomingDecodeError,
45-
NamePartTooLongException,
46-
NonUniqueNameException,
47-
NotRunningException,
48-
ServiceNameAlreadyRegistered,
49-
)
50-
from ._logger import QuietLogger, log # noqa # import needed for backwards compat
51-
from ._protocol.incoming import DNSIncoming # noqa # import needed for backwards compat
52-
from ._protocol.outgoing import DNSOutgoing # noqa # import needed for backwards compat
53-
from ._services import ( # noqa # import needed for backwards compat
54-
Signal,
55-
SignalRegistrationInterface,
56-
ServiceListener,
57-
ServiceStateChange,
58-
)
59-
from ._services.browser import ServiceBrowser
60-
from ._services.info import ( # noqa # import needed for backwards compat
61-
instance_name_from_service_info,
62-
ServiceInfo,
63-
)
64-
from ._services.registry import ServiceRegistry # noqa # import needed for backwards compat
65-
from ._services.types import ZeroconfServiceTypes
66-
from ._updates import RecordUpdate, RecordUpdateListener
67-
from ._utils.name import service_type_name # noqa # import needed for backwards compat
68-
from ._utils.net import ( # noqa # import needed for backwards compat
69-
add_multicast_member,
70-
autodetect_ip_version,
71-
create_sockets,
72-
get_all_addresses_v6,
73-
InterfaceChoice,
74-
InterfacesType,
75-
IPVersion,
76-
get_all_addresses,
77-
)
78-
from ._utils.time import current_time_millis, millis_to_seconds # noqa # import needed for backwards compat
79-
80-
__author__ = 'Paul Scott-Murphy, William McBrine'
81-
__maintainer__ = 'Jakub Stasiak <jakub@stasiak.at>'
82-
__version__ = '0.39.0'
83-
__license__ = 'LGPL'
84-
85-
86-
__all__ = [
87-
"__version__",
88-
"Zeroconf",
89-
"ServiceInfo",
90-
"ServiceBrowser",
91-
"ServiceListener",
92-
"DNSQuestionType",
93-
"InterfaceChoice",
94-
"ServiceStateChange",
95-
"IPVersion",
96-
"ZeroconfServiceTypes",
97-
"RecordUpdate",
98-
"RecordUpdateListener",
99-
"current_time_millis",
100-
# Exceptions
101-
"Error",
102-
"AbstractMethodException",
103-
"BadTypeInNameException",
104-
"EventLoopBlocked",
105-
"IncomingDecodeError",
106-
"NamePartTooLongException",
107-
"NonUniqueNameException",
108-
"NotRunningException",
109-
"ServiceNameAlreadyRegistered",
110-
]
111-
112-
if sys.version_info <= (3, 6): # pragma: no cover
113-
raise ImportError( # pragma: no cover
114-
'''
115-
Python version > 3.6 required for python-zeroconf.
116-
If you need support for Python 2 or Python 3.3-3.4 please use version 19.1
117-
If you need support for Python 3.5 please use version 0.28.0
118-
'''
119-
)
1+
""" Multicast DNS Service Discovery for Python, v0.14-wmcbrine
2+
Copyright 2003 Paul Scott-Murphy, 2014 William McBrine
3+
4+
This module provides a framework for the use of DNS Service Discovery
5+
using IP multicast.
6+
7+
This library is free software; you can redistribute it and/or
8+
modify it under the terms of the GNU Lesser General Public
9+
License as published by the Free Software Foundation; either
10+
version 2.1 of the License, or (at your option) any later version.
11+
12+
This library is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15+
Lesser General Public License for more details.
16+
17+
You should have received a copy of the GNU Lesser General Public
18+
License along with this library; if not, write to the Free Software
19+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20+
USA
21+
"""
22+
23+
import sys
24+
25+
from ._cache import DNSCache # noqa # import needed for backwards compat
26+
from ._core import Zeroconf
27+
from ._dns import ( # noqa # import needed for backwards compat
28+
DNSAddress,
29+
DNSEntry,
30+
DNSHinfo,
31+
DNSNsec,
32+
DNSPointer,
33+
DNSQuestion,
34+
DNSRecord,
35+
DNSService,
36+
DNSText,
37+
DNSQuestionType,
38+
)
39+
from ._exceptions import (
40+
AbstractMethodException,
41+
BadTypeInNameException,
42+
Error,
43+
EventLoopBlocked,
44+
IncomingDecodeError,
45+
NamePartTooLongException,
46+
NonUniqueNameException,
47+
NotRunningException,
48+
ServiceNameAlreadyRegistered,
49+
)
50+
from ._logger import QuietLogger, log # noqa # import needed for backwards compat
51+
from ._protocol.incoming import DNSIncoming # noqa # import needed for backwards compat
52+
from ._protocol.outgoing import DNSOutgoing # noqa # import needed for backwards compat
53+
from ._services import ( # noqa # import needed for backwards compat
54+
Signal,
55+
SignalRegistrationInterface,
56+
ServiceListener,
57+
ServiceStateChange,
58+
)
59+
from ._services.browser import ServiceBrowser
60+
from ._services.info import ( # noqa # import needed for backwards compat
61+
instance_name_from_service_info,
62+
ServiceInfo,
63+
)
64+
from ._services.registry import ServiceRegistry # noqa # import needed for backwards compat
65+
from ._services.types import ZeroconfServiceTypes
66+
from ._updates import RecordUpdate, RecordUpdateListener
67+
from ._utils.name import service_type_name # noqa # import needed for backwards compat
68+
from ._utils.net import ( # noqa # import needed for backwards compat
69+
add_multicast_member,
70+
autodetect_ip_version,
71+
create_sockets,
72+
get_all_addresses_v6,
73+
InterfaceChoice,
74+
InterfacesType,
75+
IPVersion,
76+
get_all_addresses,
77+
)
78+
from ._utils.time import current_time_millis, millis_to_seconds # noqa # import needed for backwards compat
79+
80+
__author__ = 'Paul Scott-Murphy, William McBrine'
81+
__maintainer__ = 'Jakub Stasiak <jakub@stasiak.at>'
82+
__version__ = '0.39.1'
83+
__license__ = 'LGPL'
84+
85+
86+
__all__ = [
87+
"__version__",
88+
"Zeroconf",
89+
"ServiceInfo",
90+
"ServiceBrowser",
91+
"ServiceListener",
92+
"DNSQuestionType",
93+
"InterfaceChoice",
94+
"ServiceStateChange",
95+
"IPVersion",
96+
"ZeroconfServiceTypes",
97+
"RecordUpdate",
98+
"RecordUpdateListener",
99+
"current_time_millis",
100+
# Exceptions
101+
"Error",
102+
"AbstractMethodException",
103+
"BadTypeInNameException",
104+
"EventLoopBlocked",
105+
"IncomingDecodeError",
106+
"NamePartTooLongException",
107+
"NonUniqueNameException",
108+
"NotRunningException",
109+
"ServiceNameAlreadyRegistered",
110+
]
111+
112+
if sys.version_info <= (3, 6): # pragma: no cover
113+
raise ImportError( # pragma: no cover
114+
'''
115+
Python version > 3.6 required for python-zeroconf.
116+
If you need support for Python 2 or Python 3.3-3.4 please use version 19.1
117+
If you need support for Python 3.5 please use version 0.28.0
118+
'''
119+
)

0 commit comments

Comments
 (0)