Skip to content

Commit bc76d47

Browse files
chore(infra): standardize repository to 2026 engineering baseline
1 parent b6cfeeb commit bc76d47

4 files changed

Lines changed: 62 additions & 0 deletions

File tree

‎.editorconfig‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{yml,yaml,json,md}]
12+
indent_size = 2
13+
14+
[Makefile]
15+
indent_style = tab

‎.gitattributes‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
* text=auto eol=lf
2+
3+
# Jupyter Notebook clean diff filter
4+
*.ipynb filter=clean_ipynb text
5+
6+
# Python bytecode & compiled binaries
7+
*.py[cod] binary
8+
*.so binary
9+
*.egg binary
10+
*.whl binary
11+
12+
# Large Model weights (Git LFS)
13+
*.onnx filter=lfs diff=lfs merge=lfs -text
14+
*.pt filter=lfs diff=lfs merge=lfs -text
15+
*.pth filter=lfs diff=lfs merge=lfs -text
16+
*.bin filter=lfs diff=lfs merge=lfs -text
17+
*.safetensors filter=lfs diff=lfs merge=lfs -text

‎.github/workflows/ci.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: CI Suite
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
branches: [main, master]
8+
9+
jobs:
10+
python-ci:
11+
uses: Danyp-Lab/.github/.github/workflows/reusable-python-ci.yml@main
12+
permissions:
13+
contents: read

‎.pre-commit-config.yaml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.6.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
args: ['--maxkb=10000']
10+
- id: check-merge-conflict
11+
12+
- repo: https://github.com/astral-sh/ruff-pre-commit
13+
rev: v0.7.1
14+
hooks:
15+
- id: ruff
16+
args: [--fix]
17+
- id: ruff-format

0 commit comments

Comments
 (0)