gha-utils 4.17.5__tar.gz → 4.17.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gha-utils might be problematic. Click here for more details.
- {gha_utils-4.17.5 → gha_utils-4.17.6}/PKG-INFO +1 -1
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/__init__.py +1 -1
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/metadata.py +9 -6
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/PKG-INFO +1 -1
- {gha_utils-4.17.5 → gha_utils-4.17.6}/pyproject.toml +2 -2
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/__main__.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/changelog.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/cli.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/mailmap.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/matrix.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/py.typed +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils/test_plan.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/SOURCES.txt +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/dependency_links.txt +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/entry_points.txt +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/requires.txt +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/gha_utils.egg-info/top_level.txt +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/readme.md +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/setup.cfg +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/tests/test_changelog.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/tests/test_mailmap.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/tests/test_matrix.py +0 -0
- {gha_utils-4.17.5 → gha_utils-4.17.6}/tests/test_metadata.py +0 -0
|
@@ -686,11 +686,14 @@ class Metadata:
|
|
|
686
686
|
)
|
|
687
687
|
|
|
688
688
|
@staticmethod
|
|
689
|
-
def glob_files(*patterns: str) -> Iterator[
|
|
689
|
+
def glob_files(*patterns: str) -> Iterator[Path]:
|
|
690
690
|
"""Glob files in patterns, while optionally ignoring some."""
|
|
691
|
-
yield from
|
|
692
|
-
|
|
693
|
-
|
|
691
|
+
yield from map(
|
|
692
|
+
Path,
|
|
693
|
+
iglob(
|
|
694
|
+
patterns,
|
|
695
|
+
flags=NODIR | GLOBSTAR | DOTGLOB | GLOBTILDE | BRACE | FOLLOW | NEGATE,
|
|
696
|
+
),
|
|
694
697
|
)
|
|
695
698
|
|
|
696
699
|
@cached_property
|
|
@@ -698,12 +701,12 @@ class Metadata:
|
|
|
698
701
|
return Path(".gitignore").is_file()
|
|
699
702
|
|
|
700
703
|
@cached_property
|
|
701
|
-
def python_files(self) -> Iterator[
|
|
704
|
+
def python_files(self) -> Iterator[Path]:
|
|
702
705
|
"""Returns a list of python files."""
|
|
703
706
|
yield from self.glob_files("**/*.py", "!.venv/**")
|
|
704
707
|
|
|
705
708
|
@cached_property
|
|
706
|
-
def doc_files(self) -> Iterator[
|
|
709
|
+
def doc_files(self) -> Iterator[Path]:
|
|
707
710
|
"""Returns a list of doc files."""
|
|
708
711
|
yield from self.glob_files("**/*.{md,markdown,rst,tex}", "!.venv/**")
|
|
709
712
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
3
3
|
name = "gha-utils"
|
|
4
|
-
version = "4.17.
|
|
4
|
+
version = "4.17.6"
|
|
5
5
|
# Python versions and their status: https://devguide.python.org/versions/
|
|
6
6
|
requires-python = ">= 3.11"
|
|
7
7
|
description = "⚙️ CLI helpers for GitHub Actions + reuseable workflows"
|
|
@@ -137,7 +137,7 @@ addopts = [
|
|
|
137
137
|
xfail_strict = true
|
|
138
138
|
|
|
139
139
|
[tool.bumpversion]
|
|
140
|
-
current_version = "4.17.
|
|
140
|
+
current_version = "4.17.6"
|
|
141
141
|
allow_dirty = true
|
|
142
142
|
ignore_missing_files = true
|
|
143
143
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|