Skip to content
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

Add dependabot config #128

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Add dependabot config #128

merged 1 commit into from
Mar 4, 2024

Conversation

lochhh
Copy link
Collaborator

@lochhh lochhh commented Mar 4, 2024

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
This PR indirectly resolves #127

What does this PR do?
This PR configures dependabot to check for github-actions dependency updates on a monthly basis.

References

#127

How has this PR been tested?

This PR has been tested in a forked movement repo.

Is this a breaking change?

If this PR breaks any existing functionality, please explain how and why.

Does this PR require an update to the documentation?

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted with pre-commit

Copy link

sonarqubecloud bot commented Mar 4, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@lochhh lochhh marked this pull request as ready for review March 4, 2024 12:34
@lochhh lochhh requested a review from niksirbi March 4, 2024 12:35
Copy link
Member

@niksirbi niksirbi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @lochhh!
Always great to have less things to think about.

@lochhh lochhh merged commit 58dad84 into main Mar 4, 2024
25 checks passed
@lochhh lochhh deleted the add-dependabot branch March 7, 2024 13:26
niksirbi pushed a commit to b-peri/movement that referenced this pull request Mar 11, 2024
niksirbi added a commit that referenced this pull request Mar 12, 2024
* Added `filtering.py` module, w/ draft `interp_pose()` & `filter_confidence()` fxns

* Fix logging for operations in place

* Renamed fxns to `interpolate_over_time()` and `filter_by_confidence`

* Cleaned up code + corrected docstrings

* Refactored `filtering.py` to movement base folder

* Improved logging logic, fixed diagnostic report, removed in-place

* Removed printing of diagnostic report

* Updated dependency from `xarray` to `xarray[accel]`

* Added testing for `filtering.py`

* Minor fixes and clean-up

* Reorganise Accessor (#122)

* Check for expected `dims` and `data_vars` in dataset

* Fix `missing_dim_dataset` fixture

* Rename `poses` accessor to `move`

* Rename `PoseAccessor` class to `MoveAccessor`

* Rename `poses_accessor.py` to `move_accessor.py`

* Move `move_accessor.py` to the top level

* Fix accessor docstring formatting

* Compute locomotion features (#106)

* Draft compute velocity

* Add test for displacement

* Fix confidence values in `valid_pose_dataset` fixture

* Refactor kinematics test and functions

* Vectorise kinematic functions

* Refactor repeated calls to compute magnitude + direction

* Displacement to return 0 instead of NaN

* Return x y components in kinematic functions

* Refactor kinematics tests

* Remove unnecessary instantiations

* Improve time diff calculation

* Prefix kinematics methods with `compute_`

* Add kinematic properties to `PosesAccessor`

* Update `test_property` docstring

* Refactor `_vector` methods and kinematics tests

* Update `expected_dataset` docstring

* Rename `poses` to `move` in `PosesAccessor`

* Refactor properties in `PosesAccessor`

* Remove vector util functions and tests

* Update `not_a_dataset` fixture description

* Validate dataset upon accessor property access

* Update `poses_accessor` test description

* Validate input data in kinematic functions

* Remove unused fixture

* Parametrise kinematics tests

* Set `compute_derivative` as internal function

* Update `kinematics.py` docstrings

* Add new modules to API docs

* Update `move_accessor` docstrings

* Rename `test_move_accessor` filename

* Include M1 runners in CI and update install instructions (#125)

* also test on macOS 14 M1 runner

* conda install hdf5

* Add dependabot config (#128)

* Bump actions/cache from 3 to 4 (#130)

Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [pre-commit.ci] pre-commit autoupdate (#131)

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.0](astral-sh/ruff-pre-commit@v0.2.0...v0.3.0)
- [github.com/psf/black: 24.1.1 → 24.2.0](psf/black@24.1.1...24.2.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* Add codecov token to test_and_deploy.yml (#129)

* Add codecov token to test_and_deploy.yml

* use test action from main branch

* switch back to using v2 of the test action

* tweaked phrasing in docstrings

* added filtering functions to API index

* add note about default confidence threshold

* rename and reorganise filter_diagnostics as report_nan_values

* use xarray's copy method

* max_gaps is in seconds and also works at edges

* use xarray's built-in isnull method

* added sphinx-gallery example for filtering and interpolation

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Chang Huan Lo <[email protected]>
Co-authored-by: Niko Sirmpilatze <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update actions/cache@v3 -> v4
2 participants