forked from AI-Hypercomputer/maxtext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
40 lines (36 loc) · 866 Bytes
/
.pre-commit-hooks.yaml
File metadata and controls
40 lines (36 loc) · 866 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
31
32
33
34
35
36
37
38
39
40
- id: codespell
name: codespell
description: Checks for common misspellings in text files.
entry: codespell
language: python
exclude: '^\.[^/]*(cache|assets|uv|venv)/.*'
types: [ text ]
- id: pyink
name: pyink
description: Run pyink Python code formatter.
entry: pyink
language: python
types:
- python
- text
# - id: pytype
# name: Pytype
# description: A static type analyzer for Python code.
# entry: pytype
# language: system
# types: [ python ]
- id: pylint
name: pylint
description: Checks for errors, enforces a coding standard, looks for code smells.
entry: pylint
language: system
types: [ python ]
# - id: validate-pyproject
# name: check toml
# description: checks pyproject.toml file
# types:
# - python
# - text
# - toml
# files: '^pyproject\.toml$'
# entry: validate-pyproject