-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (69 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
80 lines (69 loc) · 2.1 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
80
[build-system]
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[project]
name = "modello"
description = "sympy expressions in models"
readme = "README.md"
requires-python = ">=3.7"
license = {text = "MIT"}
authors = [{name = "Oliver Bristow", email = "github+pypi@oliverbristow.co.uk"}]
dependencies = ["sympy"]
keywords = ["symbolic modeling"]
urls = {homepage = "https://github.com/Code0x58/modello/"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"flake8-black",
"flake8-docstrings",
"flake8-isort",
"pytest-cov>=2.6.1",
"pytest-ruff",
"pytest-mypy",
"pytest>=4.1",
]
[tool.setuptools]
py-modules = ["modello"]
[tool.setuptools_scm]
[tool.pytest.ini_options]
addopts = "--doctest-modules --doctest-report=udiff --cov=modello --cov-report=html --cov-report=term --mypy --ruff"
python_files = ["test_modello.py", "examples/*.py"]
cache_dir = "artefacts/reports/.pytest_cache"
[tool.coverage.run]
data_file = "artefacts/reports/.coverage"
source = ["modello.py"]
branch = true
[tool.coverage.html]
directory = "artefacts/reports/coverage-html"
[tool.mypy]
ignore_missing_imports = true
cache_dir = "artefacts/reports/.mypy_cache"
[tool.mypy-modello]
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
[tool.isort]
line_length = 120
force_grid_wrap = 0
use_parentheses = true
include_trailing_comma = true
combine_as_imports = true
multi_line_output = 5
[tool.ruff]
line-length = 120
target-version = "py311"