File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed
Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 2424
2525 steps :
2626 - uses : actions/checkout@v4
27+ with :
28+ persist-credentials : false
2729
2830 - name : Set up Python ${{ matrix.python-version }}
2931 uses : actions/setup-python@v5
7880
7981 steps :
8082 - uses : actions/checkout@v4
83+ with :
84+ persist-credentials : false
8185
8286 - name : Set up Python ${{ matrix.python-version }}
8387 uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 11repos :
2- - repo : meta
3- hooks :
4- - id : check-hooks-apply
5- - id : check-useless-excludes
62 - repo : https://github.com/pre-commit/pre-commit-hooks
73 rev : v5.0.0
84 hooks :
@@ -48,6 +44,12 @@ repos:
4844 args : [--enable=default-role]
4945 files : ^docs/
5046
47+ # Should be the last:
48+ - repo : meta
49+ hooks :
50+ - id : check-hooks-apply
51+ - id : check-useless-excludes
52+
5153exclude : ^(tests/fixtures/|tests/test_formatter/__snapshots__/)
5254ci :
5355 autofix_commit_msg : " [pre-commit.ci] auto fixes from pre-commit.com hooks"
Original file line number Diff line number Diff line change @@ -255,8 +255,8 @@ See ``Limitations`` in the API Reference.
255255FAQ
256256---
257257
258- Why don't you support `* ` and `** ` arguments?
259- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
258+ Why don't you support `` * `` and `` ** ` ` arguments?
259+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260260
261261When you use ``partial(some, *my_args) `` or ``partial(some, **my_args) ``
262262or both of them at the same time,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ What problems do we solve with these containers? Basically these ones:
1212
13131. You cannot call async function from a sync one
14142. Any unexpectedly thrown exception can ruin your whole event loop
15- 3. Ugly composition with lots of `await ` statements
15+ 3. Ugly composition with lots of `` await ` ` statements
1616
1717
1818Future container
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ use :func:`future_safe <returns.future.future_safe>` instead.
9999 >> > str (divide(0 ))
100100 ' <Failure: division by zero>'
101101
102- If you want to ` safe ` handle only a set of exceptions:
102+ If you want `` @ safe `` to handle only a set of exceptions:
103103
104104.. code :: python
105105
You can’t perform that action at this time.
0 commit comments