Skip to content

Commit 006ae49

Browse files
authored
Merge pull request #154 from ImperialCollegeLondon/feature/add_3.12
Add 3.12 to the CI
2 parents 6ffdd41 + a8f5231 commit 006ae49

File tree

6 files changed

+157
-176
lines changed

6 files changed

+157
-176
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ ubuntu-latest, macos-latest, windows-latest ]
24-
python-version: [ "3.10", "3.11" ]
24+
python-version: [ "3.10", "3.11", "3.12" ]
2525

2626
steps:
2727
- uses: actions/checkout@v4

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"configurations": [
77
{
88
"name": "Python: Current File",
9-
"type": "python",
9+
"type": "debugpy",
1010
"request": "launch",
1111
"program": "${file}",
1212
"console": "integratedTerminal"
1313
},
1414
{
1515
"name": "Python: Current File with Args",
16-
"type": "python",
16+
"type": "debugpy",
1717
"request": "launch",
1818
"program": "${file}",
1919
"console": "integratedTerminal",
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"name": "_safedata_validate_cli debug",
30-
"type": "python",
30+
"type": "debugpy",
3131
"request": "launch",
3232
"program": "${file}",
3333
"console": "integratedTerminal",

.vscode/settings.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"python.linting.mypyEnabled": true,
3-
"python.linting.enabled": true,
42
"editor.formatOnSave": true,
53
"editor.defaultFormatter": "charliermarsh.ruff",
64
"editor.rulers": [
@@ -12,9 +10,12 @@
1210
"-s",
1311
"test",
1412
// --no-cov needed so that breakpoints work: https://github.com/microsoft/vscode-python/issues/693
15-
"--no-cov"
13+
"--no-cov",
1614
],
1715
"workbench.editorAssociations": {
1816
"*.ipynb": "jupyter-notebook"
1917
},
18+
"[jsonc]": {
19+
"editor.defaultFormatter": "vscode.json-language-features"
20+
},
2021
}

0 commit comments

Comments
 (0)