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 requests and file IO more asynchronous #10

Merged
merged 6 commits into from
Dec 25, 2024
Merged

Conversation

owenlamont
Copy link
Owner

Refactoring the uv-secure code to better leverage asynchronous code for the IO bound tasks

@owenlamont owenlamont self-assigned this Dec 25, 2024
Copy link

github-actions bot commented Dec 25, 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 5 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                                    3      0   100%
src/uv_secure/__version__.py                                 1      0   100%
src/uv_secure/dependency_checker/__init__.py                 2      0   100%
src/uv_secure/dependency_checker/dependency_checker.py      61      3    95%
src/uv_secure/package_info/__init__.py                       3      0   100%
src/uv_secure/package_info/lock_file_parser.py              13      1    92%
src/uv_secure/package_info/vulnerability_downloader.py      35      4    89%
src/uv_secure/run.py                                        23      2    91%
tests/smoke_test.py                                          2      0   100%
tests/uv_secure/conftest.py                                  0      0   100%
tests/uv_secure/test_run.py                                 58      0   100%
----------------------------------------------------------------------------
TOTAL                                                      201     10    95%


============================== 5 passed in 3.29s ===============================

@owenlamont owenlamont merged commit 38fd6c0 into main Dec 25, 2024
6 checks passed
@owenlamont owenlamont deleted the make_more_async branch December 25, 2024 12:51
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