fix: Move 'Any' import to the JSON with comments module, b=no-bug, c=scripts, tests

This commit is contained in:
mr. m
2025-12-11 13:31:44 +01:00
parent 0c0c982bc2
commit a6dd6ab984
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
import json import json
from typing import Any
class JSONWithCommentsDecoder(json.JSONDecoder): class JSONWithCommentsDecoder(json.JSONDecoder):
def __init__(self, **kw): def __init__(self, **kw):

View File

@@ -6,7 +6,6 @@ import os
import sys import sys
import json import json
from pathlib import Path from pathlib import Path
from typing import Any
from json_with_comments import JSONWithCommentsDecoder from json_with_comments import JSONWithCommentsDecoder
IGNORE_PREFS_FILE_IN = os.path.join( IGNORE_PREFS_FILE_IN = os.path.join(