Repository navigation
Update GIAnT-Python with the latest aind python template #99
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
15 commits
Select commit
Hold shift + click to select a range
0759574
use the latest aind python-template
varndorfer 708fea1
update pyproject.toml with dependencies for testing
varndorfer 99c0e31
configure hatch build
varndorfer 421be83
add hatch versioning
varndorfer c5be8e3
allow direct references for the slap2_utils library
varndorfer d9639a8
ruff fixes and docstring fixes
varndorfer 0619ef8
ruff reformatting to 100 columns
varndorfer dc0b211
annotation fixes
varndorfer 8e94cf7
add Return section to docstrings
varndorfer 057b1b7
Merge branch 'main' into update-repo-with-python-template
varndorfer 7d2c4e5
merge with main
varndorfer 95a6cc7
Normalize line endings to LF in the repository
varndorfer 94ccc3b
Lower the interrogate fail-under threshold to 80
varndorfer b24d698
coverage fail under 80 instead of 100 (for now)
varndorfer 6def45f
Use static versioning so the release workflow and runtime version agree
varndorfer 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,17 @@ | ||
| # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY | ||
| _commit: '4346961' | ||
| _src_path: https://github.com/AllenNeuralDynamics/python-templates | ||
| author_name: Neural Dynamics accelerator at the Allen Institute | ||
| initial_version: 0.0.0 | ||
| level_of_support: Supported | ||
| max_python_target_version: '3.14' | ||
| min_python_target_version: '3.10' | ||
| package_name: giant_python | ||
| project_created_date: '2026-03-27' | ||
| project_description: Glutamate Imaging Analysis Toolbox, Python implementation | ||
| project_name: GIAnT-Python | ||
| project_url: '' | ||
| release_type: GitHub | ||
| repo_visibility: public | ||
| template_type: library-template | ||
|
|
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
| * text=auto | ||
| uv.lock linguist-generated |
This file was deleted.
Oops, something went wrong.
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 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,31 @@ | ||
| name: Run test and format checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - dev | ||
| - main | ||
|
|
||
| jobs: | ||
| test_and_format_checks: | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| python-version: ["3.10", "3.11", "3.12"] | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Python ${{ matrix.python-version }} | ||
| uses: astral-sh/setup-uv@v7 | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| - name: Install dependencies | ||
| run: uv sync | ||
| - name: Check docstring coverage | ||
| run: uv run interrogate --verbose | ||
| - name: Run format checks | ||
| run: uv run ruff check | ||
| - name: Check tests and test coverage | ||
| run: uv run 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
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 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
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.