|
| 1 | +# Generated from: |
| 2 | +# https://github.com/plone/meta/tree/main/src/plone/meta/default |
| 3 | +# See the inline comments on how to expand/tweak this configuration file |
| 4 | +ci: |
| 5 | + autofix_prs: false |
| 6 | + autoupdate_schedule: monthly |
| 7 | + |
| 8 | +repos: |
| 9 | +- repo: https://github.com/asottile/pyupgrade |
| 10 | + rev: v3.21.0 |
| 11 | + hooks: |
| 12 | + - id: pyupgrade |
| 13 | + args: [--py38-plus] |
| 14 | +- repo: https://github.com/pycqa/isort |
| 15 | + rev: 7.0.0 |
| 16 | + hooks: |
| 17 | + - id: isort |
| 18 | +- repo: https://github.com/psf/black-pre-commit-mirror |
| 19 | + rev: 25.9.0 |
| 20 | + hooks: |
| 21 | + - id: black |
| 22 | +- repo: https://github.com/collective/zpretty |
| 23 | + rev: 3.1.1 |
| 24 | + hooks: |
| 25 | + - id: zpretty |
| 26 | + |
| 27 | +## |
| 28 | +# Add extra configuration options in .meta.toml: |
| 29 | +# [pre_commit] |
| 30 | +# zpretty_extra_lines = """ |
| 31 | +# _your own configuration lines_ |
| 32 | +# """ |
| 33 | +## |
| 34 | +- repo: https://github.com/PyCQA/flake8 |
| 35 | + rev: 7.3.0 |
| 36 | + hooks: |
| 37 | + - id: flake8 |
| 38 | + |
| 39 | +## |
| 40 | +# Add extra configuration options in .meta.toml: |
| 41 | +# [pre_commit] |
| 42 | +# flake8_extra_lines = """ |
| 43 | +# _your own configuration lines_ |
| 44 | +# """ |
| 45 | +## |
| 46 | +- repo: https://github.com/codespell-project/codespell |
| 47 | + rev: v2.4.1 |
| 48 | + hooks: |
| 49 | + - id: codespell |
| 50 | + additional_dependencies: |
| 51 | + - tomli |
| 52 | + |
| 53 | +## |
| 54 | +# Add extra configuration options in .meta.toml: |
| 55 | +# [pre_commit] |
| 56 | +# codespell_extra_lines = """ |
| 57 | +# _your own configuration lines_ |
| 58 | +# """ |
| 59 | +## |
| 60 | +- repo: https://github.com/mgedmin/check-manifest |
| 61 | + rev: "0.51" |
| 62 | + hooks: |
| 63 | + - id: check-manifest |
| 64 | +- repo: https://github.com/regebro/pyroma |
| 65 | + rev: "5.0" |
| 66 | + hooks: |
| 67 | + - id: pyroma |
| 68 | +- repo: https://github.com/mgedmin/check-python-versions |
| 69 | + rev: "0.23.0" |
| 70 | + hooks: |
| 71 | + - id: check-python-versions |
| 72 | + args: ['--only', 'setup.py,pyproject.toml'] |
| 73 | +- repo: https://github.com/collective/i18ndude |
| 74 | + rev: "6.2.1" |
| 75 | + hooks: |
| 76 | + - id: i18ndude |
| 77 | + |
| 78 | + |
| 79 | +## |
| 80 | +# Add extra configuration options in .meta.toml: |
| 81 | +# [pre_commit] |
| 82 | +# i18ndude_extra_lines = """ |
| 83 | +# _your own configuration lines_ |
| 84 | +# """ |
| 85 | +## |
| 86 | + |
| 87 | + |
| 88 | +## |
| 89 | +# Add extra configuration options in .meta.toml: |
| 90 | +# [pre_commit] |
| 91 | +# extra_lines = """ |
| 92 | +# _your own configuration lines_ |
| 93 | +# """ |
| 94 | +## |
0 commit comments