pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

python3 exceeds tier max size #171

Closed winterz closed 1 year ago

winterz commented 1 year ago

https://results.pre-commit.ci/run/github/180151401/1676027392.bBbYCsLrRJuA86IX-IvV1g

shows the error "build of https://github.com/PyCQA/pylint:PySide2,PySide6@v2.15.5 for python@python3 exceeds tier max size 250MiB: 937.8MiB"

is there a way to increase the default max tier size in my .pre-commit-config.py somehow? or other suggestions on how to get past this limitation would be greatly appreciated.

winterz commented 1 year ago

here's the relevant stanza from my .pre-commit-config.py

- repo: https://github.com/PyCQA/pylint
  rev: v2.15.5
  hooks:
  - id: pylint
    exclude: ^(.cmake-format.py|conan/conanfile.py)
    additional_dependencies: ["PySide2", "PySide6"]
asottile commented 1 year ago

free tier has a limit of 250MiB per hook -- installing both pyside2 and pyside6 along pylint is well over that limit

winterz commented 1 year ago

probably installing even one of those would also be over the limit. oh well

winterz commented 1 year ago

is there a conditional of some-sort I can use in the .pre-commit-config.yaml that says "skip the pylint check when running on pre-commit.ci" ?

asottile commented 1 year ago

yes -- it's documented on https://pre-commit.ci

winterz commented 1 year ago

thank you for your time. works