1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 14:56:40 +00:00

prettier applied

This commit is contained in:
Anson 2023-10-15 22:59:05 +00:00
parent 769290528d
commit 77165d802d
2 changed files with 10 additions and 10 deletions

View File

@ -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"

View File

@ -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