Skip to content

Commit db00ce1

Browse files
committed
MAINT/BENCH: Configure benchmark to work with conda
* Update license type to point at file * Use correct format for project.authors field * Use correct format for project.maintainers field * Benchmark HEAD by default, not main branch
1 parent 6c40b8e commit db00ce1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
// List of branches to benchmark. If not provided, defaults to "master"
4141
// (for git) or "default" (for mercurial).
42-
"branches": ["main"],
42+
"branches": ["HEAD"],
4343

4444
// The DVCS being used. If not set, it will be automatically
4545
// determined from "repo" by looking at the protocol in the URL

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ name = "numpy-financial"
1111
version = "2.0.0"
1212
requires-python = ">=3.10"
1313
description = "Simple financial functions"
14-
license = "BSD-3-Clause"
15-
authors = ["Travis E. Oliphant et al."]
16-
maintainers = ["Numpy Financial Developers <numpy-discussion@python.org>"]
14+
license = {file = "LICENSE.txt"}
15+
authors = [{name = "Travis E. Oliphant et al."}]
16+
maintainers = [{ name = "Numpy Financial Developers", email = "numpy-discussion@python.org" }]
1717
readme = "README.md"
1818
homepage = "https://numpy.org/numpy-financial/latest/"
1919
repository = "https://github.com/numpy/numpy-financial"

0 commit comments

Comments
 (0)