-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
93 lines (80 loc) · 1.63 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[build-system]
requires = ["hatchling>=1.8.0", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "fdm"
description="Estimate derivatives with finite differences"
authors=[
{name="Wessel Bruinsma", email="wessel.p.bruinsma@gmail.com"},
]
license = {text= "MIT"}
readme = "README.md"
keywords = ["finite-difference", "python"]
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
]
dynamic = ["version"]
requires-python = ">=3.6"
dependencies = [
"numpy>=1.16",
"sympy",
]
[project.optional-dependencies]
dev = [
"numpy",
"pytest>=6",
"pytest-cov",
"coveralls",
"pre-commit",
"IPython",
"ghp-import",
"wheel",
"build",
"tox",
"jupyter-book",
"mypy",
"pyright>=1.1.331",
"ruff",
"sybil",
]
[project.urls]
repository = "https://github.com/wesselb/fdm"
[tool.hatch.build]
include = ["fdm*"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "fdm/_version.py"
# Development tools
[tool.coverage.run]
branch = true
command_line = "-m pytest --verbose test"
source = ["fdm"]
[tool.pytest.ini_options]
testpaths = ["tests/", "fdm", "docs"]
addopts = [
"-ra",
"-p",
"no:doctest",
]
minversion = "6.0"
[tool.ruff]
src = ["fdm"]
target-version = "py38"
line-length = 88
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D410",
"E", "W", # pycodestyle
"F", # Pyflakes
"I", # isort
"SIM", # flake8-simplify
"UP", # pyupgrade
]
ignore = ["F811", "B018"]
[tool.ruff.lint.isort]
known-local-folder = ["fdm"]
[tool.ruff.format]
docstring-code-format = true