Skip to content

Conversation

@michplunkett
Copy link
Owner

Describe your changes

Updated the above packages and implemented the correct version of default into the Makefile.

Checklist before requesting a review

  • The code runs successfully.
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/python@3.11/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/python@3.11/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 %

@michplunkett michplunkett self-assigned this Apr 23, 2025
@michplunkett michplunkett changed the title Update documentation, Makefile, and pre-commit Update documentation and packages Apr 23, 2025
@michplunkett michplunkett merged commit a8da61f into main Apr 23, 2025
5 checks passed
@michplunkett michplunkett deleted the small-updates branch April 23, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants