-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
65 lines (58 loc) · 1.42 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
[build-system]
requires = ["setuptools"]
[project]
name = "opt_adapt"
version = "0.2"
authors = [
{name = "Joseph G. Wallwork", email = "[email protected]"},
{name = "Yihan Liu"},
{name = "Stephan C. Kramer"},
]
maintainers = [
{name = "Joseph G. Wallwork", email = "[email protected]"},
]
description = "PDE-constrained optimisation using mesh adaptive methods"
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
dependencies = [
"netCDF4",
"pyproj",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"ruff",
]
[project.urls]
Repository = "https://github.com/mesh-adaptation/opt_adapt"
[tool.setuptools]
packages = ["opt_adapt"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C", # mccabe complexity
"E", "W", # Pycodestyle
"F", # Pyflakes
"I", # isort
]
ignore = [
"C901", # too complex
"E226", # missing whitespace around arithmetic operator
"E402", # module level import not at top of file
"E501", # line too long
"E741", # ambiguous variable name
"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",
]