1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Remove a bunch of unnecessary pylint disabling (#4079)

This commit is contained in:
Jesse Hills
2022-11-24 11:09:19 +13:00
committed by GitHub
parent 81b4078871
commit b184b01600
16 changed files with 24 additions and 54 deletions

View File

@@ -443,7 +443,7 @@ class Library:
return NotImplemented
# pylint: disable=too-many-instance-attributes,too-many-public-methods
# pylint: disable=too-many-public-methods
class EsphomeCore:
def __init__(self):
# True if command is run from dashboard
@@ -553,7 +553,6 @@ class EsphomeCore:
return os.path.basename(self.config_path)
def relative_config_path(self, *path):
# pylint: disable=no-value-for-parameter
path_ = os.path.expanduser(os.path.join(*path))
return os.path.join(self.config_dir, path_)
@@ -561,7 +560,6 @@ class EsphomeCore:
return self.relative_config_path(".esphome", *path)
def relative_build_path(self, *path):
# pylint: disable=no-value-for-parameter
path_ = os.path.expanduser(os.path.join(*path))
return os.path.join(self.build_path, path_)