~gotmax23/fedrq

fedrq: lint: fix incorrect type annotation v1 PROPOSED

Maxwell G: 1
 lint: fix incorrect type annotation

 1 files changed, 1 insertions(+), 1 deletions(-)
#1200681 epel9.yml success
#1200682 main.yml success
#1200683 mockbuild.yml success
#1200684 test.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~gotmax23/fedrq/patches/51238/mbox | git am -3
Learn more about email & git

[PATCH fedrq] lint: fix incorrect type annotation Export this patch

---
 src/fedrq/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fedrq/__init__.py b/src/fedrq/__init__.py
index 654114a..c2cfee5 100644
--- a/src/fedrq/__init__.py
+++ b/src/fedrq/__init__.py
@@ -17,7 +17,7 @@ __version__ = "1.0.0.post0"


def _filter_pydantic_v2_warnings() -> None:
    typ: DeprecationWarning | None
    typ: type[DeprecationWarning] | None
    if typ := getattr(pydantic, "PydanticDeprecatedSince20", None):
        warnings.simplefilter(action="ignore", category=typ)

-- 
2.44.0
fedrq/patches: SUCCESS in 2m4s

[lint: fix incorrect type annotation][0] from [Maxwell G][1]

[0]: https://lists.sr.ht/~gotmax23/fedrq/patches/51238
[1]: mailto:maxwell@gtmx.me

✓ #1200681 SUCCESS fedrq/patches/epel9.yml     https://builds.sr.ht/~gotmax23/job/1200681
✓ #1200682 SUCCESS fedrq/patches/main.yml      https://builds.sr.ht/~gotmax23/job/1200682
✓ #1200684 SUCCESS fedrq/patches/test.yml      https://builds.sr.ht/~gotmax23/job/1200684
✓ #1200683 SUCCESS fedrq/patches/mockbuild.yml https://builds.sr.ht/~gotmax23/job/1200683