Skip to content

Commit 6d15e4c

Browse files
authored
more pre-commit hooks (#1)
* add a few more hooks * run all hooks
1 parent 31c3a27 commit 6d15e4c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
files: 'xdggs\/'
21
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-docstring-first
8+
- repo: https://github.com/pre-commit/mirrors-prettier
9+
rev: v3.0.3
10+
hooks:
11+
- id: prettier
312
- repo: https://github.com/astral-sh/ruff-pre-commit
4-
rev: v0.1.2
13+
rev: v0.1.4
514
hooks:
615
- id: ruff
716
- id: ruff-format

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# xdggs
2+
23
Xarray extension for DGGS

0 commit comments

Comments
 (0)