-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
87 lines (78 loc) · 2.06 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
# AUTO-GENERATED FILE - DO NOT EDIT
# This file was automatically generated by the XDK build tool.
# Any manual changes will be overwritten on the next generation.
# Auto-generated project configuration for the X API Python SDK.
#
# This file contains the Python package configuration including
# dependencies, build settings, and development tools configuration.
#
# Generated automatically - do not edit manually.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "xdk"
version = "0.9.0"
description = "Python SDK for the X API"
authors = [
{name = "X Developer Platform", email = "devs@x.com"},
]
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"requests>=2.25.0",
"requests-oauthlib>=1.3.0",
"pydantic>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/xdevplatform/xdk-python"
Repository = "https://github.com/xdevplatform/xdk-python"
[project.optional-dependencies]
dev = [
"black",
"pytest",
"pytest-cov",
"ruff",
"sphinx>=7.0.0",
"myst-parser>=2.0.0",
"sphinx-markdown-builder>=0.5.5",
"watchdog>=3.0.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
[tool.black]
line-length = 88
target-version = ['py38']
[tool.ruff]
target-version = "py38"
line-length = 88
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = []
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[dependency-groups]
dev = [
"pytest>=8.3.5",
]