-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
63 lines (54 loc) · 1.17 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
57
58
59
60
61
62
63
[tool.poetry]
name = "chaski"
version = "0.5.0"
description = ""
authors = ["Bruno Ciconelle <[email protected]>"]
readme = "README.md"
packages = [{ include = "app.py" }]
[tool.poetry.scripts]
chaski = 'app:app'
[tool.poetry.dependencies]
python = "^3.9"
toml = "^0.10.2"
PyYAML = "^6.0"
requests = "^2.28.1"
typer = { extras = ["all"], version = "^0.6.1" }
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
ipykernel = "^6.15.1"
ruff = "^0"
[tool.poetry.group.commit-lint.dependencies]
commitizen = "^2.40.0"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.5.0"
tag_format = "$version"
version_files = [
"pyproject.toml:^version"
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
select = [
"C90", # mccabe complexity
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"Q", # flake8-quotes
"W", # pycodestyle
"PL", # Pylint
"BLE", # flake8-blind-except
"PTH", # flake8-use-pathlib
]
ignore = [
"D107",
"D203",
"D403",
]
target-version = "py311"
[tool.ruff.mccabe]
max-complexity = 10
[tool.ruff.pydocstyle]
convention = "pep257"