21363: Unlist libcurl4 as a gems dependency
[arvados-formula.git] / .pre-commit-config.yaml
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3
4 # Copyright (C) The Arvados Authors. All rights reserved.
5 #
6 # SPDX-License-Identifier: Apache-2.0
7 ---
8 # See https://pre-commit.com for more information
9 # See https://pre-commit.com/hooks.html for more hooks
10 default_stages: [commit]
11 repos:
12   - repo: https://github.com/rubocop-hq/rubocop
13     rev: v1.9.1
14     hooks:
15       - id: rubocop
16         name: Check Ruby files with rubocop
17         args: [--debug]
18         always_run: true
19         pass_filenames: false
20   - repo: https://github.com/shellcheck-py/shellcheck-py
21     rev: v0.7.1.1
22     hooks:
23       - id: shellcheck
24         name: Check shell scripts with shellcheck
25         files: ^.*\.(sh|bash|ksh)$
26         types: []
27   - repo: https://github.com/adrienverge/yamllint
28     rev: v1.23.0
29     hooks:
30       - id: yamllint
31         name: Check YAML syntax with yamllint
32         args: [--strict, '.']
33         always_run: true
34         pass_filenames: false
35   - repo: https://github.com/warpnet/salt-lint
36     rev: v0.3.0
37     hooks:
38       - id: salt-lint
39         name: Check Salt files using salt-lint
40         files: ^.*\.(sls|jinja|j2|tmpl|tst)$
41   - repo: https://github.com/myint/rstcheck
42     rev: 3f929574
43     hooks:
44       - id: rstcheck
45         name: Check reST files using rstcheck
46         exclude: 'docs/CHANGELOG.rst'
47   - repo: https://github.com/saltstack-formulas/mirrors-rst-lint
48     rev: v1.3.2
49     hooks:
50       - id: rst-lint
51         name: Check reST files using rst-lint
52         exclude: |
53             (?x)^(
54                 docs/CHANGELOG.rst|
55                 docs/TOFS_pattern.rst|
56                 docs/CONTRIBUTING_DOCS.rst|
57                 docs/index.rst|
58             )$
59         additional_dependencies: [pygments==2.9.0]