-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
126 lines (115 loc) · 3.44 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
[tool.poetry]
name = "wetest"
version = "2.0.0rc1"
description = "WeTest enables you to test EPICS modules"
license = "EPICS"
authors = [
"Francis GOHIER <francis.gohier@cea.fr>",
"Katy SAINTIN <katy.saintin@cea.fr>",
"Rémi NICOLE <remi.nicole@cea.fr>",
"Victor NADOT <victor.nadot@cea.fr>",
]
maintainers = ["Rémi NICOLE <remi.nicole@cea.fr>"]
readme = "README.md"
repository = "https://github.com/epics-extensions/WeTest"
keywords = ["epics", "testing"]
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Testing :: Acceptance",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/epics-extensions/WeTest/issues"
[tool.poetry.scripts]
wetest = "wetest.command_line:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = ">=3.7, <4"
PyYAML = "^6.0"
colorlog = "^6.6.0"
numpy = "^1.19.5, <1.20.0"
pyepics = "^3.5.1"
pykwalify = "^1.8.0"
reportlab = "^3.6.8"
semver = "^3.0.2"
packaging = "^23.2"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
[tool.ruff]
select = ["ALL"]
ignore = [
# Disable type annotations for now, it would lead to too many warnings
"ANN",
# Leave doc comments for later,
# as lots of functions needs to be renamed as private
"D",
# Also leave pathlib for later
"PTH",
# one-blank-line-before-class
"D203",
# multi-line-summary-second-line
"D213",
# For the formatter:
# missing-trailing-comma
"COM812",
# single-line-implicit-string-concatenation
"ISC001",
]
# https://git-cliff.org/docs/configuration
# Run:
# git-cliff -c pyproject.toml --bump -u --prepend CHANGELOG.md
[tool.git-cliff.changelog]
header = """
# Changelog\n
All notable changes to this project are documented in this file.\n
"""
body = """
{% if version %}\
## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
{% else %}\
## [unreleased]
{% endif %}\
{% for group, commits in commits | group_by(attribute="group") %}
### {{ group | upper_first }}
{% for commit in commits %}
- {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first }}\
{% endfor %}
{% endfor %}\n
"""
trim = true
footer = """
<!-- generated by git-cliff -->
"""
postprocessors = [
{ pattern = '<REPO>', replace = "https://github.com/epics-extensions/WeTest" },
]
[tool.git-cliff.git]
conventional_commits = true
filter_unconventional = true
commit_preprocessors = [
# replace issue numbers
{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](<REPO>/issues/${1}))" },
]
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore\\(release\\): prepare for", skip = true },
{ message = "^chore\\(deps\\)", skip = true },
{ message = "^chore\\(pr\\)", skip = true },
{ message = "^chore\\(pull\\)", skip = true },
{ message = "^chore|ci", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
{ message = "^revert", group = "Revert" },
]
protect_breaking_commits = true
# filter out the commits that are not matched by commit parsers
filter_commits = false
tag_pattern = "v[0-9].*"
sort_commits = "oldest"