-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
119 lines (101 loc) · 3.09 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
[build-system]
requires = ["setuptools>=74", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "bouillon"
authors = [
{name= 'Janus Heide', email = "[email protected]"}
]
description = "Tool for releasing machine learning model and service projects and other fast paced python projects."
dynamic = ["version"]
readme = "README.rst"
keywords = ["building", "maintenance", "utility"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development",
"Topic :: Utilities",
"Typing :: Typed",
]
requires-python = ">=3.8"
dependencies = [
"packaging>=22.0",
"tomli>=2.0.0; python_version < \"3.11\"",
]
[project.optional-dependencies]
test = [
"brundle==1.3.0",
"dlister==1.3.0",
"isort==5.13.2",
"mypy==1.13.0",
"ruff==0.8.2",
"pytest==8.3.4",
"pytest-cov<=6.0.0,>=5.0.0",
]
release = [
"build==1.2.2.post1",
"licensecheck==2024.3",
"twine==6.0.1",
]
standard = [
"bouillon[test]",
"bouillon[release]",
]
dev = [
"bouillon[standard]",
"uppd==1.6.0",
]
[project.urls]
Homepage = "https://github.com/janusheide/bouillon"
Repository = "https://github.com/janusheide/bouillon"
Changelog = "https://github.com/janusheide/bouillon/blob/main/NEWS.rst"
[project.scripts]
bouillon = "bouillon.cli:main_cli"
[tool.coverage.report]
show_missing = true
fail_under = 87
[tool.isort]
multi_line_output = 5
include_trailing_comma = "True"
[tool.licensecheck]
using = "PEP631:test;dev"
[tool.mypy]
exclude="build"
[[tool.mypy.overrides]]
module = "bouillon"
warn_return_any = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
addopts = "--cov=bouillon"
markers = "cicd: tests that frequently fails if run locally."
filterwarnings = [
"error",
# Windows does not manage to keep the event loop open
"ignore::pytest.PytestUnraisableExceptionWarning",
]
[tool.ruff.lint]
select = ["ALL"]
# as of 01/2024 ruff does not support isort configuration, so we disable I001
ignore = [ "ANN001", "ANN003", "ARG001", "D203", "D213", "D401", "G004", "I001", "INP001", "N806", "S603", "S607", "PLR0913", "PLR2004", "PGH003", "PLW1510", "SIM105"]
[tool.ruff.lint.per-file-ignores]
"test/**/*.py" = ["ANN", "ARG", "ASYNC", "B017", "D", "ERA", "S101", "S105", "S106", "PT011"]
[tool.setuptools_scm]
[tool.bouillon]
test_foo = "bar"
check_clean_branch = true
news_files = ["NEWS.rst",]
test_steps = [["pytest"],]