-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
82 lines (68 loc) · 1.76 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
[tool.poetry]
name = "PACKAGE_NAME"
version = "0.1.0"
description = ""
authors = ["Dawson Booth <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/dawsonbooth/REPO_NAME"
repository = "https://github.com/dawsonbooth/REPO_NAME"
documentation = "https://dawsonbooth.github.io/REPO_NAME"
keywords = []
classifiers = [
"Environment :: Console",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
include = ["LICENSE"]
packages = [{ include = "MODULE_NAME" }]
[tool.poetry.scripts]
PACKAGE_NAME = "MODULE_NAME.__main__:main"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
autoflake = "^1.4"
black = "^22.8.0"
dustpan = "^0.3.2"
flake8 = "^5.0.4"
ghp-import = "^2.1.0"
invoke = "^1.7.1"
isort = "^5.10.1"
mypy = "^0.971"
portray = "^1.7.0"
pytest = "^7.1.3"
rope = "^1.3.0"
[tool.black]
line-length = 119
[tool.dustpan]
remove-empty-directories = true
[tool.isort]
line_length = 119
profile = "black"
[tool.portray]
modules = ["MODULE_NAME"]
[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions.toc]
permalink = true
[[tool.portray.extra_markdown_extensions]]
[tool.portray.extra_markdown_extensions."pymdownx.highlight"]
linenums = true
[tool.portray.mkdocs]
site_name = "PACKAGE_NAME"
site_url = "https://dawsonbooth.github.io/REPO_NAME/"
edit_uri = "blob/master/"
markdown_extensions = [
"admonition",
"codehilite",
"extra",
"pymdownx.details",
"pymdownx.superfences",
]
nav = [{ Overview = "README.md" }]
[tool.portray.mkdocs.theme]
name = "material"
palette = { primary = "blue grey", accent = "red" }
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"