Skip to content

Commit ce82675

Browse files
authored
Clean up project config (#463)
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.
1 parent 0825c5e commit ce82675

File tree

6 files changed

+1166
-1137
lines changed

6 files changed

+1166
-1137
lines changed

.vscode/cspell.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"language": "en,en-GB",
33
"words": [
44
"adrià",
5+
"accum",
56
"aengus",
67
"alonso",
78
"arange",
89
"argmax",
910
"autodiff",
1011
"autoregressive",
1112
"barez",
12-
"Beartype",
13+
"beartype",
1314
"belrose",
1415
"bertsimas",
1516
"biderman",
@@ -18,7 +19,7 @@
1819
"checkpointed",
1920
"chughtai",
2021
"circuitsvis",
21-
"Codespaces",
22+
"codespaces",
2223
"colab",
2324
"collectstart",
2425
"colour",

.vscode/extensions.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
"ms-toolsai.jupyter",
1818
"richie5um2.vscode-sort-json",
1919
"stkb.rewrap",
20+
"streetsidesoftware.code-spell-checker-british-english",
2021
"streetsidesoftware.code-spell-checker",
21-
"yzhang.markdown-all-in-one",
22-
"streetsidesoftware.code-spell-checker-british-english"
22+
"tamasfe.even-better-toml",
23+
"yzhang.markdown-all-in-one"
2324
]
2425
}

.vscode/settings.json

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,41 @@
11
{
2-
"editor.formatOnSave": true,
3-
"editor.codeActionsOnSave": {
4-
"source.organizeImports": true
5-
},
62
"[python]": {
73
"editor.defaultFormatter": "ms-python.black-formatter"
84
},
5+
"[toml]": {
6+
"editor.defaultFormatter": "tamasfe.even-better-toml"
7+
},
8+
"editor.codeActionsOnSave": {
9+
"source.organizeImports": true
10+
},
11+
"editor.formatOnSave": true,
12+
"evenBetterToml.formatter.allowedBlankLines": 1,
13+
"evenBetterToml.formatter.arrayAutoCollapse": true,
14+
"evenBetterToml.formatter.arrayAutoExpand": true,
15+
"evenBetterToml.formatter.arrayTrailingComma": true,
16+
"evenBetterToml.formatter.columnWidth": 100,
17+
"evenBetterToml.formatter.compactArrays": true,
18+
"evenBetterToml.formatter.compactEntries": true,
19+
"evenBetterToml.formatter.compactInlineTables": true,
20+
"evenBetterToml.formatter.indentEntries": true,
21+
"evenBetterToml.formatter.indentString": " ",
22+
"evenBetterToml.formatter.indentTables": true,
23+
"evenBetterToml.formatter.inlineTableExpand": true,
24+
"evenBetterToml.formatter.reorderArrays": true,
25+
"evenBetterToml.formatter.reorderKeys": true,
26+
"evenBetterToml.formatter.trailingNewline": true,
27+
"evenBetterToml.schema.enabled": true,
28+
"evenBetterToml.schema.links": true,
29+
"evenBetterToml.syntax.semanticTokens": false,
30+
"mypy-type-checker.importStrategy": "fromEnvironment",
31+
"notebook.formatOnCellExecution": true,
32+
"notebook.formatOnSave.enabled": true,
33+
"pylint.importStrategy": "fromEnvironment",
934
"python.testing.pytestArgs": [
1035
"transformer_lens",
1136
],
1237
"python.testing.pytestEnabled": true,
1338
"rewrap.autoWrap.enabled": true,
1439
"rewrap.reformat": true,
1540
"rewrap.wrappingColumn": 100,
16-
"mypy-type-checker.importStrategy": "fromEnvironment",
17-
"pylint.importStrategy": "fromEnvironment",
18-
"notebook.formatOnCellExecution": true,
19-
"notebook.formatOnSave.enabled": true,
20-
"cSpell.words": [
21-
"accum"
22-
],
2341
}

0 commit comments

Comments
 (0)