-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
124 lines (102 loc) · 2.57 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
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.1.0"]
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
source = ["esak"]
[tool.poetry]
authors = ["Brian Pepple <bdpepple@gmail.com>"]
classifiers = [
"Framework :: Pydantic :: 2",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Topic :: Utilities",
"Typing :: Typed"
]
description = "Python wrapper for the Marvel API."
include = [
{format = "sdist", path = "tests"}
]
license = "MIT"
maintainers = ["Brian Pepple <bdpepple@gmail.com>"]
name = "esak"
packages = [
{include = "esak"}
]
readme = "README.md"
version = "2.0.0"
[tool.poetry.dependencies]
pydantic = "^2.8.0"
python = "^3.10"
requests = "^2.26.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.8.0"
ruff = "^0.8.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocs-include-markdown-plugin = "^6.2.1"
mkdocs-material = "^9.5.30"
mkdocstrings = {extras = ["python"], version = "^0.25.1"}
[tool.poetry.group.test]
optional = true
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
requests-mock = "^1.12.1"
tox = "^4.18.1"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/Metron-Project/esak/issues"
"Homepage" = "https://github.com/Metron-Project/esak"
[tool.pytest.ini_options]
addopts = ["--cov"]
[tool.ruff]
fix = true
line-length = 100
output-format = "grouped"
show-fixes = true
unsafe-fixes = true
[tool.ruff.format]
docstring-code-format = true
line-ending = "native"
skip-magic-trailing-comma = true
[tool.ruff.lint]
ignore = [
"COM812",
"D107",
"DTZ",
"EM101",
"EM102",
"FA102",
"FBT",
"ISC001",
"TRY003"
]
select = ["ALL"]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
mypy-init-return = true
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.lint.flake8-unused-arguments]
ignore-variadic-names = true
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = false
[tool.ruff.lint.pep8-naming]
classmethod-decorators = ["classmethod", "pydantic.field_validator"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["PLR2004", "S101", "T201"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true