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

full on ruff

This commit is contained in:
Anson 2023-11-30 21:49:56 -07:00
parent b3769b24d8
commit d3b75984a6
3 changed files with 3 additions and 5 deletions

View File

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

View File

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

View 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