adamelliotfields commited on
Commit
4967879
1 Parent(s): 0c7fe13
Files changed (2) hide show
  1. .vscode/settings.json +26 -0
  2. ruff.toml +9 -0
.vscode/settings.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "editor.rulers": [99],
3
+
4
+ "files.exclude": {
5
+ ".venv/**": true
6
+ },
7
+ "files.watcherExclude": {
8
+ ".venv/**": true
9
+ },
10
+
11
+ "notebook.formatOnSave.enabled": true,
12
+ "notebook.codeActionsOnSave": {
13
+ "notebook.source.fixAll.ruff": "explicit",
14
+ "notebook.source.organizeImports.ruff": "explicit"
15
+ },
16
+
17
+ "[python]": {
18
+ "editor.defaultFormatter": "charliermarsh.ruff",
19
+ "editor.formatOnSave": true,
20
+ "editor.tabSize": 4,
21
+ "editor.codeActionsOnSave": {
22
+ "source.fixAll.ruff": "explicit",
23
+ "source.organizeImports.ruff": "explicit"
24
+ }
25
+ }
26
+ }
ruff.toml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ extend-include = ["*.ipynb"]
2
+
3
+ line-length = 99
4
+
5
+ [lint]
6
+ ignore = ["F401"]
7
+
8
+ [lint.per-file-ignores]
9
+ "*.ipynb" = ["E402"]