Skip to content

Commit 8c89a14

Browse files
authored
Merge branch 'main' into options_docs_2
2 parents 134dba7 + f84395c commit 8c89a14

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
with:
1313
python-version: 3.x
1414
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
15-
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2
15+
- uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0
1616
if: ${{ !cancelled() }}

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
cache: pip
4343
cache-dependency-path: requirements*/*.txt
4444
- name: cache mypy
45-
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
45+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4646
with:
4747
path: ./.mypy_cache
4848
key: mypy|${{ hashFiles('pyproject.toml') }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.7.1
3+
rev: v0.8.1
44
hooks:
55
- id: ruff
66
- id: ruff-format

src/click/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ def get_help_option(self, ctx: Context) -> Option | None:
10281028

10291029
# apply help_option decorator and pop resulting option
10301030
help_option(*help_option_names)(self)
1031-
return self.params.pop() # type: ignore[return-value]
1031+
return self.params.pop() # type: ignore[return-value]
10321032

10331033
def make_parser(self, ctx: Context) -> _OptionParser:
10341034
"""Creates the underlying option parser for this command."""

0 commit comments

Comments
 (0)