jenkins-bot submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
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(-)

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 change 1101150. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I4f164171032da56277353ca034e412ed5ed5e73b
Gerrit-Change-Number: 1101150
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot