Skip to content

Commit c3b1394

Browse files
Improve manifest.in; Clean up (#139)
* Improve manifest.in; Clean up * Fixes
1 parent d63ff3f commit c3b1394

4 files changed

Lines changed: 45 additions & 27 deletions

File tree

.pre-commit-config.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@ default_language_version:
55

66
repos:
77

8-
- repo: local
8+
- repo: https://github.com/PyCQA/doc8
9+
rev: v1.1.2
910
hooks:
10-
- id: detect-secrets
11-
name: Detect secrets
12-
language: python
13-
entry: detect-secrets-hook
14-
args: ['--baseline', '.secrets.baseline']
15-
1611
- id: doc8
17-
name: Doc8 linter
18-
language: python
19-
entry: doc8
2012
args: []
2113

14+
- repo: https://github.com/Yelp/detect-secrets
15+
rev: v1.5.0
16+
hooks:
17+
- id: detect-secrets
18+
args: ['--baseline', '.secrets.baseline']
19+
2220
- repo: https://github.com/pre-commit/pre-commit-hooks
2321
rev: v5.0.0
2422
hooks:

.pre-commit-hooks.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.secrets.baseline

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

MANIFEST.in

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# Include license and metadata files:
2+
include pyproject.toml
13
include README.rst
24
include LICENSE.rst
35
include CHANGELOG.rst
6+
7+
# Exclude anything under docs/ and examples/:
8+
prune .github
9+
prune docs
10+
prune examples
11+
prune scripts
12+
13+
# Exclude specific files
14+
exclude .env
15+
exclude .coveralls.yml
16+
exclude .gitignore
17+
exclude .hgignore
18+
exclude .pre-commit-config.yaml
19+
exclude .readthedocs.yaml
20+
exclude .scrutinizer.yml
21+
exclude .secrets.baseline
22+
exclude CODE_OF_CONDUCT.rst
23+
exclude CODE_OF_CONDUCT.md
24+
exclude conftest.py
25+
exclude CONTRIBUTING.rst
26+
exclude Dockerfile
27+
exclude Makefile
28+
exclude monkeytype_config.py
29+
exclude SECURITY.md
30+
exclude SECURITY.rst
31+
exclude tox.ini
32+
exclude tests.coveragerc
33+
34+
# Exclude any hidden directories:
35+
prune __pycache__
36+
37+
# Drop bytecode, etc.
38+
-global-exclude *.py[cod]

0 commit comments

Comments
 (0)