1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00
trezor-firmware/tools/trezor-pylint-plugin/pyproject.toml
matejcik f0d6539d3d feat: custom Pylint plugin
for now, it catches the following incorrect function:

async def show_foo() -> Awaitable[None]:
    return show_something_else("foo")

because to correctly show the result, the caller would have to "await (await show_foo())"

(this should either be "async def show_foo() -> None", or "def show_foo() -> Awaitable[None]")
2023-11-30 09:27:57 +01:00

16 lines
296 B
TOML

[tool.poetry]
name = "trezor-pylint-plugin"
version = "0.1.0"
description = ""
authors = ["matejcik <ja@matejcik.cz>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
pylint = "*"
astroid = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"