Skip to content

Commit eeaec45

Browse files
cleanup
1 parent e316afd commit eeaec45

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2828
// "forwardPorts": [],
2929
// Uncomment the next line to run commands after the container is created.
30-
"postCreateCommand": "pip install . && pip install pytest"
30+
"postCreateCommand": "pip install -e ."
3131
// Configure tool-specific properties.
3232
// "customizations": {},
3333
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ USER root
99
#Install dev packages, just git for now.
1010
RUN dnf upgrade --refresh -y && dnf install -y python3-pip
1111
RUN dnf upgrade --refresh -y && dnf install -y git python3 python3-devel gcc-c++ gdb make
12-
RUN pip install setuptools wheel pybind11
12+
RUN pip install setuptools wheel pybind11 pytest

tests/sample_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ def test_basic():
44
assert m.__version__ == "0.0.1"
55
assert m.add(1, 2) == 3
66
assert m.subtract(1, 2) == -1
7-
8-
test_basic()

0 commit comments

Comments
 (0)