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:
@@ -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_)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user