-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (87 loc) · 2.46 KB
/
Copy pathpyproject.toml
File metadata and controls
98 lines (87 loc) · 2.46 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "ffcx_backends"
version = "0.0.0"
dependencies = [
"fenics-basix>=0.12.0.dev0,<0.13.0",
"fenics-ffcx>=0.12.0.dev0,<0.13.0",
"fenics-ufl>=2026.2.0.dev0,<2026.3.0",
]
requires-python = ">=3.10"
authors = [
# in alphabetical order
{ name = "Andreas Zilian", email = "andreas.zilian@uni.lu" },
{ name = "Benjamin Pachev", email = "benjaminpachev@gmail.com" },
{ name = "Michal Habera", email = "michal.habera@uni.lu" },
{ name = "Paul T. Kühner", email = "paul.kuehner@uni.lu" },
]
maintainers = [
# in alphabetical order
{ name = "Michal Habera", email = "michal.habera@uni.lu" },
{ name = "Paul T. Kühner", email = "paul.kuehner@uni.lu" },
]
description = ""
readme = "README.md"
license = "LGPL-3.0-only"
license-files = ["LICENSE"]
# keywords = []
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
]
[project.urls]
Repository = "https://github.com/schnellerhase/ffcx-backends"
"Bug Tracker" = "https://github.com/schnellerhase/ffcx-backends/issues"
[project.optional-dependencies]
test = ["pytest", "nvidia-cuda-nvrtc-cu12 ; platform_system == 'Linux'"]
[dependency-groups]
format = ["ruff", "yamllint", "typos", "gersemi", "clang-format"]
lint = ["mypy", "ty", "ruff"]
dev = [
"fenics-basix@git+https://github.com/fenics/basix@main",
"fenics-ffcx@git+https://github.com/fenics/ffcx@main",
"fenics-ufl@git+https://github.com/fenics/ufl@main",
]
[tool.setuptools]
packages = ["ffcx_backends"]
[tool.ruff]
line-length = 100
indent-width = 4
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
select = [
"N", # pep8-naming
"E", # pycodestyle
"W", # pycodestyle
"D", # pydocstyle
"F", # pyflakes
"I", # isort
"RUF", # Ruff-specific rules
"UP", # pyupgrade
"ICN", # flake8-import-conventions
"NPY", # numpy-specific rules
"FLY", # use f-string not static joins
"LOG", # flake8-logging
"ISC", # flake8-implicit-str-concat
"B", # flake8-bugbear
"A", # flake8-builtins
]
unfixable = ["F401"] # unused-import
[tool.ruff.lint.per-file-ignores]
"test/*" = ["D"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
disallow_untyped_defs = true
disallow_any_unimported = true
no_implicit_optional = true
check_untyped_defs = true
warn_return_any = true
warn_unused_ignores = true
show_error_codes = true
ignore_missing_imports = true
warn_redundant_casts = true
warn_unreachable = true