From 0f86e467ae0ab0eb78978ec00016628b6097900c Mon Sep 17 00:00:00 2001 From: s-weigand Date: Thu, 2 Dec 2021 12:50:45 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A9=B9=20Changed=20old=20HISTORY.rst?= =?UTF-8?q?=20to=20changelog.md=20in=20manifest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index b84da8042..dfa04de91 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ include AUTHORS.rst include CONTRIBUTING.rst -include HISTORY.rst +include changelog.md include LICENSE include README.md setup.cfg From f6d9df5419b226ca9c74824f464181d61788650b Mon Sep 17 00:00:00 2001 From: s-weigand Date: Thu, 2 Dec 2021 13:56:39 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=A7=20Added=20'check-manifest'=20p?= =?UTF-8?q?re-commit=20hook=20to=20check=20for=20missing=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit in the distribution --- .pre-commit-config.yaml | 5 +++++ pyproject.toml | 26 +++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b5ea5205e..f8e097bf8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 72ebe1218..f04e190af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -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", +] From d6e64003401d1c48b07a8e90eea47e222792b0c2 Mon Sep 17 00:00:00 2001 From: Joris Snellenburg Date: Sat, 1 Jan 2022 13:25:55 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=9A=20Add=20change=20to=20changelo?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 🔧 Improve packaging tooling (#923) --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/changelog.md b/changelog.md index 7b46eec22..f93a39e9f 100644 --- a/changelog.md +++ b/changelog.md @@ -14,6 +14,8 @@ ### 🚧 Maintenance +- 🔧 Improve packaging tooling (#923) + ## 0.5.1 (2021-12-31) ### 🩹 Bug fixes