Skip to content

hypernetwork-research-group/hyperbench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HyperBench

Contributors Forks Stargazers Issues project_license codecov

Table of Contents
  1. About the project
  2. Getting started
  3. Usage
  4. Contributing
  5. License
  6. Contact
  7. Acknowledgments

About The Project

Getting Started

### Prerequisites

WIP

Installation

Sync dependencies

Use uv to sync dependencies:

uv sync

Usage

Contributing

See CONTRIBUTING.md for details.

Pre-commit hooks

Run the following command to install the pre-commit hook:

uv sync

pre-commit install --config .github/hooks/.pre-commit-config.yaml --hook-type pre-commit --install-hooks --overwrite

Linter

Use Ruff for linting and formatting:

uvx ruff check

uvx ruff format

Type checker

Use Ty for type checking:

uvx ty check

# In watch mode
uvx ty check --watch

Tests

Run tests with pytest:

uv run pytest --cov=hyperbench --cov-report=term-missing
# html report
uv run pytest --cov=hyperbench --cov-report=html

Utilities

Before committing code, run the following command to ensure code quality:

uv pip uninstall . && \
uv sync && \
uv pip install -e . && \
uv run ruff format && \
uvx ty check && \
uv run pytest --cov=hyperbench --cov-report=term-missing

License

WIP

Contact

WIP

Acknowledgments

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •