-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (109 loc) · 2.52 KB
/
pyproject.toml
File metadata and controls
118 lines (109 loc) · 2.52 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "blending-evaluation"
version = "0.1.0"
description = "Bulk Material Homogenization Evaluation Workspace"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"jmetalpy_extensions",
"bmh",
"blending_simulator_lib",
"plant_simulator",
"data_explorer",
"bmh_apps",
"benchmark_explorer",
"solution_explorer",
"demo_plant_simulator"
]
[dependency-groups]
dev = [
"pybind11-stubgen",
"ruff",
"mypy",
"pytest",
"scipy-stubs",
]
[tool.uv]
workspace = { members = [
"libraries/jmetalpy_extensions",
"libraries/bmh",
"libraries/blending_simulator_lib",
"libraries/plant_simulator",
"libraries/data_explorer",
"apps/bmh_apps",
"apps/benchmark_explorer",
"apps/solution_explorer",
"apps/demo_plant_simulator"
] }
[tool.uv.sources]
jmetalpy_extensions = { workspace = true }
bmh = { workspace = true }
blending_simulator_lib = { workspace = true }
plant_simulator = { workspace = true }
data_explorer = { workspace = true }
bmh_apps = { workspace = true }
benchmark_explorer = { workspace = true }
solution_explorer = { workspace = true }
demo_plant_simulator = { workspace = true }
[tool.isort]
profile = "black"
line_length = 160
include_trailing_comma = false
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 160
indent-width = 4
[tool.ruff.lint]
select = ["F", "B", "S", "A", "Q", "PT", "PIE", "RET", "E", "W", "UP", "SIM", "I", "C901", "BLE", "C4", "DTZ", "LOG", "INP", "TD", "TC", "ARG", "NPY", "PD", "N", "PERF", "RUF"]
ignore = ["S101", "SIM108", "TD001", "TD002", "TD003", "TD004", "TD007", "BLE001", "N999"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = 88
[tool.mypy]
python_version = "3.12"
exclude = [
"build/",
"dist/",
".venv/",
"__pycache__/"
]
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_defs = false
warn_redundant_casts = true
warn_unused_ignores = true
show_error_codes = true