-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
93 lines (80 loc) · 1.8 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
[build-system]
requires = [
"setuptools >=61.2",
"versioningit",
]
build-backend = "setuptools.build_meta"
[project]
name = "helanal"
description = "A package to characterise the geometry of protein helicies."
license = {file = "LICENSE" }
authors = [
{name = "Your name (or your organization/company/team)", email = "[email protected]"},
]
maintainers = [
{name = "Your name (or your organization/company/team)", email = "[email protected]"},
]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"MDAnalysis>=2.0.0",
]
keywords = [
"molecular simulations",
]
dynamic = [
"version",
]
[project.optional-dependencies]
test = [
"pytest>=6.0",
"pytest-xdist>=2.5",
"pytest-cov>=3.0",
"MDAnalysisTests>=2.0.0",
]
doc = [
"sphinx",
"sphinx_rtd_theme",
]
# [project.urls]
# source = "https://github.com/MDAnalysis/helanal"
# documentation = "https://helanal.readthedocs.io"
[tool.setuptools.packages.find]
include = ["helanal"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"helanal/tests",
]
[tool.black]
line-length = 80
[tool.versioningit]
default-version = "1+unknown"
[tool.versioningit.vcs]
method = "git"
# the below line expects tags to look like '1.0.2'.
# if prefixing with a v, e.g. 'v1.0.2', change it to ["v*"]
match = ["*"]
[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
[tool.coverage.run]
omit = [
# Omit the tests
"*/tests/*",
]
[tool.coverage.report]
exclude_also = [
"if TYPE_CHECKING:",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 80
[tool.yapf]
COLUMN_LIMIT = 80
INDENT_WIDTH = 4
USE_TABS = false