Skip to content

Commit 3ac8d63

Browse files
committed
fix: fix flake8 error F824
1 parent 0bc7342 commit 3ac8d63

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
15+
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Set up Python ${{ matrix.python-version }}

mflog/unittests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
def reset_unittests():
1313
"""Reset unittests."""
14-
global UNIT_TESTS_STDOUT, UNIT_TESTS_STDERR, UNIT_TESTS_JSON
1514
del(UNIT_TESTS_STDOUT[:])
1615
del(UNIT_TESTS_STDERR[:])
1716
del(UNIT_TESTS_JSON[:])

mflog/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ def _get_override_lines(path):
306306
(list of couples) A list of (logger name pattern, level name).
307307
308308
"""
309-
global OVERRIDE_LINES_CACHE
310309
if path not in OVERRIDE_LINES_CACHE:
311310
lines = _file_to_lines(path)
312311
OVERRIDE_LINES_CACHE[path] = lines
@@ -348,7 +347,6 @@ def get_level_no_from_logger_name(logger_name):
348347
(int) The level number to use for this logger name.
349348
350349
"""
351-
global LEVEL_FROM_LOGGER_NAME_CACHE
352350

353351
class Found(Exception):
354352
pass

0 commit comments

Comments
 (0)