gha-utils 4.17.5__py3-none-any.whl → 4.17.6__py3-none-any.whl
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/__init__.py +1 -1
- gha_utils/metadata.py +9 -6
- {gha_utils-4.17.5.dist-info → gha_utils-4.17.6.dist-info}/METADATA +1 -1
- {gha_utils-4.17.5.dist-info → gha_utils-4.17.6.dist-info}/RECORD +7 -7
- {gha_utils-4.17.5.dist-info → gha_utils-4.17.6.dist-info}/WHEEL +0 -0
- {gha_utils-4.17.5.dist-info → gha_utils-4.17.6.dist-info}/entry_points.txt +0 -0
- {gha_utils-4.17.5.dist-info → gha_utils-4.17.6.dist-info}/top_level.txt +0 -0
gha_utils/__init__.py
CHANGED
gha_utils/metadata.py
CHANGED
|
@@ -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,14 +1,14 @@
|
|
|
1
|
-
gha_utils/__init__.py,sha256=
|
|
1
|
+
gha_utils/__init__.py,sha256=MEhM4GYrMwnLSp11KpETaX1AN9H94K6LdZGWSCI9_OM,866
|
|
2
2
|
gha_utils/__main__.py,sha256=Dck9BjpLXmIRS83k0mghAMcYVYiMiFLltQdfRuMSP_Q,1703
|
|
3
3
|
gha_utils/changelog.py,sha256=JR7iQrWjLoIOpVNe6iXQSyEii82_hM_zrYpR7QO_Uxo,5777
|
|
4
4
|
gha_utils/cli.py,sha256=dj_n4ouQRNVzt5e9793sYsldaub1IgzFi6sEfA-kg-A,15295
|
|
5
5
|
gha_utils/mailmap.py,sha256=g3LQiPNjHsAgCbEYOJcQwdlXqxzmFh697vv2sxHZq-s,7014
|
|
6
6
|
gha_utils/matrix.py,sha256=_afJD0K-xZLNxwykVnUhD0Gj9cdO0Z43g3VHa-q_tkI,11941
|
|
7
|
-
gha_utils/metadata.py,sha256=
|
|
7
|
+
gha_utils/metadata.py,sha256=CGULj_-p48746gtLtiSpPTDaWQy3behFqsEwjrKj7og,51250
|
|
8
8
|
gha_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
gha_utils/test_plan.py,sha256=AE8Mf1vSQG5EZTytoTts-gzMwUg2Zy21gUwkMlzXT94,13394
|
|
10
|
-
gha_utils-4.17.
|
|
11
|
-
gha_utils-4.17.
|
|
12
|
-
gha_utils-4.17.
|
|
13
|
-
gha_utils-4.17.
|
|
14
|
-
gha_utils-4.17.
|
|
10
|
+
gha_utils-4.17.6.dist-info/METADATA,sha256=XgZn3bWSl1BVOKDLuAcDXVfY8IhtJtrkwfrmRM1SwTQ,21260
|
|
11
|
+
gha_utils-4.17.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
12
|
+
gha_utils-4.17.6.dist-info/entry_points.txt,sha256=8bJOwQYf9ZqsLhBR6gUCzvwLNI9f8tiiBrJ3AR0EK4o,54
|
|
13
|
+
gha_utils-4.17.6.dist-info/top_level.txt,sha256=C94Blb61YkkyPBwCdM3J_JPDjWH0lnKa5nGZeZ5M6yE,10
|
|
14
|
+
gha_utils-4.17.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|