-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
97 lines (88 loc) · 2.22 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
95
96
97
[project]
name = "geckoterminal-api"
version = "0.9.0"
description = "RESTful (sync + async) Python client for GeckoTerminal API"
license = "MIT"
keywords = [
"geckoterminal",
"coingecko",
"rest",
"api",
"async",
"cryptocurrency",
"bitcoin",
"ethereum",
"solana",
]
readme = "README.md"
authors = [{ name = "Dinesh Pinto", email = "annual.fallout_0z@icloud.com" }]
requires-python = ">=3.12"
dependencies = ["aiohttp>=3.11.7", "requests>=2.32.3"]
[project.urls]
Homepage = "https://github.com/dineshpinto/geckoterminal-api"
Repository = "https://github.com/dineshpinto/geckoterminal-api"
[dependency-groups]
dev = [
"pyright>=1.1.389",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"ruff>=0.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D",
"COM812",
"ISC001",
"PLR0913",
"S107",
"ANN201",
"ANN002",
"ANN003",
"ANN202",
"C901",
]
[tool.ruff.lint.extend-per-file-ignores]
"tests/**/*.py" = ["S101", "S106", "ANN003", "ANN001"]
[tool.ruff.format]
docstring-code-format = true
[tool.pyright]
include = ["geckoterminal_api/"]
pythonVersion = "3.12"
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
deprecateTypingAliases = true
disableBytesTypePromotions = true
reportUnusedClass = true
reportUnusedFunction = true
reportUntypedFunctionDecorator = true
reportUntypedClassDecorator = true
reportPrivateUsage = true
reportTypeCommentUsage = true
reportConstantRedefinition = true
reportDeprecated = true
reportInconsistentConstructor = true
reportUninitializedInstanceVariable = true
reportMissingParameterType = true
reportCallInDefaultInitializer = true
reportUnnecessaryIsInstance = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportUnnecessaryContains = true
reportInvalidStubStatement = true
reportUnusedExpression = true
reportUnnecessaryTypeIgnoreComment = true
reportMatchNotExhaustive = true
reportImplicitOverride = true
reportShadowedImports = true
[tool.pytest.ini_options]
testpaths = ["tests/"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "module"