Skip to content

Commit 2358448

Browse files
committed
Update action?.
1 parent 9511527 commit 2358448

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v2
34-
- uses: conda-incubator/setup-miniconda@v2
34+
- uses: conda-incubator/setup-miniconda@v2.2.0
3535
with:
3636
auto-update-conda: false
3737
python-version: ${{ matrix.python-version }}

src/_pytask/click.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ class EnumChoice(click.Choice):
2424
"""An enum-based choice type.
2525
2626
The implementation is copied from https://github.com/pallets/click/pull/2210 and
27-
related discussion can be found in
28-
https://github.com/pallets/click/issues/605.
27+
related discussion can be found in https://github.com/pallets/click/issues/605.
28+
2929
In contrast to using :class:`click.Choice`, using this type ensures that the error
3030
message does not show the enum members.
3131

src/_pytask/collect.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ def pytask_collect_task(
176176
"""Collect a task which is a function.
177177
178178
There is some discussion on how to detect functions in this thread:
179-
https://stackoverflow.com/q/624926/7523785.
180-
:class:`types.FunctionType` does not
179+
https://stackoverflow.com/q/624926/7523785. :class:`types.FunctionType` does not
181180
detect built-ins which is not possible anyway.
182181
183182
"""

0 commit comments

Comments
 (0)