forked from edeckers/pyella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
99 lines (84 loc) · 2.62 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
authors = ["Ely Deckers"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description = "This library brings common monads such `Maybe` and `Either` to your Python projects."
documentation = "https://github.com/edeckers/pyella"
homepage = ""
include = [
"LICENSE",
]
keywords = [
"monad",
"fp",
"maybe",
"either",
]
license = "MPL-2.0"
maintainers = ["Ely Deckers"]
name = "pyella"
readme = "README.md"
repository = "https://github.com/edeckers/pyella.git"
version = "1.4.0"
[tool.poetry.dependencies]
python = ">=3.7"
[tool.poetry.group.dev.dependencies]
black = "^23.3.0"
bandit = "^1.7"
coverage = {extras = ["toml"], version = "^6.3.2"}
isort = "^5.10.1"
mypy = "^0.931"
nox = "^2022.1.7"
pre-commit = "^2.17"
pre-commit-hooks = "^4.1"
pytest = "^7"
pytest-cov = "^4"
python-semantic-release = "^7.25.2"
[tool.poetry.group.docs.dependencies]
sphinx_mdinclude = "^0.5.3"
#########################################################################################
# Testing
#########################################################################################
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(name)s: %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
[tool.coverage.report]
show_missing = true
fail_under = 98
[tool.coverage.html]
directory = "reports/coverage/html"
[tool.coverage.xml]
output = "reports/coverage/coverage.xml"
#########################################################################################
# Style checking
#########################################################################################
[tool.bandit]
[tool.black]
target-version = ["py38", "py39"]
[tool.isort]
profile = "black"
#########################################################################################
# Publishing
#########################################################################################
[tool.semantic_release]
branch = "develop"
build_command = "poetry build"
commit_subject = "chore: release {version}"
changelog_file = "README.md"
changelog_placeholder = "DISABLE_CHANGELOG_HACK"
version_pattern = [
]
version_toml = "pyproject.toml:tool.poetry.version"
upload_to_repository = true