generated from ShigureLab/python-lib-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (52 loc) · 1.47 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
[tool.poetry]
name = "doc-pipe"
version = "0.1.0"
description = ""
authors = ["Nyakku Shigure <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/cattidea/doc-pipe"
repository = "https://github.com/cattidea/doc-pipe"
keywords = []
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.poetry.dependencies]
python = "^3.9"
typing-extensions = "^4.4.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
black = "^22.1"
isort = "^5.10.1"
tomli = { version = "^2.0.1", python = "<3.11" }
pyright = "^1.1.273"
pytest-rerunfailures = "^10.2"
ruff = "^0.1.0"
[tool.poetry.scripts]
doc-pipe = "doc_pipe.__main__:main"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
add_imports = ["from __future__ import annotations"]
skip = ["setup.py", ".venv"]
[tool.pyright]
include = ["yutto", "tests"]
pythonVersion = "3.9"
typeCheckingMode = "strict"
[tool.ruff]
line-length = 120
extend-ignore = [
"F401", # imported but unused, duplicate with pyright
"F841", # local variable is assigned to but never used, duplicate with pyright
]
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"