Show More
@@ -0,0 +1,16 b'' | |||
|
1 | # See https://pre-commit.com for more information | |
|
2 | # See https://pre-commit.com/hooks.html for more hooks | |
|
3 | repos: | |
|
4 | - repo: https://github.com/pre-commit/pre-commit-hooks | |
|
5 | rev: v3.2.0 | |
|
6 | hooks: | |
|
7 | - id: trailing-whitespace | |
|
8 | - id: end-of-file-fixer | |
|
9 | - id: check-yaml | |
|
10 | - id: check-added-large-files | |
|
11 | ||
|
12 | - repo: https://github.com/akaihola/darker | |
|
13 | rev: 1.3.1 | |
|
14 | hooks: | |
|
15 | - id: darker | |
|
16 |
@@ -1,47 +1,48 b'' | |||
|
1 | 1 | include README.rst |
|
2 | 2 | include COPYING.rst |
|
3 | 3 | include LICENSE |
|
4 | 4 | include setupbase.py |
|
5 | 5 | include setupegg.py |
|
6 | 6 | include MANIFEST.in |
|
7 | 7 | include pytest.ini |
|
8 | 8 | include mypy.ini |
|
9 | 9 | include .mailmap |
|
10 | 10 | include .flake8 |
|
11 | include .pre-commit-config.yaml | |
|
11 | 12 | |
|
12 | 13 | recursive-exclude tools * |
|
13 | 14 | exclude tools |
|
14 | 15 | exclude CONTRIBUTING.md |
|
15 | 16 | exclude .editorconfig |
|
16 | 17 | |
|
17 | 18 | graft setupext |
|
18 | 19 | |
|
19 | 20 | graft scripts |
|
20 | 21 | |
|
21 | 22 | # Load main dir but exclude things we don't want in the distro |
|
22 | 23 | graft IPython |
|
23 | 24 | |
|
24 | 25 | # Documentation |
|
25 | 26 | graft docs |
|
26 | 27 | exclude docs/\#* |
|
27 | 28 | exclude docs/man/*.1.gz |
|
28 | 29 | |
|
29 | 30 | exclude .git-blame-ignore-revs |
|
30 | 31 | |
|
31 | 32 | # Examples |
|
32 | 33 | graft examples |
|
33 | 34 | |
|
34 | 35 | # docs subdirs we want to skip |
|
35 | 36 | prune docs/build |
|
36 | 37 | prune docs/gh-pages |
|
37 | 38 | prune docs/dist |
|
38 | 39 | |
|
39 | 40 | # Patterns to exclude from any directory |
|
40 | 41 | global-exclude *~ |
|
41 | 42 | global-exclude *.flc |
|
42 | 43 | global-exclude *.yml |
|
43 | 44 | global-exclude *.pyc |
|
44 | 45 | global-exclude *.pyo |
|
45 | 46 | global-exclude .dircopy.log |
|
46 | 47 | global-exclude .git |
|
47 | 48 | global-exclude .ipynb_checkpoints |
General Comments 0
You need to be logged in to leave comments.
Login now