-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (92 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
103 lines (92 loc) · 2.15 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "perprof-py"
authors = [
{name = "Abel Soares Siqueira", email = "abel.s.siqueira@gmail.com"},
{name = "Raniere Gaia Costa da Silva", email = "raniere@ime.unicamp.br"},
{name = "Luiz Rafael dos Santos", email = "l.r.santos@ufsc.br"},
]
description = "A python module for performance profiling (as described by Dolan and Moré)"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["benchmark", "comparison", "performance profile"]
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python"
]
dependencies = [
"pyyaml>=5,<7",
"matplotlib>=3,<4",
"bokeh>=2,<4",
"pandas>=1,<3",
"numpy>=1.20,<3.0",
]
version = "1.1.4"
[project.optional-dependencies]
docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
"mike",
]
[project.scripts]
perprof = "perprof.main:main"
[project.urls]
repository = "https://github.com/abelsiqueira/perprof-py"
documentation = "https://perprof-py.readthedocs.org/en/latest/"
[tool.isort]
lines_after_impots = 2
force_single_line = 1
src_paths = "bird_cloud_gnn,tests"
[tool.pytest.ini_options]
testpaths = ["tests", "perprof"]
addopts = "--doctest-modules --ignore=perprof/examples/"
[tool.coverage.run]
source = ["perprof"]
omit = ["*/tests/*", "*/examples/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
show_missing = true
fail_under = 60
[tool.setuptools.packages.find]
where = ["."]
include = ["perprof*"]
exclude = ["docker", "tests*"]
namespaces = false
[tool.setuptools.package-data]
perprof = ["locale/*/*/*.mo", "examples/*.table"]
[dependency-groups]
test = [
"pytest",
"pytest-cov",
]
lint = [
"black",
"ruff",
"isort",
"pre-commit",
"prospector[with_pyroma]",
"pylint",
]
type-check = [
"mypy>=1.4.1",
"pandas-stubs>=1.2.0.62",
"types-pyyaml>=6.0.12.12",
]
dev = [
{include-group = "test"},
{include-group = "lint"},
{include-group = "type-check"},
]
publishing = [
"build",
"twine",
]