-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (88 loc) · 2.72 KB
/
pyproject.toml
File metadata and controls
98 lines (88 loc) · 2.72 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
90
91
92
93
94
95
96
97
98
[project]
name = "cc-ampapi"
dynamic = ["version"]
authors = [
{ name = "k8thekat", email = "Cadwalladerkatelynn+AMPAPI@gmail.com" },
]
readme = { file = "README.md", content-type = "text/markdown" }
description = "A Python wrapper for the AMP API by CubeCoders"
requires-python = ">=3.10.0"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: AsyncIO",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
]
keywords = ["cubecoders", "cube coders", "amp", "api"]
dependencies = [
"aiohttp>=3.7.4.post0",
"dataclass-wizard>=0.22.2",
"pyotp>=2.6.0",
]
[project.urls]
GitHub = "https://github.com/k8thekat/AMPAPI_Python"
Changelog = "https://github.com/k8thekat/AMPAPI_Python/blob/master/CHANGELOG.md"
[tool.ruff]
target-version = "py310"
line-length = 140
exclude = ["docs/extensions/*.py"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401",
"D401", # Ignore "Imperative Mood" statement for docstrings.
"ERA001", #Ignore commented out code.
"FIX002", # Ignore TODO's telling you to "fix them".
"F401",
"F402",
"F403",
"F405",
"PERF203",
"PLR",
"RUF001",
"RUF002", # The character U+2013 "–" could be confused with the ASCII character U+002d "-", which is more common in source code.
"RUF009",
"RUF052", # for filtering "local dummy variable is accessed" eg. - vars using `_`
"SIM105",
"TD003", # Ignore TODO's not having a link/url to an issue.
"UP007",
"UP034",
"UP038",
"UP045", # Type var `Optional[X]` vs `X | None`
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
combine-as-imports = true
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
parametrize-names-type = "tuple"
[tool.pyright]
venvPath = "."
venv = ".venv"
typeCheckingMode = "strict"
pythonVersion = "3.10"
exclude = ["logs/**", "**/.venv/**", "**/.vscode-server/", "/usr/*"]
include = ["ampapi"]
useLibraryCodeForTypes = true
reportIncompatibleMethodOverride = false
[tool.setuptools]
packages = ["ampapi"]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "ampapi.__version__" }
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"