mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 23:06:40 +00:00
prettier applied
This commit is contained in:
parent
769290528d
commit
77165d802d
@ -17,14 +17,14 @@
|
|||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-python.python",
|
"ms-python.python",
|
||||||
"ms-python.black-formatter",
|
"ms-python.black-formatter",
|
||||||
"ms-python.vscode-pylance",
|
"ms-python.vscode-pylance",
|
||||||
"ms-python.isort",
|
"ms-python.isort",
|
||||||
"charliermarsh.ruff",
|
"charliermarsh.ruff",
|
||||||
"ms-toolsai.jupyter",
|
"ms-toolsai.jupyter",
|
||||||
"esbenp.prettier-vscode"
|
"esbenp.prettier-vscode"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "pip3 install --user -r dev-reqs.txt && apt-get update && apt-get install -y nodejs npm && npm install"
|
"postCreateCommand": "pip3 install --user -r dev-reqs.txt && apt-get update && apt-get install -y nodejs npm && npm install"
|
||||||
|
@ -20,10 +20,10 @@ ruff:
|
|||||||
|
|
||||||
prettier:
|
prettier:
|
||||||
stage: lint
|
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:
|
script:
|
||||||
- npm install prettier
|
- npm install prettier
|
||||||
- npx prettier --check . # Adjust the path as needed
|
- npx prettier --check . # Adjust the path as needed
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- local: /site/.gitlab-ci.yml
|
- local: /site/.gitlab-ci.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user