diff --git a/.vscode/extensions.json b/.vscode/extensions.json index b5301a97..e94bfef4 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -15,6 +15,7 @@ "johnpapa.vscode-peacock", "mhutchie.git-graph", "ms-azuretools.vscode-docker", + "ms-python.black-formatter", "ms-python.python", "ms-vscode-remote.remote-containers", "ms-vscode-remote.remote-wsl", @@ -22,6 +23,7 @@ "ms-vscode.live-server", "ms-vsliveshare.vsliveshare", "redhat.vscode-xml", + "sonarsource.sonarlint-vscode", "streetsidesoftware.code-spell-checker-british-english", "tamasfe.even-better-toml", "tomoki1207.pdf", diff --git a/utils/axe.py b/utils/axe.py index 6d73352b..689535c6 100644 --- a/utils/axe.py +++ b/utils/axe.py @@ -6,7 +6,6 @@ logger = logging.getLogger(__name__) - PATH_FOR_REPORT = Path(os.getcwd()) / "axe-reports" diff --git a/utils/user_tools.py b/utils/user_tools.py index c1694cc2..f8026717 100644 --- a/utils/user_tools.py +++ b/utils/user_tools.py @@ -1,10 +1,11 @@ import json +import os import logging from pathlib import Path logger = logging.getLogger(__name__) -USERS_FILE = Path(__file__).parent.parent / "users.json" +USERS_FILE = Path(os.getcwd()) / "users.json" class UserTools: