Skip to content

Commit 868fa53

Browse files
authored
dev: add pixi setup for reproducible environments [no-ci] (#1066)
* chore: exclude pixi.lock from license checks as well as whitespace cleanups * chore: add pixi gitattributes and gitignore modifications * chore: rename groups and consolidate * chore: add pixi setup to cuda_pathfinder * chore: update pixi lock
1 parent ffd8d5a commit 868fa53

File tree

5 files changed

+1973
-9
lines changed

5 files changed

+1973
-9
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ cuda/_version.py export-subst
77
*.hpp binary
88
# git should not convert line endings in PNG files
99
*.png binary
10+
# SCM syntax highlighting & preventing 3-way merges
11+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,7 @@ cython_debug/
182182

183183
# Dont ignore
184184
!.github/actions/build/
185+
# pixi environments
186+
.pixi/*
187+
!.pixi/config.toml
188+
.gdb_history

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ repos:
2424
- repo: local
2525
hooks:
2626
- id: check-spdx
27+
exclude: 'pixi\.lock$'
2728
name: Check SPDX Headers
2829
entry: python ./toolshed/check_spdx.py
2930
language: python
@@ -51,7 +52,7 @@ repos:
5152
- id: check-yaml
5253
- id: debug-statements
5354
- id: end-of-file-fixer
54-
exclude: &gen_exclude '^(?:cuda_bindings/cuda/bindings/.*\.in?|cuda_bindings/docs/source/module/.*\.rst?)$'
55+
exclude: &gen_exclude '^(?:cuda_bindings/cuda/bindings/.*\.in?|cuda_bindings/docs/source/module/.*\.rst?|pixi\.lock)$'
5556
- id: mixed-line-ending
5657
- id: trailing-whitespace
5758
exclude: *gen_exclude

0 commit comments

Comments
 (0)