Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1116521?usp=email )
Change subject: tests: update pre-commit hooks
......................................................................
tests: update pre-commit hooks
Change-Id: If48a8a09681a595b66069209fb951d7917103bc3
---
M .pre-commit-config.yaml
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a511474..47d6061 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -29,6 +29,8 @@
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
+ - id: detect-private-key
+ - id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-byte-order-marker
exclude: '^tests/data/'
@@ -50,9 +52,11 @@
- id: python-check-blanket-noqa
- id: python-check-blanket-type-ignore
- id: python-check-mock-methods
+ - id: python-no-log-warn
- id: python-use-type-annotations
- id: rst-directive-colons
- id: rst-inline-touching-normal
+ - id: text-unicode-replacement-char
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.4
hooks:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1116521?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: If48a8a09681a595b66069209fb951d7917103bc3
Gerrit-Change-Number: 1116521
Gerrit-PatchSet: 2
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]