Skip to content

Commit

Permalink
Fix github-linguist statistics (#547)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
marcus7070 authored Dec 15, 2020
1 parent 6a6e39f commit a576f1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Don't display text diffs for files that are not human readable
# Git should not modify line endings in these test files
tests/testdata/* -diff -text

# Jupyter notebooks should be classified as documentation
*.ipynb linguist-documentation -diff -text
File renamed without changes.

0 comments on commit a576f1d

Please sign in to comment.