-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
126 lines (115 loc) · 2.87 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[project]
name = "birdeye-py"
version = "0.0.9"
description = "Python wrapper for birdeye.so api"
readme = "README.md"
requires-python = ">=3.9"
maintainers = [
{name = "Nick Kelly", email = "[email protected]"}
]
dependencies = [
"requests==2.32.3",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/nickatnight/birdeye-py"
Issues = "https://github.com/nickatnight/birdeye-py/issues"
[tool.uv]
dev-dependencies = [
"black==24.10.0",
"isort==5.13.2",
"pytest==8.3.3",
"pytest-cov==6.0.0",
"ruff==0.7.1",
"pytest-mock==3.14.0",
"mypy==1.13.0",
"types-requests==2.32.0.20241016",
"codespell==2.3.0",
"twine==5.1.1",
"ipython==8.18.1",
"sphinx==7.4.7",
"sphinx-rtd-theme==3.0.1",
"sphinx-rtd-dark-mode==1.3.0",
]
[tool.isort]
multi_line_output = 3
lines_after_imports = 2
line_length = 88
include_trailing_comma = true
known_first_party = ["birdeyepy"]
sections = 'FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER'
[tool.black]
line-length = 88
include = '\.pyi?$'
extend-exclude = '''
(
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)
'''
[tool.ruff]
line-length = 88
exclude = [".git", "__pycache__", ".mypy_cache", ".pytest_cache", "migrations", ".venv"]
lint.select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
# "I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
lint.ignore = [
"B904",
"B006",
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.codespell]
skip = 'pyproject.toml'
ignore-words-list = 'selectin,'
[tool.coverage.report]
fail_under = 75
[tool.coverage.run]
omit = ['*tests/*', '*interfaces.py']
[tool.mypy]
# --strict
disable_error_code = ["type-arg"]
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = 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_return_any = true
implicit_reexport = false
strict_equality = true
# --strict end
[[tool.mypy.overrides]]
module = ["requests.packages.*"]
ignore_missing_imports = true