-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (56 loc) · 1.99 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
[tool.poetry]
name = "karney"
version = "1.0.10"
description = "Solves the direct and inverse geodesic problem."
authors = ["Per A. Brodtkorb"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8.0"
# See https://numpy.org/neps/nep-0029-deprecation_policy.html:
numpy = [
{version = ">=1.25", python = ">=3.12"},
{version = ">=1.19", python = ">=3.8"},
]
[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
pytest = ">=6.0.0"
pytest-cov = ">=4.1.0"
jupyter = ">=1.0.0"
myst-nb = {version = ">=1.0.0", python = "^3.9"}
sphinx-autoapi = ">=3.0.0"
sphinx-rtd-theme = ">=2.0.0"
hypothesis = ">=6.98.3"
python-semantic-release = ">=9.0.3"
ruff = ">=0.0.47"
[tool.semantic_release]
commit_parser = "angular"
logging_use_named_masks = true
allow_zero_version = true
tag_format = "v{version}"
version_variables = ["pyproject.toml:version", "./src/karney/__init__.py:__version__"]
commit_message = "chore(release): {version}\n\nAutomatically generated by python-semantic-release"
branch= "main" # branch to make releases of
build_command = "pip install poetry && poetry build" # build dists
[tool.semantic_release.changelog]
changelog_file = "CHANGELOG.md" # changelog file
exclude_commit_patterns = [".*\\n\\nAutomatically generated by python-semantic-release", "chore: pre-commit autoupdate\n\nAutomatically generated by pre-commit.ci"]
[tool.semantic_release.commit_parser_options]
allowed_types = [
"build", "chore", "ci", "docs", "feat", "fix",
"perf", "style", "refactor", "test", "book",
]
minor_types = ["feat"]
patch_types = ["fix", "perf"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E4", "E7", "E9", "E501", "F", "B", "Q"] #[, "I"]
[tool.ruff.format]
#docstring-code-format = true
docstring-code-line-length = 100
[tool.pytest.ini_options]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL", "ELLIPSIS"]