Skip to content

Commit

Permalink
gh-170: add traditional pre-commit-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Sep 18, 2024
1 parent 230690e commit e3f8cfa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/test-constraints.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--prefer-binary
--only-binary numpy,scipy,healpy,healpix
--prefer-binary
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
hooks:
Expand Down

0 comments on commit e3f8cfa

Please sign in to comment.