File tree Expand file tree Collapse file tree 13 files changed +50
-12
lines changed
Expand file tree Collapse file tree 13 files changed +50
-12
lines changed Original file line number Diff line number Diff line change 33repos :
44- repo : https://github.com/astral-sh/ruff-pre-commit
55 # Ruff version.
6- rev : v0.14.0
6+ rev : v0.14.10
77 hooks :
88 # Run the linter.
99 - id : ruff
3030 language : system
3131 types : [ python ]
3232 exclude : tests
33+ - id : ty
34+ name : ty check
35+ entry : uv run ty check .
36+ language : system
37+ types : [ python ]
38+ exclude : tests
Original file line number Diff line number Diff line change 2222 FormData ,
2323 ServerDisconnectedError ,
2424)
25+ from botocore .client import BaseClient
2526from botocore .config import Config
2627from warrant_lite import WarrantLite
2728
@@ -402,7 +403,7 @@ async def nexity_login(self) -> str:
402403 """Authenticate via Nexity identity and acquire SSO token."""
403404 loop = asyncio .get_event_loop ()
404405
405- def _get_client () -> boto3 . session . Session . client :
406+ def _get_client () -> BaseClient :
406407 return boto3 .client (
407408 "cognito-idp" , config = Config (region_name = NEXITY_COGNITO_REGION )
408409 )
Original file line number Diff line number Diff line change 88if sys .version_info >= (3 , 11 ):
99 from enum import StrEnum
1010else :
11- from backports .strenum import StrEnum
11+ from backports .strenum import StrEnum # type: ignore[import]
1212
1313
1414@unique
Original file line number Diff line number Diff line change 1111if sys .version_info >= (3 , 11 ):
1212 from enum import StrEnum
1313else :
14- from backports .strenum import StrEnum
14+ from backports .strenum import StrEnum # type: ignore[import]
1515
1616
1717@unique
Original file line number Diff line number Diff line change 1111if sys .version_info >= (3 , 11 ):
1212 from enum import StrEnum
1313else :
14- from backports .strenum import StrEnum
14+ from backports .strenum import StrEnum # type: ignore[import]
1515
1616
1717@unique
Original file line number Diff line number Diff line change 1111if sys .version_info >= (3 , 11 ):
1212 from enum import StrEnum
1313else :
14- from backports .strenum import StrEnum
14+ from backports .strenum import StrEnum # type: ignore[import]
1515
1616
1717@unique
Original file line number Diff line number Diff line change 88if sys .version_info >= (3 , 11 ):
99 from enum import StrEnum
1010else :
11- from backports .strenum import StrEnum
11+ from backports .strenum import StrEnum # type: ignore[import]
1212
1313
1414@unique
Original file line number Diff line number Diff line change 1111if sys .version_info >= (3 , 11 ):
1212 from enum import StrEnum
1313else :
14- from backports .strenum import StrEnum
14+ from backports .strenum import StrEnum # type: ignore[import]
1515
1616
1717@unique
Original file line number Diff line number Diff line change 88if sys .version_info >= (3 , 11 ):
99 from enum import StrEnum
1010else :
11- from backports .strenum import StrEnum
11+ from backports .strenum import StrEnum # type: ignore[import]
1212
1313
1414@unique
Original file line number Diff line number Diff line change 88if sys .version_info >= (3 , 11 ):
99 from enum import StrEnum
1010else :
11- from backports .strenum import StrEnum
11+ from backports .strenum import StrEnum # type: ignore[import]
1212
1313
1414@unique
You can’t perform that action at this time.
0 commit comments