Skip to content

Commit

Permalink
add pytest, update README with setup dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
btambara committed Mar 20, 2024
1 parent 1627ba5 commit bd13b31
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar).

## [pip-tools](https://pypi.org/project/pip-tools/)

``` bash
// Setup Dev Environment
pip-sync setup/requirements.txt setup/development/requirements.txt
```

## [pre-commit](https://pre-commit.com/)

``` bash
Expand Down
1 change: 1 addition & 0 deletions setup/development/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-r "../requirements.txt"

pre-commit
pytest
11 changes: 11 additions & 0 deletions setup/development/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ exceptiongroup==1.2.0
# via
# -r ../requirements.txt
# anyio
# pytest
fastapi==0.109.0
# via -r ../requirements.txt
filelock==3.13.1
Expand All @@ -85,6 +86,8 @@ idna==3.6
# -r ../requirements.txt
# anyio
# requests
iniconfig==2.0.0
# via pytest
kombu==5.3.5
# via
# -r ../requirements.txt
Expand All @@ -101,8 +104,12 @@ mlb-statsapi==1.7.1
# via -r ../requirements.txt
nodeenv==1.8.0
# via pre-commit
packaging==24.0
# via pytest
platformdirs==4.2.0
# via virtualenv
pluggy==1.4.0
# via pytest
pre-commit==3.6.2
# via -r requirements.in
prompt-toolkit==3.0.43
Expand All @@ -119,6 +126,8 @@ pydantic-core==2.16.1
# via
# -r ../requirements.txt
# pydantic
pytest==8.1.1
# via -r requirements.in
python-dateutil==2.8.2
# via
# -r ../requirements.txt
Expand Down Expand Up @@ -149,6 +158,8 @@ starlette==0.35.1
# via
# -r ../requirements.txt
# fastapi
tomli==2.0.1
# via pytest
typing-extensions==4.9.0
# via
# -r ../requirements.txt
Expand Down

0 comments on commit bd13b31

Please sign in to comment.