-
Notifications
You must be signed in to change notification settings - Fork 188
/
.pre-commit-config.yaml
39 lines (38 loc) · 1.08 KB
/
.pre-commit-config.yaml
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
31
32
33
34
35
36
37
38
39
---
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.3
hooks:
# Run the linter.
- id: ruff
# Run the formatter.
- id: ruff-format
- repo: https://github.com/johannsdg/pre-commit-license-headers
rev: v0.1.0
hooks:
- id: check-license-headers
args:
- "--template"
- |
Copyright (c) [YEARS] Chai Discovery, Inc.
Licensed under the Apache License, Version 2.0.
See the LICENSE file for details.
# - "--owner=The Pre-Commit License Headers Authors"
include: .*py
exclude: |
(?x)^(
examples/.*|
.pre-commit-config.yaml|
.pre-commit-hooks.yaml|
.github/workflows/.*yml|
.github/dependabot.yml|
.github/pull_request_template.md|
Dockerfile.chailab|
LICENSE|
README.md|
requirements.in|
ruff.toml|
chai_lab/data/residue_constants.py|
pyproject.toml
)$