-
-
Notifications
You must be signed in to change notification settings - Fork 152
/
pyproject.toml
51 lines (44 loc) · 1.36 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
[build-system]
requires = ["setuptools >= 63.0"]
build-backend = "setuptools.build_meta"
[project]
name = "Platypus-Opt"
description = "Multiobjective optimization in Python"
authors = [
{ name="David Hadka", email="[email protected]" },
]
readme = "README.md"
license = { file="COPYING" }
requires-python = ">= 3.8"
dependencies = []
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/Project-Platypus/Platypus"
"Documentation" = "https://platypus.readthedocs.io/"
"Bug Tracker" = "https://github.com/Project-Platypus/Platypus/issues"
[project.optional-dependencies]
test = ["pytest", "mock", "flake8", "flake8-pyproject", "numpy", "matplotlib", "jsonpickle"]
docs = ["sphinx", "sphinx-rtd-theme"]
full = ["mpi4py", "Platypus-Opt[test]", "Platypus-Opt[docs]"]
[project.scripts]
platypus = "platypus.__main__:main"
[tool.setuptools.dynamic]
version = {attr = "platypus.__version__"}
[tool.pytest.ini_options]
addopts = "-rA -Werror"
testpaths = ["platypus"]
[tool.flake8]
exclude = [
".git",
"__pycache__",
"build",
]
extend-ignore = [
"E302", # Expected 2 blank lines, found N
"E305", # Expected 2 blank lines after class or function definition, found N
"E501", # Line too long (N > 79 characters)
"E741", # Do not use variables named 'I', 'O', or 'l'
]
per-file-ignores = [
"__init__.py:F401", # Module imported but unused
]