Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (70 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
79 lines (70 loc) · 1.76 KB
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
[build-system]
requires = ["setuptools>=65.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "basetemplate"
version = "1.0.0"
description = "A template repository for ModCon base team projects"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "Apache-2.0"}
authors = [
{name = "ModCon Base Team", email = "modcon-base-code@lbl.gov"}
]
keywords = [
"template",
"repository",
"modcon",
"best-practices"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = []
[project.urls]
Repository = "https://github.com/AI-ModCon/BaseTemplate"
Documentation = "https://github.com/AI-ModCon/BaseTemplate"
"Issue Tracker" = "https://github.com/AI-ModCon/BaseTemplate/issues"
[tool.setuptools]
packages = ["basetemplate"]
[dependency-groups]
dev = [
"ruff>=0.1.0",
"mypy>=1.0",
]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
]
[tool.ruff]
line-length = 100
exclude = [
".git",
".github",
"__pycache__",
".mypy_cache",
".ruff_cache",
"dist",
".venv",
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W"]
ignore = []
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
addopts = "--cov=basetemplate --cov-report=html --cov-report=term-missing"