-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (96 loc) · 2.45 KB
/
pyproject.toml
File metadata and controls
101 lines (96 loc) · 2.45 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["setuptools >= 80.4.0"]
build-backend = "setuptools.build_meta"
[project]
name = "maths"
version = "0.1"
requires-python = ">=3.13.3"
dependencies = [
"deal==4.24.5",
"hypothesis==6.131.9",
"mypy==1.15.0",
"pytest==8.3.5",
"pytest-xdist==3.6.1",
"ruff==0.11.11",
"black==25.1.0",
]
keywords = [
"mathematics",
"maths",
"math",
"design by contract",
"property based testing",
"mathematical programming",
"calculus",
"algebra",
]
classifiers = [
"Development Status :: 3 - Alpha",
# "License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Other Audience",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Testing",
"Framework :: Hypothesis",
"Framework :: Pytest",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
authors = [
{name = "Jacobus Burger", email = "therealjacoburger@gmail.com"},
]
maintainers = [
{name = "Jacobus Burger", email = "therealjacoburger@gmail.com"},
]
description = "A library of formally verified mathematical functions"
readme = "README.md"
license = "MIT"
[project.urls]
Repository = "https://github.com/LordUbuntu/maths"
[tool.pytest.ini_options]
addopts = "-n auto"
pythonpath = ["maths"]
[tool.mypy]
strict = true
ignore_missing_imports = true
[tool.black]
line-length = 80
target-version = ["py313"]
[tool.ruff]
line-length = 80
[tool.ruff.lint]
exclude = [
# avoid false positives on test files
"tests/**",
]
extend-select = [
# for more see: https://docs.astral.sh/ruff/rules/
# more may be added if necessary
"A", # avoid shadowing builtins
"ANN", # ensure type annotations
"ASYNC", # if using async
"C90", # keep mccabe (cyclomatic) complexity low
"D", # pydocstyle
"E", # pycodestyle
"ERA", # remove lingering comments
"F", # pyflakes
"FURB", # refurbish
"FBT", # no boolean traps (impure)
"I", # isort
"N", # follow pep8 naming conventions
"Q", # quote styling
"SIM", # "Simple is better than complex."
"UP", # pyupgrade
# "B", # bugbear (very strict)
]
extend-ignore = [
"D100",
"D104",
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"