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
pywikibot-commits@lists.wikimedia.org