forked from ESMCI/cime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
27 lines (26 loc) · 915 Bytes
/
.pre-commit-config.yaml
File metadata and controls
27 lines (26 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
exclude: ^utils/.*$
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-xml
files: config/
- id: end-of-file-fixer
exclude: doc/
- id: trailing-whitespace
exclude: doc/
- id: debug-statements
exclude: doc/|CIME/utils.py
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
files: CIME
- repo: https://github.com/PyCQA/pylint
rev: v2.11.1
hooks:
- id: pylint
args:
- --disable=I,C,R,logging-not-lazy,wildcard-import,unused-wildcard-import,fixme,broad-except,bare-except,eval-used,exec-used,global-statement,logging-format-interpolation,no-name-in-module,arguments-renamed,unspecified-encoding,protected-access,import-error,no-member,logging-fstring-interpolation
files: CIME
exclude: CIME/(tests|Tools|code_checker.py)