-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
89 lines (79 loc) · 2.43 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "swirlc"
authors = [
{name = "Iacopo Colonnelli", email = "[email protected]"},
{name = "Doriana Medić", email = "[email protected]"},
{name = "Alberto Mulone", email = "[email protected]"}
]
description = "Scientific Workflow Intermediate Representation Language"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "LGPL-3.0-or-later"}
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: System :: Distributed Computing"
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[project.scripts]
swirlc = "swirlc.main:run"
[project.urls]
Package = "https://pypi.org/project/swirlc"
Repository = "https://github.com/alpha-unito/swirlc"
Docker = "https://hub.docker.com/r/alphaunito/swirlc"
[tool.setuptools]
packages = [
"swirlc",
"swirlc.antlr",
"swirlc.compiler",
"swirlc.config",
"swirlc.core",
"swirlc.translator"
]
zip-safe = true
[tool.setuptools.package-data]
"swirlc.config" = ["schemas/v1.0/*.json"]
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
version = {attr = "swirlc.version.VERSION"}
[tool.setuptools.dynamic.optional-dependencies]
bandit = {file = "bandit-requirements.txt"}
lint = {file = "lint-requirements.txt"}
test = {file = "test-requirements.txt"}
[tool.coverage.run]
branch = true
source_pkgs = ["swirlc"]
omit = ["swirlc/antlr/*"]
[tool.coverage.report]
exclude_lines = [
# Exclude not implemented methods
"raise NotImplementedError",
# Exclude abstract methods
"@(abc\\.)?abstractmethod",
# Exclude Python script entrypoints
"if __name__ == .__main__.:",
# Exclude type checking lines
"if TYPE_CHECKING:",
# Exclude log messages
"if logger.isEnabledFor"
]
ignore_errors = true
omit = [
"swirlc/__main__.py",
"tests/*"
]
[tool.black]
exclude = "swirlc/antlr"