forked from NatLabRockies/ReEDS-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 878 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 878 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
28
29
30
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
hooks:
- id: black
language_version: python3.9
files: ^(hourlize/tests/.*\.py?|hourlize/reeds_to_rev.*\.py?)$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-json
- id: check-yaml
exclude: ^conda.recipe/
- id: end-of-file-fixer
exclude_types: [csv]
files: ^(hourlize/tests/.*\.py?|hourlize/reeds_to_rev.*\.py?)$
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-symlinks
- id: mixed-line-ending
exclude_types: [csv]
files: ^(hourlize/tests/.*\.py?|hourlize/reeds_to_rev.*\.py?)$
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/pylint
rev: v2.16.2
hooks:
- id: pylint
args: [
"hourlize"
]