-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
75 lines (67 loc) · 1.67 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
[tool.poetry]
name = "confluence-utils"
version = "0.5.0"
description = ""
authors = ["Tevin Trout <ttrout@bellese.io>", "Scott Hamrick <shamrick@bellese.io>", "Andrew Lee <alee@bellese.io>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/Bellese/confluence-utils"
[tool.poetry.dependencies]
python = "^3.7"
click = "^8"
click-plugins = "^1.1.1"
mistune = "^2.0.2"
python-frontmatter = "^1.0.0"
atlassian-python-api = "^3.21.0"
tabulate = "^0.8.9"
click-log = "^0.4.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
pre-commit = "^2.18.1"
flake8 = "^4.0.1"
mypy = "^0.942"
isort = "^5.10.1"
pytest-cov = "^3.0.0"
python-semantic-release = "^7.28.1"
types-tabulate = "^0.8.7"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
"confluence" = "confluence_utils.cli:cli"
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 79
[tool.black]
preview = true
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"
version_variable = "confluence_utils/__init__.py:__version__"
branch = "main"
commit_subject = "chore: release version {version}"
upload_to_repository = false
build_command = "poetry build"