-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·57 lines (48 loc) · 1.33 KB
/
pyproject.toml
File metadata and controls
executable file
·57 lines (48 loc) · 1.33 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ppcfd"
version = "0.3.0"
authors = [
{ name="AI4S@PaddlePaddle", email="paddlescience@baidu.com" },
]
description = "PaddleCFD is a deep learning toolkit for surrogate modeling, equation discovery, shape optimization and flow-control strategy discovery in the field of fluid mechanics."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = { text = "Apache-2.0" }
dynamic = ["dependencies"]
[project.urls]
Homepage = "https://github.com/PaddlePaddle/PaddleCFD"
Issues = "https://github.com/PaddlePaddle/PaddleCFD/issues"
[tool.setuptools.packages.find]
where = ["."]
exclude = [
"doc",
"examples",
]
[tool.ruff]
line-length = 119
ignore = ["E501", "E741", "E731"]
extend-exclude = [
]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[tool.isort]
profile = "black"
[tool.black]
line-length = 119
target_version = ['py310']
[tool.ruff.lint]
# Ignored rules:
# "E501" -> line length violation
# "F821" -> undefined named in type annotation (e.g. Literal["something"])
ignore = ["E501", "F821"]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.isort]
force-single-line = true
lines-after-imports = 2