-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
56 lines (44 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tool.poetry]
name = "unasyncd"
version = "0.8.1"
description = "A tool to transform asynchronous Python code to synchronous Python code."
authors = ["Janek Nouvertné <j.a.nouvertne@posteo.de>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
libcst = ">=1.0.0,<2"
click = "^8.1.7"
rich = "^13.6.0"
anyio = "^4.0.0"
msgspec = "^0.18.4"
tomli = {version = "^2.0.1", python = "<3.11"}
tomli-w = "^1.0.0"
rich-click = "^1.6.1"
ruff = {version = "*", optional = true}
importlib-metadata = { version = "^8.0.0", python = "<3.10" }
[tool.poetry.extras]
ruff = ["ruff"]
[tool.poetry.group.dev.dependencies]
pytest = "^7.3.1"
pre-commit = "^3.3.2"
pytest-mock = "^3.10.0"
ruff = "*"
[tool.poetry.scripts]
unasyncd = "unasyncd.cli:main"
[tool.ruff]
lint.select = [
"E", # pycodestyle
"F", # pyflakes
"ERA", # eradicate
"I", # isort
"RUF", # Ruff-specific rules
"TCH", # flake8-type-checking
"UP", # pyupgrade
]
target-version = "py38"
[tool.mypy]
strict = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"