Skip to content

Commit

Permalink
Provide example vscode settings rather than enforcing
Browse files Browse the repository at this point in the history
  • Loading branch information
danbraunai-apollo committed Feb 1, 2024
1 parent 4aa87b5 commit af1baad
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 26 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.vscode/settings.json

wandb/
.data/
.checkpoints/
Expand Down
16 changes: 16 additions & 0 deletions .vscode/example.settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "charliermarsh.ruff"
},
"github.copilot.enable": {
"*": true
},
"rewrap.autoWrap.enabled": true,
"rewrap.wrappingColumn": 100,
"notebook.formatOnSave.enabled": true
}
25 changes: 0 additions & 25 deletions .vscode/settings.json

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ To install the development dependencies, run
pip install -e ".[dev]"
```

Suggested extensions and settings for VSCode are provided in `.vscode/`.
Suggested extensions and settings for VSCode are provided in `.vscode/`. To use the suggested
settings, copy `.vscode/example.settings.json` to `.vscode/settings.json`.

### Pre-commit hooks

Expand Down

0 comments on commit af1baad

Please sign in to comment.