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

Implemented directory scanning for requirements.txt files #21

Merged

Conversation

owenlamont
Copy link
Owner

@owenlamont owenlamont commented Jan 9, 2025

I added support for parsing requirements.txt files in #19 but neglected to update the scanning logic to automatically search for them.

@owenlamont owenlamont self-assigned this Jan 9, 2025
@owenlamont owenlamont linked an issue Jan 9, 2025 that may be closed by this pull request
Copy link

github-actions bot commented Jan 9, 2025

Coverage Report

Name                                                     Stmts   Miss  Cover
----------------------------------------------------------------------------
src/uv_secure/__init__.py                                    3      0   100%
src/uv_secure/__version__.py                                 1      0   100%
src/uv_secure/configuration/__init__.py                      2      0   100%
src/uv_secure/configuration/config_factory.py               19      0   100%
src/uv_secure/dependency_checker/__init__.py                 2      0   100%
src/uv_secure/dependency_checker/dependency_checker.py      88      0   100%
src/uv_secure/directory_scanner/__init__.py                  2      0   100%
src/uv_secure/directory_scanner/directory_scanner.py        56      0   100%
src/uv_secure/package_info/__init__.py                       3      0   100%
src/uv_secure/package_info/dependency_file_parser.py        27      0   100%
src/uv_secure/package_info/vulnerability_downloader.py      35      0   100%
src/uv_secure/run.py                                        26      0   100%
tests/smoke_test.py                                          2      0   100%
tests/uv_secure/conftest.py                                  0      0   100%
tests/uv_secure/test_run.py                                263      0   100%
----------------------------------------------------------------------------
TOTAL                                                      529      0   100%

@owenlamont owenlamont merged commit e786680 into main Jan 9, 2025
17 checks passed
@owenlamont owenlamont deleted the 20-directory-scanner-doesnt-discover-requirementstxt-files branch January 9, 2025 13:36
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.

Directory scanner doesn't discover requirements.txt files
1 participant