This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
127 lines (107 loc) · 3.11 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
125
126
127
[tool.poetry]
name = "kakaowork"
version = "0.8.0"
description = "Kakaowork Python client"
authors = ["Sung-Kyu Yoo <skyoo2003@gmail.com>"]
license = "MIT"
packages = [
{ include = "kakaowork" }
]
readme = "README.md"
homepage = "https://github.com/skyoo2003/kakaowork-py"
repository = "https://github.com/skyoo2003/kakaowork-py"
keywords = ["kakaowork"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
[tool.poetry.dependencies]
python = "^3.7"
urllib3 = ">=1.14,<2"
pytz = ">=2015.7"
aiosonic = ">=0.10,<1"
pydantic = ">=1.6.2,<2"
click = { version = ">=7,<9", optional = true }
[tool.poetry.dev-dependencies]
pre-commit = "^2.19.0"
towncrier = "^21.9.0"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pytest-mock = "^3.7.0"
pytest-asyncio = "^0.18.3"
yapf = "^0.32.0"
flake8 = "^4.0.1"
mypy = "^0.961"
coverage = { version = "^6.4", extras = ["toml"] }
tox = "^3.25.0"
sphinx = "^4.3.2"
types-pytz = "^2021.3.8"
pydocstyle = { version = "^6.1.1", extras = ["toml"] }
[tool.poetry.extras]
cli = ['click']
[tool.poetry.scripts]
kakaowork = "kakaowork.__main__:main"
[tool.pytest.ini_options]
minversion = "5.3"
testpaths = ["tests", "kakaowork"]
addopts = "--cov=kakaowork --cov-report=html --cov-report=xml --doctest-modules --doctest-glob=*.rst"
faulthandler_timeout = 10
[tool.coverage.run]
source = ["kakaowork"]
[tool.coverage.report]
ignore_errors = true
omit = ["*/tests/*"]
[tool.coverage.html]
directory = ".report/html"
[tool.coverage.xml]
output = ".report/coverage.xml"
[tool.pydocstyle]
inherit = false
ignore = "D100,D203,D204,D213,D215,D400,D401,D404,D406,D407,D408,D409,D413" # D100 + google convention. See http://www.pydocstyle.org/en/stable/error_codes.html#default-conventions
match = "\\.*(?!_test)\\\\.py|(!?client|models|blockkit)\\.*\\\\.py"
match_dir = "kakaowork"
[tool.towncrier]
package = "kakaowork"
filename = "CHANGELOG.rst"
directory = "news"
issue_format = "`#{issue} <https://github.com/skyoo2003/kakaowork-py/issues/{issue}>`_"
title_format = "{name} {version} ({project_date})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "New Features"
showcontent = true
[[tool.towncrier.type]]
directory = "enhancement"
name = "Enhancement"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecation"
name = "Deprecation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removal"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous"
showcontent = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"