Skip to content

Commit

Permalink
switch to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Feb 20, 2025
1 parent 8b5aeca commit 783318f
Show file tree
Hide file tree
Showing 7 changed files with 325 additions and 123 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,5 @@ main.py
.mock_state.txt
quantum_task.json
future.json

uv.lock
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,23 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-yaml
args: ['--unsafe']
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
# Ruff version.
rev: "v0.5.5"
rev: "v0.9.2"
hooks:
- id: ruff
Binary file modified docs/assets/favicon.ico
Binary file not shown.
174 changes: 133 additions & 41 deletions docs/assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
167 changes: 126 additions & 41 deletions docs/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
coverage-run:
coverage run -m pytest test

coverage-xml:
coverage xml

coverage-html:
coverage html

coverage-report:
coverage report

coverage-open:
open htmlcov/index.html

coverage: coverage-run coverage-xml coverage-report

doc:
mkdocs serve

doc-build:
mkdocs build
Loading

0 comments on commit 783318f

Please sign in to comment.