Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Improve packaging tooling #923

Merged
merged 3 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,8 @@ repos:
types: [file]
types_or: [python, pyi, markdown, rst, jupyter]
args: [-L doas]

- repo: https://github.com/mgedmin/check-manifest
rev: "0.47"
hooks:
- id: check-manifest
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include changelog.md
include LICENSE
include README.md
setup.cfg
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

### 🚧 Maintenance

- 🔧 Improve packaging tooling (#923)

## 0.5.1 (2021-12-31)

### 🩹 Bug fixes
Expand Down
26 changes: 25 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ force_single_line = true
remove_redundant_aliases = true

[tool.interrogate]
exclude = ["setup.py", "docs", "*test/*", "benchmark/*"]
exclude = [
"setup.py",
"docs",
"*test/*",
"benchmark/*"
]
ignore-init-module = true
fail-under = 59

Expand Down Expand Up @@ -67,3 +72,22 @@ exclude_lines = [
'if __name__ == .__main__.:',
'if TYPE_CHECKING:'
]

[tool.check-manifest]
ignore = [
"benchmark/**/*",
"binder/**/*",
"docs/**/*",
"*/.pytest_cache/**/*",
"*/.mypy_cache/**/*",
".git-blame-ignore-revs",
".gitignore",
".pre-commit-config.yaml",
".sonarcloud.properties",
".sourcery.yaml",
".zenodo.json",
"codecov.yml",
"readthedocs.yml",
"requirements_dev.txt",
"tox.ini",
]