From 5b0f2729a8de2c89bea784b8706f32ba3c357646 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 17:58:03 +0000 Subject: [PATCH] build(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#768) * build(deps): bump actions/checkout from 4.1.3 to 4.1.4 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.3...v4.1.4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * _audit: fix mypy finding Signed-off-by: William Woodruff --------- Signed-off-by: dependabot[bot] Signed-off-by: William Woodruff Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: William Woodruff --- .github/workflows/ci.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/scorecards.yml | 2 +- pip_audit/_audit.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9de04b1d..ff81fb16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - "3.12" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 03c0c300..e76717a5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 # v3.3.0 + - uses: actions/checkout@v4.1.4 # v3.3.0 - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6974afac..96577ab2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: @@ -24,7 +24,7 @@ jobs: check-readme: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 # NOTE(ww): Important: use pip-audit's minimum supported Python version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 685dae1d..77e88107 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v4.1.3 + - uses: actions/checkout@v4.1.4 - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 29e8d857..b6f19973 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -22,7 +22,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@v4.1.3 # tag=v3.0.0 + uses: actions/checkout@v4.1.4 # tag=v3.0.0 with: persist-credentials: false diff --git a/pip_audit/_audit.py b/pip_audit/_audit.py index c41de398..d977dbe2 100644 --- a/pip_audit/_audit.py +++ b/pip_audit/_audit.py @@ -63,7 +63,7 @@ def audit( if self._options.dry_run: # Drain the iterator in dry-run mode. logger.info(f"Dry run: would have audited {len(list(specs))} packages") - return {} + yield from () else: for dep, vulns in self._service.query_all(specs): unique_vulns: list[VulnerabilityResult] = []