Skip to content

Commit 9ed1502

Browse files
committed
Add typing stubs for mypy checks
1 parent be74a7f commit 9ed1502

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

noxfile.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
@nox.session
55
def lint(session):
6-
session.install('flake8', 'mypy')
7-
session.install('.')
6+
session.install('.[test]')
87
session.run('flake8', '--max-line-length', '88', 'wn')
98
session.run('mypy', 'wn')
109

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ test = [
4343
"mypy",
4444
"flake8",
4545
"nox",
46+
# typing stubs
47+
'types-requests',
48+
'types-toml',
4649
]
4750
doc = [
4851
"sphinx>=3.5,<4",

0 commit comments

Comments
 (0)