-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.pre-commit-config.yaml
33 lines (31 loc) · 1.03 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
# exclude: '(^docs/conf.py|^user_data/External_tables/*|^docs/references/*|^pyuvdata/data/*|^pyuvdata/uvdata/src/*|^pyuvdata/tests/Line_Profiler_full.out|.codecov.yml)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-ast
- id: check-json
- id: check-merge-conflict
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
args: ['--fix=no']
- repo: https://github.com/PyCQA/flake8
rev: '7.0.0'
hooks:
- id: flake8
additional_dependencies:
- flake8-builtins
- flake8-comprehensions
- flake8-docstrings
- flake8-pytest
- flake8-rst-docstrings
- pep8-naming
- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black