-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (110 loc) · 2.97 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
[tool.poetry]
authors = ["Jangwon Seo <nanpuhaha@gmail.com>"]
description = "MapleStory OpenAPI Python Client Library"
keywords = ["maplestory", "api", "api-wrapper"]
license = "MIT"
name = "maplestory"
packages = [{ include = "maplestory", from = "." }]
readme = "README.md"
repository = "https://github.com/nanpuhaha/maplestory-py"
version = "1.0.0"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Games/Entertainment",
"Topic :: Games/Entertainment :: Role-Playing",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[tool.poetry.urls]
Homepage = "https://github.com/nanpuhaha/maplestory-py"
Documentation = "https://readthedocs.org"
Repository = "https://github.com/nanpuhaha/maplestory-py"
"Bug Tracker" = "https://github.com/nanpuhaha/maplestory-py/issues"
Changelog = "https://github.com/nanpuhaha/maplestory-py/blob/main/CHANGELOG.md"
[tool.poetry.dependencies]
python = "^3.11"
bs4 = "^0.0.2"
httpx = "^0.26.0"
lxml = "^5.1.0"
pillow = "^10.2.0"
pydantic = "^2.5.3"
pydantic-settings = "^2.1.0"
tenacity = "^8.2.3"
[tool.poetry.group.dev.dependencies]
autoflake = "^2.2.1"
black = {version = "^23.12.1", extras = ["jupyter"]}
coverage = "^7.4.1"
devtools = "^0.12.2"
furo = "^2023.9.10"
ipykernel = "^6.29.0"
isort = "^5.13.2"
psutil = "^5.9.8"
pytest = "^7.4.4"
pytest-cov = "^4.1.0"
pytest-env = "^1.1.3"
pytest-mock = "^3.12.0"
pytest-sugar = "^0.9.7"
pytest-xdist = "^3.5.0"
rich = "^13.7.0"
freezegun = "^1.4.0"
[tool.black]
color = true
line-length = 88
target-version = ['py312']
[tool.isort]
atomic = true
color_output = true
float_to_top = true
line_length = 88
profile = "black"
py_version = 312
skip_gitignore = true
src_paths = ["maplestory", "tests"]
[tool.pytest.ini_options]
addopts = "-ra" # -s
minversion = "6.0"
pythonpath = "."
testpaths = ["tests"]
[tool.coverage.paths]
source = ["maplestory"]
[tool.coverage.run]
branch = true
source = ["maplestory"]
omit = [
"**/__init__.py",
"*/tests/*",
"maplestory/check_update.py",
]
[tool.coverage.report]
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"def __rich_repr__",
"if self.debug",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.coverage.xml]
output = "coverage.xml"
[tool.coverage.json]
output = "coverage.json"
pretty_print = true
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]