-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
72 lines (65 loc) · 1.72 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
[build-system]
requires = ["setuptools"]
[project]
name = "goalie"
version = "0.2"
authors = [
{name = "Joseph G. Wallwork", email = "joe.wallwork@outlook.com"},
{name = "Davor Dundovic"},
{name = "Eleda Johnson"},
{name = "Stephan C. Kramer"},
]
maintainers = [
{name = "Joseph G. Wallwork", email = "joe.wallwork@outlook.com"},
{name = "Davor Dundovic"},
{name = "Eleda Johnson"},
{name = "Stephan C. Kramer"},
]
description = "Goal-oriented error estimation and mesh adaptation for finite element problems solved using Firedrake"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
[project.optional-dependencies]
dev = [
"cffconvert",
"coverage",
"parameterized",
"pre-commit",
"ruff",
]
[project.urls]
Homepage = "https://mesh-adaptation.github.io"
Documentation = "https://mesh-adaptation.github.io/goalie/index.html"
Repository = "https://github.com/mesh-adaptation/goalie"
[tool.setuptools]
packages = ["goalie", "goalie_adjoint"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # mccabe complexity
"E", "W", # Pycodestyle
"F", # Pyflakes
"I", # isort
]
ignore = [
"C901", # function is too complex (TODO #165: enable this)
]
[tool.ruff.lint.per-file-ignores]
"demos/burgers-hessian.py" = [
"E501", # line too long
]
"demos/*.py" = [
"E402", # module level import not at top of file
"F403", # unable to detect undefined names
"F405", # name may be undefined, or defined from star imports
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore:`np.bool8` is a deprecated alias for `np.bool_`*:DeprecationWarning",
"ignore:unable to find git revision*:UserWarning",
]