File tree Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Expand file tree Collapse file tree 3 files changed +8
-18
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 22
33This document outlines how to setup and run the benchmarks using [ asv] ( https://asv.readthedocs.io/en/v0.6.1/ ) .
44
5- ## Installing asv
6-
7- ` asv ` can be installed with poetry via the ` bench ` group to install the bench group run:
8-
9- ``` shell
10- poetry install --with=bench
11- ```
12-
13- This will install `` asv `` into your poetry environment.
14-
155## Running the benchmarks
166
177To run the benchmarks with `` asv `` , simply enter:
188
199``` shell
20- poetry run asv run
10+ asv run
2111```
2212
2313## Viewing the results
@@ -27,13 +17,13 @@ There are two steps to viewing the results locally. The results need to be publi
2717To publish the results use:
2818
2919``` shell
30- poetry run asv publish
20+ asv publish
3121```
3222
3323And then to view the results:
3424
3525``` shell
36- poetry run asv preview
26+ asv preview
3727```
3828
3929This will launch a local web browser from which you can view the results
@@ -43,7 +33,7 @@ This will launch a local web browser from which you can view the results
4333One common use case is to use `` asv `` in development, there are several useful flags that should be used:
4434
4535``` shell
46- poetry run asv --python=same --quick --dry-run
36+ asv --python=same --quick --dry-run
4737```
4838
4939We are adding three flags, these flags are:
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ name = "numpy-financial"
1111version = " 2.0.0"
1212requires-python = " >=3.10"
1313description = " Simple financial functions"
14- license = " BSD-3-Clause "
15- authors = [" Travis E. Oliphant et al." ]
16- maintainers = [
" Numpy Financial Developers < [email protected] > " ]
14+ license = { file = " LICENSE.txt " }
15+ authors = [{ name = " Travis E. Oliphant et al." } ]
16+ maintainers = [
{ name = " Numpy Financial Developers" , email = " [email protected] " } ]
1717readme = " README.md"
1818homepage = " https://numpy.org/numpy-financial/latest/"
1919repository = " https://github.com/numpy/numpy-financial"
You can’t perform that action at this time.
0 commit comments