mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-15 23:06:40 +00:00
full on ruff
This commit is contained in:
parent
b3769b24d8
commit
d3b75984a6
@ -8,7 +8,7 @@ ruff:
|
||||
image: python:3.11-slim
|
||||
script:
|
||||
- pip3 install ruff
|
||||
- ruff --output-format gitlab .
|
||||
- ruff . --output-format gitlab; ruff format . --diff
|
||||
|
||||
prettier:
|
||||
stage: lint
|
||||
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -3,7 +3,7 @@
|
||||
"editor.formatOnPaste": true,
|
||||
"editor.formatOnSaveMode": "modificationsIfAvailable",
|
||||
"[python]": {
|
||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnSaveMode": "file"
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
-r common/requirements.txt
|
||||
-r site/requirements.txt
|
||||
black==23.9.1
|
||||
ipython==8.16.1
|
||||
jupyter_client==8.4.0
|
||||
jupyter_core==5.4.0
|
||||
@ -8,5 +7,4 @@ pylama==8.4.1
|
||||
mypy==1.5.1
|
||||
types-cachetools==5.3.0.6
|
||||
types-pytz==2023.3.1.1
|
||||
ruff==0.0.292
|
||||
isort==5.12.0
|
||||
ruff==0.1.6
|
Loading…
x
Reference in New Issue
Block a user