Skip to content

Commit

Permalink
Merge pull request #25 from tisnik/fixed-c0413
Browse files Browse the repository at this point in the history
Fixed C0413
  • Loading branch information
tisnik authored Oct 4, 2024
2 parents b2078bf + 90aa46a commit 30aa3fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ols/src/cache/in_memory_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

if TYPE_CHECKING:
from ols.app.models.config import InMemoryCacheConfig
# pylint: disable-next=C0413
from ols.src.cache.cache import Cache


Expand Down
3 changes: 2 additions & 1 deletion ols/user_data_collection/data_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
sys.path.append(pathlib.Path(__file__).parent.parent.parent.as_posix())

# initialize config
from ols import config
from ols import config # pylint: disable=C0413

cfg_file = os.environ.get("OLS_CONFIG_FILE", "olsconfig.yaml")
config.reload_from_yaml_file(
Expand All @@ -35,6 +35,7 @@
udc_config = config.user_data_collector_config # shortcut


# pylint: disable-next=C0413
from ols.utils.auth_dependency import K8sClientSingleton # noqa: E402

INITIAL_WAIT = 60 * 5 # 5 minutes in seconds
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ packages = ["ols"]

[tool.pylint."MESSAGES CONTROL"]
good-names = ["e"]
disable = ["W1203", "C0103", "C0301", "C0302", "C0413", "C0415", "E0602", "E0611", "E1101", "R0801", "R0902", "R0903", "R0913", "R0914", "W0102", "W0201", "W0212", "W0223", "W0511", "W0602", "W0603", "W0613", "W0621", "W0622", "W0707", "W0718", "W0719", "W1514", "E0401", "R0917"]
disable = ["W1203", "C0103", "C0301", "C0302", "C0415", "E0602", "E0611", "E1101", "R0801", "R0902", "R0903", "R0913", "R0914", "W0102", "W0201", "W0212", "W0223", "W0511", "W0602", "W0603", "W0613", "W0621", "W0622", "W0707", "W0718", "W0719", "W1514", "E0401", "R0917"]

0 comments on commit 30aa3fb

Please sign in to comment.