forked from copier-org/copier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
119 lines (103 loc) · 3.1 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
[tool.poetry]
name = "copier"
# This version is a placeholder autoupdated by poetry-dynamic-versioning
version = "0.0.0"
description = "A library for rendering project templates."
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
authors = ["Ben Felder <ben@felder.io>"]
homepage = "https://github.com/pykong/copier"
repository = "https://github.com/pykong/copier"
readme = "README.md"
[tool.poetry.scripts]
copier = "copier.cli:CopierApp.run"
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/pykong/copier/issues"
[tool.poetry.dependencies]
python = ">=3.6.1,<3.10"
"backports.cached-property" = { version = "^1.0.0", python = "<3.8" }
colorama = "^0.4.3"
importlib-metadata = { version = "^3.4.0", python = "<3.8" }
iteration_utilities = "^0.11.0"
jinja2 = "^2.11.2"
jinja2-ansible-filters = "^1.3.0"
mkdocs-material = { version = "^5.5.2", optional = true }
mkdocs-mermaid2-plugin = { version = "^0.5.0", optional = true }
mkdocstrings = { version = "^0.15.0", optional = true }
packaging = "^20.4" # packaging is needed when installing from PyPI
pathspec = "^0.8.0"
plumbum = "^1.6.9"
pydantic = "^1.7.2"
Pygments = "^2.7.1"
pyyaml = "^5.3.1"
pyyaml-include = "^1.2"
questionary = "^1.8.1"
typing-extensions = { version = "^3.7.4", python = "<3.8" }
[tool.poetry.extras]
docs = [
"mkdocs-material",
"mkdocs-mermaid2-plugin",
"mkdocstrings",
]
[tool.poetry.dev-dependencies]
autoflake = "^1.4"
black = "^20.8b1"
flake8 = "^3.8.4"
flake8-bugbear = "^20.1.4"
flake8-comprehensions = "^3.2.3"
flake8-debugger = "^3.2.1"
mypy = "^0.790"
pexpect = "^4.8.0"
poethepoet = "^0.9.0"
pre-commit = "^2.7.1"
pytest = "^6.1.1"
pytest-cov = "^2.10.1"
pytest-xdist = "^2.1.0"
[tool.poe.tasks.clean]
script = "devtasks:clean"
help = "remove build/python artifacts"
[tool.poe.tasks.coverage]
cmd = "pytest --cov-report html --cov copier copier tests"
help = "generate an HTML report of the coverage"
[tool.poe.tasks.dev-setup]
script = "devtasks:dev_setup"
help = "set up local development environment"
[tool.poe.tasks.docs]
cmd = "mkdocs serve"
help = "start local docs server"
[tool.poe.tasks.lint]
cmd = "pre-commit run --all-files"
help = "check (and auto-fix) style with pre-commit"
[tool.poe.tasks.test]
cmd = "pytest --color=yes"
help = "run tests"
[tool.poe.tasks.types]
cmd = "mypy --ignore-missing-imports ."
help = "run the type (mypy) checker on the codebase"
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
vcs = "git"
[tool.black]
line-length = 88
target-version = ['py36']
[tool.isort]
combine_as_imports = true
default_section = "THIRDPARTY"
force_grid_wrap = 0
include_trailing_comma = true
known_first_party = ["copier"]
line_length = 88
multi_line_output = 3 # black interop
use_parentheses = true
[build-system]
requires = ["poetry_core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry.core.masonry.api"