hysts HF staff commited on
Commit
b4190d6
·
1 Parent(s): b5474e9

Add .vscode

Browse files
Files changed (2) hide show
  1. .gitignore +2 -1
  2. .vscode/settings.json +21 -0
.gitignore CHANGED
@@ -4,7 +4,8 @@ __pycache__/
4
  .env
5
  .ipynb_checkpoints
6
  *ipynb
7
- .vscode/
 
8
 
9
  eval-queue/
10
  eval-results/
 
4
  .env
5
  .ipynb_checkpoints
6
  *ipynb
7
+ .venv
8
+ .ruff_cache
9
 
10
  eval-queue/
11
  eval-results/
.vscode/settings.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "editor.formatOnSave": true,
3
+ "files.insertFinalNewline": false,
4
+ "[python]": {
5
+ "editor.defaultFormatter": "ms-python.black-formatter",
6
+ "editor.formatOnType": true,
7
+ "editor.codeActionsOnSave": {
8
+ "source.organizeImports": "explicit"
9
+ }
10
+ },
11
+ "black-formatter.args": [
12
+ "--line-length=119"
13
+ ],
14
+ "isort.args": ["--profile", "black"],
15
+ "flake8.args": [
16
+ "--max-line-length=119"
17
+ ],
18
+ "ruff.lint.args": [
19
+ "--line-length=119"
20
+ ]
21
+ }