From 0fc6450bf32b20c87272cd45fac6b3824e223251 Mon Sep 17 00:00:00 2001 From: Avram Lubkin Date: Mon, 22 May 2023 19:01:24 -0400 Subject: [PATCH] Pylint: Enable global-variable-not-assigned --- comma/util/tracking.py | 1 - pylintrc | 1 - 2 files changed, 2 deletions(-) diff --git a/comma/util/tracking.py b/comma/util/tracking.py index add9834..43ae61d 100644 --- a/comma/util/tracking.py +++ b/comma/util/tracking.py @@ -43,7 +43,6 @@ def get_repo( session, and only if told to do so. """ - global UPDATED_REPOS repo = None path = get_repo_path(name) if path.exists(): diff --git a/pylintrc b/pylintrc index a7ada8a..6445e9f 100644 --- a/pylintrc +++ b/pylintrc @@ -26,7 +26,6 @@ disable= # Potential Bugs global-statement, - global-variable-not-assigned, no-method-argument, protected-access, redefined-outer-name,