Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make uv-secure executable #3

Merged
merged 4 commits into from
Dec 21, 2024
Merged

Make uv-secure executable #3

merged 4 commits into from
Dec 21, 2024

Conversation

owenlamont
Copy link
Owner

I was aiming to make uv-secure runnable if installed with uv tool or pipx, also tweaked the options and help text a bit to hopefully make workflows easier (like making the uv.lock file path an option which will default to the working directory).

Switched to version defined in code and added --version CLI option. Updated project script to run the Typer app. Made the uv.lock path an option that defaults to the working directory. Added and updated tests.
@owenlamont owenlamont self-assigned this Dec 21, 2024
Copy link

github-actions bot commented Dec 21, 2024

Coverage Report

============================= test session starts ==============================
platform linux -- Python 3.9.20, pytest-8.3.4, pluggy-1.5.0
rootdir: /home/runner/work/uv-secure/uv-secure
configfile: pyproject.toml
plugins: typeguard-4.4.1, httpx-0.35.0, cov-6.0.0, mock-3.14.0, anyio-4.7.0
collected 4 items

tests/uv_secure/test_run.py ....                                         [100%]

---------- coverage: platform linux, python 3.9.20-final-0 -----------
Name                           Stmts   Miss  Cover
--------------------------------------------------
src/uv_secure/__init__.py          2      0   100%
src/uv_secure/__version__.py       1      0   100%
src/uv_secure/run.py             102      8    92%
tests/uv_secure/conftest.py        0      0   100%
tests/uv_secure/test_run.py       43      0   100%
--------------------------------------------------
TOTAL                            148      8    95%


============================== 4 passed in 3.44s ===============================

@owenlamont owenlamont changed the title Make package executable Make uv-secure executable Dec 21, 2024
@owenlamont owenlamont merged commit f68c73a into main Dec 21, 2024
2 checks passed
@owenlamont owenlamont deleted the make_executable_package branch December 21, 2024 08:31
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.

1 participant