-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
68 lines (62 loc) · 1.54 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
[project]
name = "getswish"
authors = [{ name = "Daniel Nibon", email = "daniel@nibon.se" }]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["swish", "getswish", "payment", "payout"]
requires-python = ">=3.10"
dependencies = [
"requests >= 2.27",
"rsa >= 4.7.2",
]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version", "description"]
[project.urls]
Source = "https://github.com/nibon/getswish-python"
[project.optional-dependencies]
tests = [
"pytest >= 7",
"pytest-mock",
"pytest-cov >= 4",
"ruff",
"nox",
]
deploy = [
"flit >= 3.8",
]
[build-system]
requires = ["flit_core >=3.8.0,<4"]
build-backend = "flit_core.buildapi"
[tool.ruff.isort]
force-sort-within-sections = true
[tool.ruff]
select = ["E", "F"]
ignore = []
fixable = [
"A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE",
"COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH",
"PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT"
]
unfixable = []
exclude = [
"venv",
".venv",
"tests",
".git",
".ruff_cache",
".tox",
".venv",
"__pypackages__",
"dist",
"node_modules",
]
line-length = 120
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py312"
[tool.ruff.mccabe]
max-complexity = 10