-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
113 lines (100 loc) · 2.85 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
[tool.poetry]
name = "retrocookie"
version = "0.4.3"
description = "Update Cookiecutter templates with changes from their instances"
authors = ["Claudio Jolowicz <[email protected]>"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/cjolowicz/retrocookie"
repository = "https://github.com/cjolowicz/retrocookie"
documentation = "https://retrocookie.readthedocs.io"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
]
[tool.poetry.urls]
Changelog = "https://github.com/cjolowicz/retrocookie/releases"
[tool.poetry.dependencies]
python = "^3.8.1"
click = "^8.0.3"
git-filter-repo = "^2.26.0"
pygit2 = ">=1.2.1,<1.15"
typing-extensions = {version = ">=3.7.4,<5.0.0", optional = true}
"github3.py" = {version = "^3.0.0", optional = true}
tenacity = {version = ">=6.3.1,<9.0.0", optional = true}
appdirs = {version = "^1.4.4", optional = true}
rich = {version = ">=9.5.1,<11.0.0", optional = true}
[tool.poetry.dev-dependencies]
pytest = ">=6.2.5"
coverage = {extras = ["toml"], version = ">=6.1"}
safety = ">=1.10.3"
mypy = ">=0.800"
typeguard = ">=2.9.1,<3"
xdoctest = {extras = ["colors"], version = ">=0.15.2"}
sphinx = ">=4.3.0"
sphinx-autobuild = ">=2020.9.1"
pre-commit = ">=2.15.0"
cookiecutter = ">=1.7.3"
pygments = ">=2.10.0"
flake8 = ">=4.0.1"
black = ">=21.10b0"
flake8-bandit = ">=2.1.2"
flake8-bugbear = ">=21.9.2"
flake8-docstrings = ">=1.6.0"
flake8-rst-docstrings = ">=0.2.3"
pep8-naming = ">=0.11.1"
darglint = ">=1.8.1"
pre-commit-hooks = ">=4.0.1"
sphinx-click = ">=3.0.2"
Pygments = ">=2.10.0"
furo = ">=2021.11.12"
types-requests = ">=2.26.0"
pyupgrade = ">=2.29.0"
isort = "^5.10.1"
[tool.poetry.extras]
pr = ["appdirs", "github3.py", "rich", "tenacity", "typing-extensions"]
[tool.poetry.scripts]
retrocookie = "retrocookie.__main__:main"
retrocookie-pr = "retrocookie.pr.__main__:main"
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["retrocookie", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 90
[tool.isort]
profile = "black"
force_single_line = true
order_by_type = false
lines_after_imports = 2
[tool.mypy]
strict = true
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = [
"appdirs",
"cookiecutter.*",
"git_filter_repo",
"github3.*",
"pygit2.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore:no type annotations present -- not typechecking .*",
"ignore:no code associated -- not typechecking .*",
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"