-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
42 lines (34 loc) · 1010 Bytes
/
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
[tool.poetry]
name = "pycli"
version = "0.1.0"
description = ""
authors = ["Kyle Stiers <fakeemail@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
click = "^8.1.7"
rich-click = "^1.8.3"
pyserde = "^0.19.2"
pydantic = "^2.7.4"
pre-commit = "^3.7.1"
pytest = "^8.2.2"
ruff = "^0.5.0"
[tool.poetry.scripts]
pycli = "pycli.cli:cli"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
# 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "B"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in select subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.format]
# 5. Use single quotes for non-triple-quoted strings.
quote-style = "single"