-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpyproject.toml
115 lines (98 loc) · 2.79 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
# Load setuptools info and dynamic version
[tool.setuptools]
packages = [
"fortnite_api",
"fortnite_api.cosmetics",
"fortnite_api.cosmetics.variants",
]
[tool.setuptools.dynamic]
version = { attr = "fortnite_api.__version__" }
dependencies = { file = "requirements.txt" }
[tool.setuptools.package-data]
fortnite_api = ["py.typed"]
# And specify project specific metadata
[project]
name = "fortnite-api"
dynamic = ["version", "dependencies"]
authors = [
{ name = "Luc1412", email = '[email protected]' },
{ name = "Trevor Flahardy", email = "[email protected]" },
]
description = "A python wrapper for Fortnite-API.com"
readme = "README.md"
requires-python = ">=3.9.0"
license = { file = "LICENSE" }
keywords = [
'fortnite',
'fortnite-api.com',
'shop',
'cosmetics',
'fortnite api',
'fortnite shop',
]
classifiers = [
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'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 :: Internet',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
[project.optional-dependencies]
tests = [
'pytest',
'pytest-asyncio',
'pytest-cov',
'python-dotenv',
'pytest-mock',
]
docs = [
'sphinx',
'sphinxcontrib_trio',
'sphinxcontrib-websupport',
'typing-extensions',
'furo',
'sphinx-copybutton',
]
dev = ['black', 'isort', 'discord.py', 'pyright', 'pre-commit']
speed = ['orjson']
[project.urls]
"Home Page" = "https://github.com/Fortnite-API/py-wrapper"
Issues = "https://github.com/Fortnite-API/py-wrapper/issues"
Documentation = "https://fortnite-api.readthedocs.io/en/rewrite/"
# Pytest configuration
[tool.pytest.ini_options]
asyncio_mode = "strict"
testpaths = ["tests"]
addopts = "--import-mode=importlib"
# Black formatting
[tool.black]
line-length = 125
skip-string-normalization = true
force-exclude = "LICENSE|requirements.txt|pyproject.toml|README.md"
# Pyright configuration
[tool.pyright]
typeCheckingMode = "strict"
reportUnnecessaryTypeIgnoreComment = "error"
reportUnusedImport = "error"
pythonVersion = "3.10"
reportPrivateUsage = "none"
exclude = ["**/__pycache__", "build", "dist", "docs"]
include = ["fortnite_api/", "tests/", "examples/"]
# Isort configuration
[tool.isort]
profile = "black"
combine_as_imports = true
combine_star = true
line_length = 125
src_paths = ["fortnite_api/", "tests/", "examples/"]