-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
94 lines (72 loc) · 1.6 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[tool.poetry]
name = "pinballmap"
version = "0.4.6"
description = "Python client for the Pinball Map API"
keywords = ["pinball", "map", "API"]
readme = "README.rst"
authors = ["Duna Csandl <[email protected]>"]
license = "MIT"
packages = [
{ include = "pinballmap" },
]
[tool.poetry.dependencies]
python = ">=3.11,<4.0.0"
requests = "^2.32.3"
tabulate = "^0.9.0"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
bump2version = "*"
ipython = "^8.26.0"
jupyter = { version = "^1.0.0", optional = true }
pytest = "^8.3.2"
Sphinx = "^8.0.0"
ruff = "^0.5.5"
isort = "^5.13.2"
[tool.poetry.extras]
jupyter = ["jupyter"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
pinballmap = "pinballmap.cli:cli"
[tool.isort]
profile = "black"
[tool.pytest]
log_cli_level = "info"
[tool.ruff]
extend-exclude = ["docs/yourapp"]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["RUF002", "COM812"]
# 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"
docstring-code-format = true
docstring-code-line-length = 60
[tool.coverage.run]
omit = [
"tests/*",
]