Skip to content

Commit bbc98dd

Browse files
committed
Add a .devcontainer
1 parent 0dd5d98 commit bbc98dd

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.devcontainer/devcontainer.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "Python (Miniconda)",
3+
"image": "mcr.microsoft.com/devcontainers/miniconda:3",
4+
"settings": {
5+
"terminal.integrated.shell.linux": "/bin/bash"
6+
},
7+
"extensions": [
8+
"ms-python.python",
9+
"ms-python.vscode-pylance",
10+
"charliermarsh.ruff",
11+
"eamodio.gitlens",
12+
"GitHub.copilot",
13+
"ms-toolsai.jupyter",
14+
"ms-vscode-remote.vscode-remote-extensionpack",
15+
"oderwat.indent-rainbow",
16+
"GitHub.vscode-pull-request-github"
17+
],
18+
"forwardPorts": [
19+
5000
20+
],
21+
"postCreateCommand": "cd ${containerWorkspaceFolder} && pip install -e .[other,notebook,testing] && pip install ruff pre-commit && pre-commit install"
22+
}

environment.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55

66
dependencies:
7-
- python=3.9
7+
- python=3.11
88
- sortedcontainers
99
- sortedcollections
1010
- scipy
@@ -17,5 +17,5 @@ dependencies:
1717
- jupyter_client>=5.2.2
1818
- ipywidgets
1919
- scikit-optimize>=0.8.1
20-
- scikit-learn<=0.24.2 # https://github.com/scikit-optimize/scikit-optimize/issues/1059
20+
- scikit-learn
2121
- plotly

0 commit comments

Comments
 (0)