Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1125636?usp=email )
Change subject: [tests] Update pre-commit hooks
......................................................................
[tests] Update pre-commit hooks
Change-Id: I827fe09160d3fac8f6775a8d661d370032886748
---
M .pre-commit-config.yaml
M pywikibot/pagegenerators/_generators.py
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8e264d5..687971b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -58,7 +58,7 @@
- id: rst-inline-touching-normal
- id: text-unicode-replacement-char
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.9.9
+ rev: v0.9.10
hooks:
- id: ruff
args:
@@ -86,7 +86,7 @@
- id: isort
exclude: '^pwb\.py$'
- repo: https://github.com/jshwi/docsig
- rev: v0.69.1
+ rev: v0.69.3
hooks:
- id: docsig
exclude: ^(tests|scripts)
diff --git a/pywikibot/pagegenerators/_generators.py
b/pywikibot/pagegenerators/_generators.py
index e07544f..4200291 100644
--- a/pywikibot/pagegenerators/_generators.py
+++ b/pywikibot/pagegenerators/_generators.py
@@ -830,7 +830,7 @@
:param total: Maximum number of pages to retrieve in total
:param namespaces: search only in these namespaces (defaults to all)
:param site: Site for generator results.
- :keyword str \| None where: Where to search; value must be one of the
+ :keyword str | None where: Where to search; value must be one of the
given literals or None (many wikis do not support all search
types)
:keyword bool content: if True, load the current content of each
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1125636?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I827fe09160d3fac8f6775a8d661d370032886748
Gerrit-Change-Number: 1125636
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]