Skip to content

Commit

Permalink
Clean up project config (#463)
Browse files Browse the repository at this point in the history
Remove the pytorch versioning fix as this has been solved with the latest pytorch version. Also format with even better toml so that the pyproject is easier to read.
  • Loading branch information
alan-cooney authored Dec 10, 2023
1 parent 0825c5e commit ce82675
Show file tree
Hide file tree
Showing 6 changed files with 1,166 additions and 1,137 deletions.
5 changes: 3 additions & 2 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
"language": "en,en-GB",
"words": [
"adrià",
"accum",
"aengus",
"alonso",
"arange",
"argmax",
"autodiff",
"autoregressive",
"barez",
"Beartype",
"beartype",
"belrose",
"bertsimas",
"biderman",
Expand All @@ -18,7 +19,7 @@
"checkpointed",
"chughtai",
"circuitsvis",
"Codespaces",
"codespaces",
"colab",
"collectstart",
"colour",
Expand Down
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
"ms-toolsai.jupyter",
"richie5um2.vscode-sort-json",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker-british-english",
"streetsidesoftware.code-spell-checker",
"yzhang.markdown-all-in-one",
"streetsidesoftware.code-spell-checker-british-english"
"tamasfe.even-better-toml",
"yzhang.markdown-all-in-one"
]
}
40 changes: 29 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,41 @@
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.formatOnSave": true,
"evenBetterToml.formatter.allowedBlankLines": 1,
"evenBetterToml.formatter.arrayAutoCollapse": true,
"evenBetterToml.formatter.arrayAutoExpand": true,
"evenBetterToml.formatter.arrayTrailingComma": true,
"evenBetterToml.formatter.columnWidth": 100,
"evenBetterToml.formatter.compactArrays": true,
"evenBetterToml.formatter.compactEntries": true,
"evenBetterToml.formatter.compactInlineTables": true,
"evenBetterToml.formatter.indentEntries": true,
"evenBetterToml.formatter.indentString": " ",
"evenBetterToml.formatter.indentTables": true,
"evenBetterToml.formatter.inlineTableExpand": true,
"evenBetterToml.formatter.reorderArrays": true,
"evenBetterToml.formatter.reorderKeys": true,
"evenBetterToml.formatter.trailingNewline": true,
"evenBetterToml.schema.enabled": true,
"evenBetterToml.schema.links": true,
"evenBetterToml.syntax.semanticTokens": false,
"mypy-type-checker.importStrategy": "fromEnvironment",
"notebook.formatOnCellExecution": true,
"notebook.formatOnSave.enabled": true,
"pylint.importStrategy": "fromEnvironment",
"python.testing.pytestArgs": [
"transformer_lens",
],
"python.testing.pytestEnabled": true,
"rewrap.autoWrap.enabled": true,
"rewrap.reformat": true,
"rewrap.wrappingColumn": 100,
"mypy-type-checker.importStrategy": "fromEnvironment",
"pylint.importStrategy": "fromEnvironment",
"notebook.formatOnCellExecution": true,
"notebook.formatOnSave.enabled": true,
"cSpell.words": [
"accum"
],
}
Loading

0 comments on commit ce82675

Please sign in to comment.