Commit a8da61f
authored
Update documentation and packages (#18)
## Describe your changes
Updated the above packages and implemented the correct version of
default into the `Makefile`.
## Checklist before requesting a review
- [x] The code runs successfully.
```console
michaelp@Mac python-project-template % make env
uv venv
Using CPython 3.12.0 interpreter at: /Users/michaelp/.pyenv/versions/3.12.0/bin/python3.12
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
michaelp@Mac python-project-template % source .venv/bin/activate
(python-project-template) michaelp@Mac python-project-template % make
uv pip compile --generate-hashes pyproject.toml > requirements.txt
Resolved 19 packages in 17ms
pre-commit run --all-files
[INFO] Installing environment for https://github.com/nbQA-dev/nbQA.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/nbQA-dev/nbQA.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/nbQA-dev/nbQA.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
nbqa-ruff................................................................Passed
nbqa-black...............................................................Passed
nbqa-isort...............................................................Passed
trim trailing whitespace.................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check json...........................................(no files to check)Skipped
check for case conflicts.................................................Passed
check toml...............................................................Passed
check for merge conflicts................................................Passed
check xml............................................(no files to check)Skipped
check yaml...............................................................Passed
fix end of files.........................................................Passed
check for broken symlinks............................(no files to check)Skipped
mixed line ending........................................................Passed
sort simple yaml files...............................(no files to check)Skipped
fix python encoding pragma (deprecated)..................................Passed
pretty format json...................................(no files to check)Skipped
check blanket noqa.......................................................Passed
check for not-real mock methods..........................................Passed
check for eval().........................................................Passed
use logger.warning(......................................................Passed
Run isort to sort imports................................................Passed
ruff.....................................................................Passed
ruff-format..............................................................Passed
(python-project-template) michaelp@Mac python-project-template % make test
pytest -vs tests/
============================================================================================= test session starts ==============================================================================================
platform darwin -- Python 3.11.11, pytest-7.3.1, pluggy-1.0.0 -- /opt/homebrew/opt/[email protected]/bin/python3.11
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/python-project-template
plugins: anyio-3.6.2
collected 1 item
tests/test_example.py::test_example PASSED
============================================================================================== 1 passed in 0.00s ===============================================================================================
(python-project-template) michaelp@Mac python-project-template % make test-and-fail
pytest -vsx tests/
============================================================================================= test session starts ==============================================================================================
platform darwin -- Python 3.11.11, pytest-7.3.1, pluggy-1.0.0 -- /opt/homebrew/opt/[email protected]/bin/python3.11
cachedir: .pytest_cache
rootdir: /Users/michaelp/Documents/GitHub/python-project-template
plugins: anyio-3.6.2
collected 1 item
tests/test_example.py::test_example PASSED
============================================================================================== 1 passed in 0.00s ===============================================================================================
(python-project-template) michaelp@Mac python-project-template % make run
python -m project
oh, what up?
(python-project-template) michaelp@Mac python-project-template %
```1 parent bfa8e12 commit a8da61f
File tree
5 files changed
+140
-153
lines changed- .github
5 files changed
+140
-153
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 9 | | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
0 commit comments