mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 08:06:30 +00:00
Bump pylint from 2.14.5 to 2.15.2 (#3849)
* Bump pylint from 2.14.5 to 2.15.2 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.14.5 to 2.15.2. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Commits](https://github.com/PyCQA/pylint/compare/v2.14.5...v2.15.2) --- updated-dependencies: - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix unspecified-encoding pylint errors Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
parent
99bc201688
commit
50c277137d
@ -5,7 +5,7 @@ flake8-docstrings==1.6.0
|
||||
flake8==5.0.4
|
||||
pre-commit==2.20.0
|
||||
pydocstyle==6.1.1
|
||||
pylint==2.14.5
|
||||
pylint==2.15.2
|
||||
pytest-aiohttp==1.0.4
|
||||
pytest-asyncio==0.18.3
|
||||
pytest-cov==3.0.0
|
||||
|
@ -78,7 +78,9 @@ class PluginAudio(PluginBase):
|
||||
"""Load Audio setup."""
|
||||
# Initialize Client Template
|
||||
try:
|
||||
self.client_template = jinja2.Template(PULSE_CLIENT_TMPL.read_text())
|
||||
self.client_template = jinja2.Template(
|
||||
PULSE_CLIENT_TMPL.read_text(encoding="utf-8")
|
||||
)
|
||||
except OSError as err:
|
||||
_LOGGER.error("Can't read pulse-client.tmpl: %s", err)
|
||||
|
||||
|
@ -141,11 +141,15 @@ class PluginDns(PluginBase):
|
||||
"""Load DNS setup."""
|
||||
# Initialize CoreDNS Template
|
||||
try:
|
||||
self.resolv_template = jinja2.Template(RESOLV_TMPL.read_text())
|
||||
self.resolv_template = jinja2.Template(
|
||||
RESOLV_TMPL.read_text(encoding="utf-8")
|
||||
)
|
||||
except OSError as err:
|
||||
_LOGGER.error("Can't read resolve.tmpl: %s", err)
|
||||
try:
|
||||
self.hosts_template = jinja2.Template(HOSTS_TMPL.read_text())
|
||||
self.hosts_template = jinja2.Template(
|
||||
HOSTS_TMPL.read_text(encoding="utf-8")
|
||||
)
|
||||
except OSError as err:
|
||||
_LOGGER.error("Can't read hosts.tmpl: %s", err)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user