mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Read requirements for static typing from 'tests/typing/'.
This commit is contained in:
2
.github/workflows/StaticTypeCheck.yml
vendored
2
.github/workflows/StaticTypeCheck.yml
vendored
@@ -38,7 +38,7 @@ on:
|
|||||||
requirements:
|
requirements:
|
||||||
description: 'Python dependencies to be installed through pip.'
|
description: 'Python dependencies to be installed through pip.'
|
||||||
required: false
|
required: false
|
||||||
default: '-r tests/requirements.txt'
|
default: '-r tests/typing/requirements.txt'
|
||||||
type: string
|
type: string
|
||||||
mypy_options:
|
mypy_options:
|
||||||
description: 'Additional mypy options.'
|
description: 'Additional mypy options.'
|
||||||
|
|||||||
6
tests/typing/requirements.txt
Normal file
6
tests/typing/requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
-r ../../requirements.txt
|
||||||
|
|
||||||
|
# Static Type Checking
|
||||||
|
mypy[reports] ~= 1.19
|
||||||
|
typing_extensions ~= 4.15
|
||||||
|
lxml >= 5.4, <7.0
|
||||||
Reference in New Issue
Block a user