mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-11 17:12:36 +00:00
fix: Move 'Any' import to the JSON with comments module, b=no-bug, c=scripts, tests
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user