jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101150?usp=email )
Change subject: tests: set check-added-large-files argument to 200 kb
......................................................................
tests: set check-added-large-files argument to 200 kb
Currently the largest file is about 100 kb (HISTORY.rst).
Enforce file length not to exceed 200 kb.
Change-Id: I4f164171032da56277353ca034e412ed5ed5e73b
---
M .pre-commit-config.yaml
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c3510ce..32691c8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -14,6 +14,8 @@
rev: v5.0.0
hooks:
- id: check-added-large-files
+ args:
+ - --maxkb=200
- id: check-ast
- id: check-builtin-literals
- id: check-case-conflict
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1101150?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: I4f164171032da56277353ca034e412ed5ed5e73b
Gerrit-Change-Number: 1101150
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]