agentune icon indicating copy to clipboard operation
agentune copied to clipboard

Enforce modern collection type hints

Open leonidb opened this issue 1 year ago • 1 comments

Details

Use and enforce: list[T] instead of typing.List[T] tuple[T, …] instead of typing.Tuple[T, …] dict[K, V] instead of typing.Dict[K, V] set[T] instead of typing.Set[T] ...

Relevant ruff rules: UP006, UP007, UP045, UP035

leonidb avatar Jul 02 '25 13:07 leonidb

@copilot please try again. Don't change the lock more than required for this task

leonidb avatar Jul 02 '25 14:07 leonidb