File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 99 language : python
1010 additional_dependencies : [pygments, restructuredtext_lint]
1111 - repo : https://github.com/astral-sh/ruff-pre-commit
12- rev : v0.2 .2
12+ rev : v0.3 .2
1313 hooks :
1414 - id : ruff
1515 args : ["--fix"]
1616 - id : ruff-format
1717 - repo : https://github.com/pre-commit/mirrors-mypy
18- rev : v1.8 .0
18+ rev : v1.9 .0
1919 hooks :
2020 - id : mypy
2121 files : ^(src|tests)
Original file line number Diff line number Diff line change 663. Writes to ``scripts/latest-release-notes.md``, which can be
77 used with https://github.com/softprops/action-gh-release.
88"""
9+
910from pathlib import Path
1011
1112import pypandoc
Original file line number Diff line number Diff line change @@ -348,8 +348,7 @@ def __call__(
348348 autospec : Optional [builtins .object ] = ...,
349349 new_callable : None = ...,
350350 ** kwargs : Any ,
351- ) -> MockType :
352- ...
351+ ) -> MockType : ...
353352
354353 @overload
355354 def __call__ (
@@ -362,8 +361,7 @@ def __call__(
362361 autospec : Optional [builtins .object ] = ...,
363362 new_callable : None = ...,
364363 ** kwargs : Any ,
365- ) -> _T :
366- ...
364+ ) -> _T : ...
367365
368366 @overload
369367 def __call__ (
@@ -376,8 +374,7 @@ def __call__(
376374 autospec : Optional [builtins .object ],
377375 new_callable : Callable [[], _T ],
378376 ** kwargs : Any ,
379- ) -> _T :
380- ...
377+ ) -> _T : ...
381378
382379 @overload
383380 def __call__ (
@@ -391,8 +388,7 @@ def __call__(
391388 * ,
392389 new_callable : Callable [[], _T ],
393390 ** kwargs : Any ,
394- ) -> _T :
395- ...
391+ ) -> _T : ...
396392
397393 def __call__ (
398394 self ,
You can’t perform that action at this time.
0 commit comments