Skip to content

Commit 9564137

Browse files
phlogistonjohnbehrmann
authored andcommitted
pyproject: add mypy configuration block with python 3.9 syntax
Add a mypy configuration block to the pyproject.toml file that configures mypy to use python 3.9 syntax, the oldest version of python that the library supports. Signed-off-by: John Mulligan <jmulligan@redhat.com>
1 parent 3de1fa1 commit 9564137

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ target-version = "py39"
1414
line-length = 109
1515
lint.select = ["E", "F", "I", "UP"]
1616

17+
[tool.mypy]
18+
python_version = 3.9
19+
1720
### tox configuration ###
1821
[tool.tox]
1922
env_list = ["py313", "py312", "py311", "py310", "py39", "pypy3"]

0 commit comments

Comments
 (0)