Skip to content

Commit a576f1d

Browse files
authored
Fix github-linguist statistics (#547)
* Added .gitattributes Tell git that the test/testdata/ files and Jupyter Notebooks are binary files, ie. do not display diffs and do not touch line endings in those files. * Moved 'CQ examples.ipynb' to examples directory Now github-linguist will classify it as documentation, and the massive line count in that file will stop skewing the language statistics for CadQuery on Github.
1 parent 6a6e39f commit a576f1d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Don't display text diffs for files that are not human readable
2+
# Git should not modify line endings in these test files
3+
tests/testdata/* -diff -text
4+
5+
# Jupyter notebooks should be classified as documentation
6+
*.ipynb linguist-documentation -diff -text
File renamed without changes.

0 commit comments

Comments
 (0)