-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
36 lines (31 loc) · 1.09 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[tool.poetry]
name = "open-news-brasil-telegram-lambda"
version = "0.1.0"
description = ""
authors = ["João Paulo Carvalho <[email protected]>"]
readme = "README.md"
packages = [
{ include = "*", from = "function", to = "function" },
{ include = "*/**", from = "function", to = "function" },
]
[tool.poetry.dependencies]
python = "^3.12"
aws-lambda-powertools = {extras = ["parser"], version = "^3.0.0"}
pyrogram = "^2.0.106"
tgcrypto = "^1.2.5"
emoji = "^2.13.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.6.8"
taskipy = "^1.13.0"
mypy = "^1.11.2"
bandit = "^1.7.10"
[tool.poetry-plugin-lambda-build]
package-artifact-path = "dist/function.zip"
[tool.taskipy.tasks]
tests = { cmd = "pytest", help = "Runs all unit tests" }
lint = { cmd = "ruff format && ruff check --fix", help = "Format and lint the code" }
security = { cmd = "bandit -c pyproject.toml -r fastrpa", help = "Check security issues on the code" }
check = { cmd = "ruff format --check && ruff check && mypy .", help = "Check code issues" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"