Skip to content

Commit 8019d90

Browse files
committed
refactor: rename package from rivet-di to dioxide
Complete package renaming from rivet-di to dioxide across the entire codebase to better reflect the project's identity and purpose. Changes: - Renamed Python package: python/rivet_di -> python/dioxide - Updated internal attribute: __rivet_scope__ -> __dioxide_scope__ - Renamed Rust module: _rivet_core -> _dioxide_core - Updated all documentation and configuration files - Updated GitHub repository references - Updated all BDD feature files and test imports - Added CLAUDE.md for development guidance - Updated git remote URL to github.com/mikelane/dioxide - Fixed pre-commit hook to use uv run pytest The renaming maintains backward compatibility in the API surface while cleaning up all internal references to the old name.
1 parent 17b09b7 commit 8019d90

34 files changed

+1784
-140
lines changed

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug Report
3-
about: Report a bug in rivet-di
3+
about: Report a bug in dioxide
44
title: '[BUG] '
55
labels: 'type: bug'
66
assignees: ''
@@ -22,7 +22,7 @@ assignees: ''
2222

2323
## Environment
2424
- Python version:
25-
- rivet-di version:
25+
- dioxide version:
2626
- OS:
2727

2828
## Additional Context

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Feature
3-
about: Propose a new feature for rivet-di
3+
about: Propose a new feature for dioxide
44
title: '[FEATURE] '
55
labels: 'type: feature'
66
assignees: ''

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
if: startsWith(github.ref, 'refs/tags/v')
6868
environment:
6969
name: pypi
70-
url: https://pypi.org/p/rivet-di
70+
url: https://pypi.org/p/dioxide
7171
permissions:
7272
id-token: write
7373

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
run: uv pip install -e ".[dev]"
100100

101101
- name: Run tests with coverage
102-
run: uv run pytest --cov=rivet_di --cov-report=xml --cov-report=term-missing
102+
run: uv run pytest --cov=dioxide --cov-report=xml --cov-report=term-missing
103103

104104
- name: Upload coverage to Codecov
105105
uses: codecov/codecov-action@v3

.github/workflows/python-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ jobs:
4444
run: maturin develop
4545

4646
- name: Run pytest
47-
run: pytest --cov=rivet_di --cov-report=xml --cov-report=term
47+
run: pytest --cov=dioxide --cov-report=xml --cov-report=term
4848

4949
- name: Run behave BDD tests
5050
run: behave
5151

5252
- name: Run mypy type checking
53-
run: mypy python/rivet_di
53+
run: mypy python/dioxide
5454

5555
- name: Run ruff linting
56-
run: ruff check python/rivet_di
56+
run: ruff check python/dioxide
5757

5858
- name: Check code formatting
59-
run: ruff format --check python/rivet_di
59+
run: ruff format --check python/dioxide
6060

6161
- name: Upload coverage to Codecov
6262
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ Thumbs.db
5858
# Project-specific
5959
*.log
6060
*.profraw
61+
62+
.claude

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ repos:
5050

5151
- id: pytest-cov
5252
name: pytest with coverage
53-
entry: pytest
53+
entry: uv run pytest
5454
language: system
5555
types: [python]
5656
pass_filenames: false
57-
args: [tests/test_component.py, --cov=rivet_di, --cov-fail-under=95, --cov-branch, -q]
57+
args: [tests/test_component.py, --cov=dioxide, --cov-fail-under=95, --cov-branch, -q]

0 commit comments

Comments
 (0)