generated from EES-TUe/ees-scientific-software-engineering
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
69 lines (58 loc) · 1.7 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ees-scientific-software-engineering"
authors = [
{name = "Tony Xiang",email = "[email protected]"},
{name = "Peter Salemink", email = "[email protected]"}
]
description = "Training project for scientific software engineering"
readme = "README.md"
license = {text = "BSD License (BSD)"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License"
]
requires-python = ">=3.12"
# add dependencies of your core package, check the license first!
dependencies = []
version = "0.1"
[project.optional-dependencies]
# dependencies for development
dev = [
'pytest',
'black',
'isort',
'pylint',
'pytest-cov',
'mypy'
]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools.package-data]
"ees_scientific_software_engineering" = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["--cov=ees_scientific_software_engineering", "--cov-report", "term", "--cov-report", "html:python_cov_html", "--cov-fail-under=100"]
[tool.black]
line-length = 120
target-version = ['py312']
[tool.isort]
profile = "black"
combine_as_imports = true
line_length = 120
[tool.pylint.main]
# Specify a score threshold under which the program will exit with error.
fail-under = 10
max-line-length = 120
# remove this line when you are asked by the assignment
disable = "missing-module-docstring,missing-function-docstring"
# Minimum Python version to use for version dependent checks. Will default to the
# version used to run pylint.
py-version = "3.12"
[tool.mypy]
follow_imports = "silent"
ignore_missing_imports = true
show_column_numbers = true