fix typechecker error, chage version in readme and etc

This commit is contained in:
2025-10-13 01:51:38 +03:00
parent 462a8088e9
commit 57fda20284
6 changed files with 8 additions and 7 deletions
-1
View File
@@ -1,5 +1,4 @@
from argenta.command import Command, PredefinedFlags, Flags, Flag, PossibleValues
from argenta.orchestrator.argparser.entity import ArgSpace
from argenta.response import Response
from argenta import Router
from argenta.di import FromDishka
+4 -2
View File
@@ -1,6 +1,6 @@
[project]
name = "argenta"
version = "1.1.1"
version = "1.1.2"
description = "Python library for building modular CLI applications"
authors = [{ name = "kolo", email = "kolo.is.main@gmail.com" }]
requires-python = ">=3.11"
@@ -26,6 +26,9 @@ exclude = [
[tool.pyright]
typeCheckingMode = "strict"
[tool.mypy]
disable_error_code = "import-untyped"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
@@ -37,4 +40,3 @@ dev = [
"ruff>=0.12.12",
"wemake-python-styleguide>=0.17.0",
]
+2 -1
View File
@@ -1,5 +1,6 @@
__all__ = ["App", "Orchestrator", "Router"]
from argenta.orchestrator.entity import Orchestrator, App
from argenta.orchestrator.entity import Orchestrator
from argenta.app.models import App
from argenta.router.entity import Router
+1 -1
View File
@@ -1,5 +1,5 @@
from argenta.orchestrator.argparser import ArgParser
from dishka import Provider, provide, Scope # type: ignore
from dishka import Provider, provide, Scope
from argenta.orchestrator.argparser.entity import ArgSpace
+1 -1
View File
@@ -24,5 +24,5 @@ class Response:
self.input_flags: InputFlags = input_flags
@classmethod
def patch_by_container(cls, container: Container):
def patch_by_container(cls, container: Container) -> None:
cls._dishka_container = container
@@ -1,6 +1,5 @@
from collections.abc import Iterator
from typing import Callable
import inspect
from argenta.command import Command
from argenta.response import Response