-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (76 loc) · 1.8 KB
/
pyproject.toml
File metadata and controls
89 lines (76 loc) · 1.8 KB
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
[project]
name = "bitkub-python"
version = "0.2.0"
authors = [{ name = "Praphan Klairith", email = "p.klairith@gmail.com" }]
description = "A Python library for Bitkub API"
requires-python = ">=3.8"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"requests>=2.31.0",
]
[project.urls]
"Homepage" = "https://github.com/xbklairith/bitkub-python"
"Bug Tracker" = "https://github.com/xbklairith/bitkub-python/issues"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.ruff]
target-version = "py38"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
]
[tool.ruff.lint.isort]
known-first-party = ["bitkub"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
lint = [
"ruff>=0.1.0",
"mypy>=1.0.0",
]
[dependency-groups]
test = [
"pytest>=7.0",
"requests-mock>=1.10",
"nox>=2023.4.22",
"coverage>=7.6.1",
"pytest-cov>=5.0.0",
]
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[[tool.mypy.overrides]]
module = "requests.*"
ignore_missing_imports = true