Skip to content

Commit 124ffb1

Browse files
authored
add .toml
1 parent 775fa34 commit 124ffb1

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

pyproject.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[build-system]
2+
requires = ["setuptools"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "short_tutorials"
7+
description = "CCA Software Group programming tutorials"
8+
requires-python = ">=3.10"
9+
10+
[project.optional-dependencies]
11+
test = [
12+
"pytest",
13+
"coverage",
14+
"coverage-badge",
15+
]
16+
docs = [
17+
"sphinx",
18+
"sphinx-automodapi",
19+
"sphinx_rtd_theme",
20+
"sphinxcontrib-fulltoc",
21+
"nbsphinx",
22+
"jupyter_client",
23+
"ipykernel",
24+
]
25+
coding_standards = [
26+
"ruff",
27+
]
28+
type_checking = [
29+
"mypy",
30+
]
31+
dev = ["short_tutorials[test, docs, coding_standards]"]
32+
33+
[tool.setuptools]
34+
zip-safe = false
35+
include-package-data = true
36+
37+
[tool.setuptools.packages.find]
38+
39+
[tool.pytest.ini_options]
40+
testpaths = [
41+
"test",
42+
"docs",
43+
]
44+
45+
[tool.mypy]
46+
exclude = [
47+
"docs",
48+
]
49+
explicit_package_bases = "True"
50+
51+
[tool.coverage.run]
52+
omit = [
53+
"short_tutorials/__init*",
54+
"*/short_tutorials/__init*",
55+
"test/*",
56+
"*/test/*",
57+
]

0 commit comments

Comments
 (0)