-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
47 lines (38 loc) · 1005 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
43
44
45
46
47
[project]
name = "fertilizer"
version = "0.3.0"
description = "fertilizer helps your seeds grow"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"bencoder",
"colorama",
"requests",
"flask"
]
[project.optional-dependencies]
dev = ["pytest", "ruff", "requests-mock"]
[project.scripts]
fertilizer = "fertilizer.main:main"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 120
indent-width = 2
# Assume Python 3.11
target-version = "py311"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
select = ["E4", "E7", "E9", "F"]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"