Skip to content

Commit e7c05fe

Browse files
committed
build: .ignore is a standard way to control searching
1 parent f22e7cd commit e7c05fe

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

.ignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# .ignore for coverage: controls what files get searched.
2+
build/
3+
htmlcov/
4+
html0
5+
.tox*
6+
.coverage*
7+
.metacov
8+
coverage.json
9+
coverage.xml
10+
coverage.lcov
11+
*.min.js
12+
style.css
13+
gold/
14+
sample_html/
15+
sample_html_beta/
16+
*.so
17+
*.pyd
18+
*.gz
19+
*.zip
20+
_build/
21+
_spell/
22+
*.egg
23+
*.egg-info
24+
.*_cache
25+
tmp/

.treerc

-19
This file was deleted.

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
include .editorconfig
1212
include .git-blame-ignore-revs
13+
include .ignore
1314
include .pre-commit-config.yaml
1415
include .readthedocs.yaml
1516
include CHANGES.rst

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ commands =
9898
python -m cogapp -cP --check --verbosity=1 doc/*.rst
9999
python -m cogapp -cP --check --verbosity=1 .github/workflows/*.yml
100100
python -m pylint -j 0 --notes= --ignore-paths 'doc/_build/.*' {env:LINTABLE}
101-
check-manifest --ignore 'doc/sample_html/*,.treerc'
101+
check-manifest --ignore 'doc/sample_html/*'
102102
# If 'build -q' becomes a thing (https://github.com/pypa/build/issues/188),
103103
# this can be simplified:
104104
python igor.py quietly "python -m build"

0 commit comments

Comments
 (0)