mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-20 07:16:11 +01:00
Pylint Fixes
Update our version of pylint to use the latest version and update the codebase to comply with the majority of the updates. For now disable the additional checks for `super-with-arguments`, `useless-object-inheritance`, `raise-missing-from`, `no-else-raise`, `no-else-break`, `no-else-continue` to be consistent with the existing codebase.
This commit is contained in:
.travis.yml
extras
wa
commands
framework
utils
workloads
@ -78,8 +78,8 @@ def init(verbosity=logging.INFO, color=True, indent_with=4,
|
||||
_console_handler.setFormatter(formatter(regular_fmt))
|
||||
root_logger.addHandler(_console_handler)
|
||||
|
||||
buffer_capacity = os.getenv('WA_LOG_BUFFER_CAPACITY',
|
||||
DEFAULT_INIT_BUFFER_CAPACITY)
|
||||
buffer_capacity = int(os.getenv('WA_LOG_BUFFER_CAPACITY',
|
||||
str(DEFAULT_INIT_BUFFER_CAPACITY)))
|
||||
_init_handler = InitHandler(buffer_capacity)
|
||||
_init_handler.setLevel(logging.DEBUG)
|
||||
root_logger.addHandler(_init_handler)
|
||||
|
Reference in New Issue
Block a user