forked from KeNaCo/auto-changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
90 lines (76 loc) · 2.16 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
[tool.poetry]
name = "auto-changelog"
version = "0.5.1"
description = "Simple tool to generate nice, formatted changelogs from vcs"
authors = ["Michael F Bryan <[email protected]>", "Ken Mijime <[email protected]>"]
license = "MIT"
readme = "README.rst"
repository = "https://github.com/Michael-F-Bryan/auto-changelog"
keywords = ['git', 'changelog']
classifiers = [
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'Environment :: Console',
'Operating System :: POSIX :: Linux',
'Topic :: Software Development :: Documentation',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# The python versions actively being supported
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
include = ["auto_changelog/templates/*.jinja2"]
[tool.black]
line-length = 120
target-version = ['py35','py36','py37', 'py38']
[tool.poetry.dependencies]
python = ">=3.6"
jinja2 = "^2.10"
gitpython = ">=2.1"
docopt = "^0.6.2"
Click = "^7.0"
[tool.poetry.dev-dependencies]
pytest = "^4.6"
black = {version = "*", allow-prereleases = true}
flake8 = "*"
pre-commit = "*"
tox = "*"
[tool.poetry.scripts]
auto-changelog = 'auto_changelog.__main__:main'
[tool.tox]
legacy_tox_ini = """
[tox]
skipsdist = True
envlist = py36, py37, py38, flake8
[travis]
os =
linux: py{36,37,38}
windows: py38
python =
3.8: py38
3.7: py37
3.6: py36
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 auto_changelog tests
[testenv]
whitelist_externals = poetry
skip_install = true
setenv =
PYTHONPATH = {toxinidir}
commands =
poetry install -v
poetry run pytest --basetemp={envtmpdir}
"""
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"