File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ Changelog
3232
3333 Add documentation for ``setuptools-git-versioning `` script
3434
35+ .. change ::
36+ :tags: tests, refactoring
37+
38+ Use builtin type annotations (instead of type comments) in ``tests/lib/util.py ``,
39+ use modern annotations syntax (``type | None `` instead of ``Optional[type] ``)
40+
35411.10
3642----
3743
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import logging
24import os
35import subprocess
68from datetime import datetime
79from pathlib import Path
810from secrets import token_hex
9- from typing import Any , Callable , Dict
11+ from typing import Any , Callable
1012
1113import toml
1214
@@ -168,7 +170,7 @@ def create_pyproject_toml(
168170 ** kwargs ,
169171 )
170172
171- cfg : Dict [str , Any ] = {}
173+ cfg : dict [str , Any ] = {}
172174 cfg ["build-system" ] = {
173175 "requires" : [
174176 "setuptools>=41" ,
You can’t perform that action at this time.
0 commit comments