# Copyright © 2022 Canonical Ltd.
import sys
+
+sys.dont_write_bytecode = True
+
import os
import argparse
import json
def autocomplete(_unused):
pass
+
from kconfig.annotations import Annotation, KConfig
from kconfig.utils import autodetect_annotations, arg_fail
from kconfig.version import VERSION
num = total - good
if ret:
- if os.path.exists('.git'):
- print(f"check-config: {num} config options have been changed, review them with `git diff`")
+ if os.path.exists(".git"):
+ print(
+ f"check-config: {num} config options have been changed, review them with `git diff`"
+ )
else:
print(f"check-config: {num} config options have changed")
else:
# Copyright © 2023 Canonical Ltd.
import sys
+
+sys.dont_write_bytecode = True # pylint: disable=E0402
+
import re
import argparse
from argcomplete import autocomplete