forked from xarray-contrib/flox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into engine_none
* upstream/main: Cleanups (xarray-contrib#276)
- Loading branch information
Showing
30 changed files
with
15,193 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,61 @@ | ||
ci: | ||
autoupdate_schedule: quarterly | ||
autoupdate_schedule: quarterly | ||
|
||
repos: | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: 'v0.0.292' | ||
hooks: | ||
- id: ruff | ||
args: ["--fix", "--show-fixes"] | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-docstring-first | ||
|
||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 23.9.1 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.17 | ||
hooks: | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: "v0.0.292" | ||
hooks: | ||
- id: ruff | ||
args: ["--fix", "--show-fixes"] | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v3.0.3" | ||
hooks: | ||
- id: prettier | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.5.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-docstring-first | ||
|
||
- repo: https://github.com/psf/black-pre-commit-mirror | ||
rev: 23.9.1 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/executablebooks/mdformat | ||
rev: 0.7.17 | ||
hooks: | ||
- id: mdformat | ||
additional_dependencies: | ||
- mdformat-black | ||
- mdformat-myst | ||
|
||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 1.7.0 | ||
hooks: | ||
- id: nbqa-black | ||
- id: nbqa-ruff | ||
args: [--fix] | ||
|
||
- repo: https://github.com/kynan/nbstripout | ||
rev: 0.6.1 | ||
hooks: | ||
- id: nbstripout | ||
args: [--extra-keys=metadata.kernelspec metadata.language_info.version] | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
|
||
- repo: https://github.com/abravalheri/validate-pyproject | ||
rev: v0.14 | ||
hooks: | ||
- id: validate-pyproject | ||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 1.7.0 | ||
hooks: | ||
- id: nbqa-black | ||
- id: nbqa-ruff | ||
args: [--fix] | ||
|
||
- repo: https://github.com/kynan/nbstripout | ||
rev: 0.6.1 | ||
hooks: | ||
- id: nbstripout | ||
args: [--extra-keys=metadata.kernelspec metadata.language_info.version] | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
|
||
- repo: https://github.com/abravalheri/validate-pyproject | ||
rev: v0.15 | ||
hooks: | ||
- id: validate-pyproject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,98 @@ | ||
{ | ||
// The version of the config file format. Do not change, unless | ||
// you know what you are doing. | ||
"version": 1, | ||
|
||
// The name of the project being benchmarked | ||
"project": "flox", | ||
|
||
// The project's homepage | ||
"project_url": "http://flox.readthedocs.io/", | ||
|
||
// The URL or local path of the source code repository for the | ||
// project being benchmarked | ||
"repo": "..", | ||
|
||
// The Python project's subdirectory in your repo. If missing or | ||
// the empty string, the project is assumed to be located at the root | ||
// of the repository. | ||
// "repo_subdir": "", | ||
|
||
// Customizable commands for building, installing, and | ||
// uninstalling the project. See asv.conf.json documentation. | ||
// | ||
// "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"], | ||
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], | ||
// "build_command": [ | ||
// "python setup.py build", | ||
// "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" | ||
// ], | ||
|
||
// List of branches to benchmark. If not provided, defaults to "master" | ||
// (for git) or "default" (for mercurial). | ||
"branches": ["main"], // for git | ||
"dvcs": "git", | ||
|
||
// timeout in seconds for installing any dependencies in environment | ||
// defaults to 10 min | ||
"install_timeout": 600, | ||
|
||
// the base URL to show a commit for the project. | ||
"show_commit_url": "http://github.com/xarray-contrib/flox/commit/", | ||
|
||
// The Pythons you'd like to test against. If not provided, defaults | ||
// to the current version of Python used to run `asv`. | ||
// "pythons": ["3.9"], | ||
|
||
"environment_type": "mamba", | ||
"conda_channels": ["conda-forge"], | ||
"conda_environment_file": "../ci/benchmark.yml", | ||
|
||
// The directory (relative to the current directory) that benchmarks are | ||
// stored in. If not provided, defaults to "benchmarks" | ||
"benchmark_dir": "benchmarks", | ||
|
||
// The directory (relative to the current directory) to cache the Python | ||
// environments in. If not provided, defaults to "env" | ||
"env_dir": ".asv/env", | ||
|
||
// The directory (relative to the current directory) that raw benchmark | ||
// results are stored in. If not provided, defaults to "results". | ||
"results_dir": ".asv/results", | ||
|
||
// The directory (relative to the current directory) that the html tree | ||
// should be written to. If not provided, defaults to "html". | ||
"html_dir": ".asv/html", | ||
|
||
// The number of characters to retain in the commit hashes. | ||
// "hash_length": 8, | ||
|
||
// `asv` will cache results of the recent builds in each | ||
// environment, making them faster to install next time. This is | ||
// the number of builds to keep, per environment. | ||
// "build_cache_size": 2, | ||
|
||
// The commits after which the regression search in `asv publish` | ||
// should start looking for regressions. Dictionary whose keys are | ||
// regexps matching to benchmark names, and values corresponding to | ||
// the commit (exclusive) after which to start looking for | ||
// regressions. The default is to start from the first commit | ||
// with results. If the commit is `null`, regression detection is | ||
// skipped for the matching benchmark. | ||
// | ||
// "regressions_first_commits": { | ||
// "some_benchmark": "352cdf", // Consider regressions only after this commit | ||
// "another_benchmark": null, // Skip regression detection altogether | ||
// }, | ||
|
||
// The thresholds for relative change in results, after which `asv | ||
// publish` starts reporting regressions. Dictionary of the same | ||
// form as in ``regressions_first_commits``, with values | ||
// indicating the thresholds. If multiple entries match, the | ||
// maximum is taken. If no entry matches, the default is 5%. | ||
// | ||
// "regressions_thresholds": { | ||
// "some_benchmark": 0.01, // Threshold of 1% | ||
// "another_benchmark": 0.5, // Threshold of 50% | ||
// }, | ||
// The version of the config file format. Do not change, unless | ||
// you know what you are doing. | ||
"version": 1, | ||
|
||
// The name of the project being benchmarked | ||
"project": "flox", | ||
|
||
// The project's homepage | ||
"project_url": "http://flox.readthedocs.io/", | ||
|
||
// The URL or local path of the source code repository for the | ||
// project being benchmarked | ||
"repo": "..", | ||
|
||
// The Python project's subdirectory in your repo. If missing or | ||
// the empty string, the project is assumed to be located at the root | ||
// of the repository. | ||
// "repo_subdir": "", | ||
|
||
// Customizable commands for building, installing, and | ||
// uninstalling the project. See asv.conf.json documentation. | ||
// | ||
// "install_command": ["in-dir={env_dir} python -mpip install {wheel_file}"], | ||
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"], | ||
// "build_command": [ | ||
// "python setup.py build", | ||
// "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" | ||
// ], | ||
|
||
// List of branches to benchmark. If not provided, defaults to "master" | ||
// (for git) or "default" (for mercurial). | ||
"branches": ["main"], // for git | ||
"dvcs": "git", | ||
|
||
// timeout in seconds for installing any dependencies in environment | ||
// defaults to 10 min | ||
"install_timeout": 600, | ||
|
||
// the base URL to show a commit for the project. | ||
"show_commit_url": "http://github.com/xarray-contrib/flox/commit/", | ||
|
||
// The Pythons you'd like to test against. If not provided, defaults | ||
// to the current version of Python used to run `asv`. | ||
// "pythons": ["3.9"], | ||
|
||
"environment_type": "mamba", | ||
"conda_channels": ["conda-forge"], | ||
"conda_environment_file": "../ci/benchmark.yml", | ||
|
||
// The directory (relative to the current directory) that benchmarks are | ||
// stored in. If not provided, defaults to "benchmarks" | ||
"benchmark_dir": "benchmarks", | ||
|
||
// The directory (relative to the current directory) to cache the Python | ||
// environments in. If not provided, defaults to "env" | ||
"env_dir": ".asv/env", | ||
|
||
// The directory (relative to the current directory) that raw benchmark | ||
// results are stored in. If not provided, defaults to "results". | ||
"results_dir": ".asv/results", | ||
|
||
// The directory (relative to the current directory) that the html tree | ||
// should be written to. If not provided, defaults to "html". | ||
"html_dir": ".asv/html" | ||
|
||
// The number of characters to retain in the commit hashes. | ||
// "hash_length": 8, | ||
|
||
// `asv` will cache results of the recent builds in each | ||
// environment, making them faster to install next time. This is | ||
// the number of builds to keep, per environment. | ||
// "build_cache_size": 2, | ||
|
||
// The commits after which the regression search in `asv publish` | ||
// should start looking for regressions. Dictionary whose keys are | ||
// regexps matching to benchmark names, and values corresponding to | ||
// the commit (exclusive) after which to start looking for | ||
// regressions. The default is to start from the first commit | ||
// with results. If the commit is `null`, regression detection is | ||
// skipped for the matching benchmark. | ||
// | ||
// "regressions_first_commits": { | ||
// "some_benchmark": "352cdf", // Consider regressions only after this commit | ||
// "another_benchmark": null, // Skip regression detection altogether | ||
// }, | ||
|
||
// The thresholds for relative change in results, after which `asv | ||
// publish` starts reporting regressions. Dictionary of the same | ||
// form as in ``regressions_first_commits``, with values | ||
// indicating the thresholds. If multiple entries match, the | ||
// maximum is taken. If no entry matches, the default is 5%. | ||
// | ||
// "regressions_thresholds": { | ||
// "some_benchmark": 0.01, // Threshold of 1% | ||
// "another_benchmark": 0.5, // Threshold of 50% | ||
// }, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ dependencies: | |
- asv | ||
- cachey | ||
- dask-core | ||
- numpy>=1.20 | ||
- numpy>=1.21 | ||
- mamba | ||
- pip | ||
- python=3.10 | ||
|
Oops, something went wrong.