Skip to content

Commit 91f5c55

Browse files
committed
chore(tasks): set mypy baseline to 3.9
It looks like mypy dropped the 3.8 support, so we need to migrate.
1 parent 2c99963 commit 91f5c55

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

reqif/parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Ignoring for now:
2+
# A005 Module `parser` shadows a Python standard-library module.
3+
# ruff: noqa: A005
14
import copy
25
import io
36
import os

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def lint_mypy(context):
141141
--disable-error-code=type-arg
142142
--disable-error-code=union-attr
143143
--strict
144-
--python-version=3.8
144+
--python-version=3.9
145145
""",
146146
)
147147

0 commit comments

Comments
 (0)