Skip to content

Commit 90088f8

Browse files
committed
ran precommit, added badge
1 parent 5858339 commit 90088f8

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.coverage

-52 KB
Binary file not shown.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.venv
22
__pycache__
3+
.coverage

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=552381615)
2+
13
# Python project template
24

35
This is a template repository for any Python project that comes with the following dev tools:
@@ -19,7 +21,7 @@ This repository is setup for Python 3.10. To customize that, change the `VARIANT
1921

2022
## With devcontainer
2123

22-
This repository comes with a devcontainer (a Dockerized Python environment). If you open it in Codespaces, it should automatically initialize the devcontainer.
24+
This repository comes with a devcontainer (a Dockerized Python environment). If you open it in Codespaces, it should automatically initialize the devcontainer.
2325

2426
Locally, you can open it in VS Code with the Dev Containers extension installed.
2527

@@ -51,6 +53,6 @@ When you're ready to run tests, just run:
5153
pytest
5254
```
5355

54-
### 🔎 Found an issue or have an idea for improvement?
56+
### 🔎 Found an issue or have an idea for improvement?
5557

56-
Help me make this template repository better by letting us know and opening an issue!
58+
Help me make this template repository better by letting us know and opening an issue!

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def add_numbers(a, b):
2-
return a + b
2+
return a + b

tests/main_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from main import add_numbers
22

3+
34
def test_add_numbers():
45
assert add_numbers(2, 2) == 4

0 commit comments

Comments
 (0)