Skip to content

Commit f5514d1

Browse files
style: pre-commit fixes
1 parent 798047f commit f5514d1

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@
3232
// "customizations": {},
3333
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
3434
// "remoteUser": "devcontainer"
35-
}
35+
}

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
"cppConfig": "default (gdb) Attach"
1313
}
1414
]
15-
}
15+
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
ARG FEDORA_VERSION=41
33
#Base image
44
FROM quay.io/foundata/fedora${FEDORA_VERSION}-itt:latest AS builder
5-
#To avoid file permission error, set as root user. In docker, default user is root. With devcontainer and Podman, default user is the host user.
5+
#To avoid file permission error, set as root user. In docker, default user is root. With devcontainer and Podman, default user is the host user.
66
USER root
77
#To run as non root, you can set the home to a different folder, but we are choosing to run as root for now.
88
# ENV HOME=/tmp

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
["src/main.cpp"],
2020
# Example: passing in the version to the compiled code
2121
define_macros=[("VERSION_INFO", __version__)],
22-
extra_compile_args=["-g"]
22+
extra_compile_args=["-g"],
2323
),
2424
]
2525

tests/sample_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import python_example as m
22

3+
34
def test_basic():
45
assert m.__version__ == "0.0.1"
56
assert m.add(1, 2) == 3
67
assert m.subtract(1, 2) == -1
78

8-
test_basic()
9+
10+
test_basic()

0 commit comments

Comments
 (0)