forked from osPlanning/omx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Refactoring pytables out and h5py in #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
b17ff7c
refactoring
pedrocamargo 9adbc75
refactoring
pedrocamargo 8e820fe
refactoring
pedrocamargo 8be742b
refactoring
pedrocamargo 2926370
refactoring
pedrocamargo 81825c9
refactoring
pedrocamargo d88b71a
debug
pedrocamargo d70ef82
debug
pedrocamargo 42aba42
debug
pedrocamargo 91f71df
.
pedrocamargo c060083
.
pedrocamargo fa429a6
.
pedrocamargo ca2ca71
.
pedrocamargo 450298e
.
pedrocamargo 0ef360b
.
pedrocamargo 2e2c6cf
.
pedrocamargo 69f7ae9
.
pedrocamargo e9690ad
.
pedrocamargo 14c5ae3
.
pedrocamargo c38b0b3
.
pedrocamargo 69e86e0
Replace two-arg super with zero-arg super
Jake-Moss 258fe4d
Add fletcher32 option support to mirror pytables omx
Jake-Moss 63b64d0
Some type hints
Jake-Moss cfb2002
WIP: add 'data' property and use it (once, more to come)
Jake-Moss 3449985
Update .github/workflows/ci.yml
pedrocamargo b19d559
Update .github/workflows/ci.yml
pedrocamargo 706e69a
Update tests/test_file.py
pedrocamargo dedace5
Update src/openmatrix/__init__.py
pedrocamargo 6eadf76
Update .github/workflows/ci.yml
pedrocamargo 18bc509
Update pyproject.toml
pedrocamargo 2629ebb
Add coverage testing
Jake-Moss 79ffdad
Ensure data and lookup always exist, remove excessive double checks
Jake-Moss 9f89d07
Fix and clean up validator tests
Jake-Moss f70f63f
Fix and extend testing suite, reach 100% branch coverage
Jake-Moss 562ff37
Remove bad CI options
Jake-Moss ea5f6a2
Quotes?
Jake-Moss 13f33c9
Forgot rename
Jake-Moss f6fa3f7
Bump CI versions
Jake-Moss 12779f7
Restore and update doc strings
Jake-Moss b4d6fe0
Update README documentation
Jake-Moss File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| name: Python package | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - 'master' | ||
| pull_request: | ||
|
|
||
|
|
||
| jobs: | ||
| lint-coverage: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| python-version: ["3.13"] | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup uv | ||
| uses: astral-sh/setup-uv@v7 | ||
|
|
||
| - name: Lint | ||
| run: uv run --python ${{ matrix.python-version }} --extra dev ruff check --output-format=github | ||
|
|
||
| - name: Generate coverage report | ||
| run: | | ||
| uv run --python ${{ matrix.python-version }} --extra dev \ | ||
| pytest tests/ \ | ||
| --cov=. \ | ||
| --cov-branch \ | ||
| --cov-report=term-missing \ | ||
| --cov-report=html:cov_html \ | ||
| --cov-report=markdown-append:$GITHUB_STEP_SUMMARY \ | ||
| --verbose | ||
|
|
||
| - uses: actions/upload-artifact@v6 | ||
| with: | ||
| name: html-coverage-artifact | ||
| path: ./cov_html/ | ||
|
|
||
| test: | ||
| needs: lint-coverage | ||
| runs-on: ${{ matrix.os }} | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}-${{ matrix.python-version }} | ||
| cancel-in-progress: true | ||
| strategy: | ||
| fail-fast: true | ||
| matrix: | ||
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | ||
| os: [ubuntu-latest, windows-latest, macos-latest] | ||
| exclude: | ||
| - os: macos-latest | ||
| python-version: "3.9" | ||
| - os: macos-latest | ||
| python-version: "3.10" | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup uv | ||
| uses: astral-sh/setup-uv@v7 | ||
|
|
||
| - name: Install and test | ||
| run: uv run --python ${{ matrix.python-version }} --extra dev pytest | ||
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -21,3 +21,9 @@ nosetests.xml | |
|
|
||
| # Python build directory | ||
| api/python/build | ||
|
|
||
| .venv/ | ||
| venv/ | ||
| pyenv/ | ||
| .idea/ | ||
| build/ | ||
This file contains hidden or 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.