-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
112 lines (97 loc) · 2.73 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [
{ name = "BuriedInCode", email = "BuriedInCode@tuta.io" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet",
"Typing :: Typed"
]
dependencies = [
"pydantic >= 1.10.2",
"ratelimit >= 2.2.1",
"requests >= 2.28.1"
]
description = "A Python wrapper for the Comicvine API."
dynamic = ["version"]
keywords = ["comics", "comic", "metadata"]
license = "GPL-3.0-or-later"
maintainers = [
{ name = "BuriedInCode", email = "BuriedInCode@tuta.io" },
]
name = "Simyan"
readme = "README.md"
requires-python = ">= 3.7"
[project.optional-dependencies]
dev = [
"pre-commit >= 2.20.0"
]
docs = [
"mkdocs >= 1.4.2",
"mkdocs-include-markdown-plugin >= 4.0.3",
"mkdocstrings[python] >= 0.19.1"
]
test = [
"pytest >= 7.2.0",
"pytest-cov >= 4.0.0",
"tox >= 3.27.1, < 4",
"tox-pyenv >= 1.1.0"
]
[project.urls]
Documentation = "https://simyan.readthedocs.io/en/latest/"
Homepage = "https://pypi.org/project/Simyan"
Issues = "https://github.com/Metron-Project/Simyan/issues"
Source = "https://github.com/Metron-Project/Simyan"
[tool.black]
line-length = 100
target-version = ["py37", "py38", "py39", "py310", "py311"]
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
source = ["simyan"]
[tool.hatch.version]
path = "simyan/__init__.py"
[tool.pytest.ini_options]
addopts = ["--cov", "-x"]
[tool.ruff]
fix = true
ignore = [
"D203", "D204", "D213", "D215", "D400", "D404", "D406", "D407", "D408", "D409", "D413", # Ignored for google docstyle
"D107", "D212", "ANN101"
# Missing D401
]
line-length = 100
select = [
"F", "E", "W", "C90", "I", "D", "UP", "N", "YTT", "ANN", "S", "BLE", "B", "A", "C4", "ICN", "Q",
"RET", "SIM", "TID", "ARG", "ERA", "PLC", "PLE", "PLR", "PLW", "RUF",
]
target-version = "py37"
[tool.ruff.flake8-annotations]
allow-star-arg-any = true
mypy-init-return = true
[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.isort]
combine-as-imports = true
[tool.ruff.mccabe]
max-complexity = 10
[tool.ruff.pep8-naming]
classmethod-decorators = ["classmethod", "pydantic.validator"]
[tool.ruff.per-file-ignores]
"tests/test_*.py" = ["S101", "ANN201"]