aboutsummaryrefslogtreecommitdiff
path: root/src/mlia/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/mlia/core')
-rw-r--r--src/mlia/core/common.py8
-rw-r--r--src/mlia/core/helpers.py2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mlia/core/common.py b/src/mlia/core/common.py
index 63fb324..6c9dde1 100644
--- a/src/mlia/core/common.py
+++ b/src/mlia/core/common.py
@@ -29,7 +29,13 @@ class AdviceCategory(Flag):
OPERATORS = auto()
PERFORMANCE = auto()
OPTIMIZATION = auto()
- ALL = OPERATORS | PERFORMANCE | OPTIMIZATION
+ ALL = (
+ # pylint: disable=unsupported-binary-operation
+ OPERATORS
+ | PERFORMANCE
+ | OPTIMIZATION
+ # pylint: enable=unsupported-binary-operation
+ )
@classmethod
def from_string(cls, value: str) -> AdviceCategory:
diff --git a/src/mlia/core/helpers.py b/src/mlia/core/helpers.py
index f0c4474..f4a9df6 100644
--- a/src/mlia/core/helpers.py
+++ b/src/mlia/core/helpers.py
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: Copyright 2022, Arm Limited and/or its affiliates.
# SPDX-License-Identifier: Apache-2.0
"""Module for various helper classes."""
-# pylint: disable=no-self-use, unused-argument
+# pylint: disable=unused-argument
from __future__ import annotations
from typing import Any