Enforce modern typing (#258)

* Allow UP

* Upgrade typing

* test smolagents

* Change to contextlib

---------

Co-authored-by: Marcus Valtonen Örnhag <marcus.valtonen.ornhag@ericsson.com>
This commit is contained in:
Marcus Valtonen Örnhag
2025-04-08 22:46:12 +02:00
committed by GitHub
parent a07e9439b6
commit f70b27bd41
15 changed files with 43 additions and 47 deletions

View File

@@ -105,12 +105,12 @@ select = [
"W",
"Q",
"I",
"UP",
]
# These can be turned on when the framework is more mature (Too many errors right now)
exclude = [
"D",
"UP"
]
# Avoid enforcing line-length violations (`E501`)