From 77165d802d6ef404f68ab190e08e77c8b1ec78eb Mon Sep 17 00:00:00 2001 From: Anson Date: Sun, 15 Oct 2023 22:59:05 +0000 Subject: [PATCH] prettier applied --- .devcontainer/devcontainer.json | 16 ++++++++-------- .gitlab-ci.yml | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4c0bbd8..8a0bd07 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,14 +17,14 @@ "customizations": { "vscode": { "extensions": [ - "ms-python.python", - "ms-python.black-formatter", - "ms-python.vscode-pylance", - "ms-python.isort", - "charliermarsh.ruff", - "ms-toolsai.jupyter", - "esbenp.prettier-vscode" - ] + "ms-python.python", + "ms-python.black-formatter", + "ms-python.vscode-pylance", + "ms-python.isort", + "charliermarsh.ruff", + "ms-toolsai.jupyter", + "esbenp.prettier-vscode" + ] } }, "postCreateCommand": "pip3 install --user -r dev-reqs.txt && apt-get update && apt-get install -y nodejs npm && npm install" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84de42f..1840f88 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,10 +20,10 @@ ruff: prettier: stage: lint - image: node:16-slim # Use Node.js image since prettier is a Node.js tool + image: node:16-slim # Use Node.js image since prettier is a Node.js tool script: - npm install prettier - - npx prettier --check . # Adjust the path as needed + - npx prettier --check . # Adjust the path as needed include: - local: /site/.gitlab-ci.yml