mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
a3be2a7d05
commit
70b651a393
|
@ -11,8 +11,7 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
npmjs.com: '*'
|
npmjs.com: '*'
|
||||||
script:
|
script: npm i $ARGS .
|
||||||
npm i $ARGS .
|
|
||||||
env:
|
env:
|
||||||
ARGS:
|
ARGS:
|
||||||
- -ddd
|
- -ddd
|
||||||
|
@ -32,7 +31,7 @@ test:
|
||||||
def wrong_types(a: int, b: int) -> str:
|
def wrong_types(a: int, b: int) -> str:
|
||||||
return a + b
|
return a + b
|
||||||
extname: py
|
extname: py
|
||||||
- cat out.log | grep 'Expression of type "int" cannot be assigned to return type "str"'
|
- cat out.log | grep -E 'Expression of type "int" (cannot be assigned to|is incompatible with) return type "str"'
|
||||||
- run: pyright $FIXTURE 2>&1 | grep '0 errors, 0 warnings, 0 informations'
|
- run: pyright $FIXTURE 2>&1 | grep '0 errors, 0 warnings, 0 informations'
|
||||||
fixture:
|
fixture:
|
||||||
content: |
|
content: |
|
||||||
|
|
Loading…
Reference in a new issue