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

Auto-update pre-commit hooks #1

Open
wants to merge 55 commits into
base: refactor
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Nov 3, 2023

New versions of the used pre-commit hooks were detected.
This PR updates them to the latest and already ran pre-commit run -a for you to fix any changes in formatting.

xhochy and others added 18 commits November 6, 2023 15:10
…ng-collective/pre-commit-autoupdate

Auto-update pre-commit hooks
The previous return type of `Iterable` is incorrect as can be seen in
this example:
https://docs.python.org/3/library/typing.html#nominal-vs-structural-subtyping

Also this documentation mentions that `__iter__` returns the iterator
object itself:
https://docs.python.org/3/library/stdtypes.html#iterator.__iter__

The incorrect `Iterable` type causes numerous of error when analyzed
by a static type checker such as `mypy`. The switch to `Iterator`
solves these issues.
…ing-iterator-typing

Changing return type of `__iter__` to `Iterator`.
According to the pypi list of standardized classifiers, the classifier
`License :: OSI Approved :: BSD-3 Clause` is invalid.

This is also made clear by looking at the two latest publish package
steps, which both failed with the following error:

```
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Invalid value for classifiers. Error: Classifier 'License :: OSI
Approved :: BSD-3 Clause' is not a valid classifier.
```

Removing this classifier should make the package valid for publishing
again as all remaining classifiers are valid.

See: https://pypi.org/classifiers/
…ving-invalid-classifier

Removing invalid `BSD-3 Clause` license classifier.
Since virtually every implementation expects the underlying data type
of the file-like object to be bytes, it is more appropriate to use
`BinaryIO` in favor of the broader `IO` type.
…ging-io-typing

Changing generic `IO` type to `BinaryIO`.
…ecate

Undeprecate url2dict and get_store_from_url
Bumps the dependencies group with 2 updates: [google-github-actions/auth](https://github.com/google-github-actions/auth) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `google-github-actions/auth` from 1 to 2
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](google-github-actions/auth@v1...v2)

Updates `pypa/gh-action-pypi-publish` from 1.8.10 to 1.8.11
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@v1.8.10...v1.8.11)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from dda10f6 to 796c511 Compare December 4, 2023 06:26
xhochy and others added 7 commits December 4, 2023 07:29
…ing-collective/dependabot/github_actions/dependencies-626bd4a686
Bumps the dependencies group with 2 updates: [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) and [actions/setup-python](https://github.com/actions/setup-python).


Updates `mamba-org/setup-micromamba` from 1.6.0 to 1.7.0
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](mamba-org/setup-micromamba@db1df3b...8752438)

Updates `actions/setup-python` from 4 to 5
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: mamba-org/setup-micromamba
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
…ing-collective/dependabot/github_actions/dependencies-529127a83b
Bumps the dependencies group with 2 updates: [mamba-org/setup-micromamba](https://github.com/mamba-org/setup-micromamba) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `mamba-org/setup-micromamba` from 1.7.0 to 1.7.3
- [Release notes](https://github.com/mamba-org/setup-micromamba/releases)
- [Commits](mamba-org/setup-micromamba@8752438...e820223)

Updates `github/codeql-action` from 2 to 3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: mamba-org/setup-micromamba
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
…ing-collective/dependabot/github_actions/dependencies-c85022f546

Bump the dependencies group with 2 updates
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 796c511 to 41a3b8e Compare January 4, 2024 06:25
ThomasMarwitzQC and others added 8 commits February 27, 2024 14:34
…QC/add-session-support-s3

Allow `session_token` to be set for S3 buckets. Truly isolates stores by explicitly setting credentials for `S3FS`.
…ing-collective/dependabot/github_actions/dependencies-b275077d48

Bump the dependencies group with 1 update
Bumps the dependencies group with 2 updates: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `pypa/gh-action-pypi-publish` from 1.8.11 to 1.8.12
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@v1.8.11...v1.8.12)

Updates `peter-evans/create-pull-request` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@b1ddad2...a4f52f8)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
…ing-collective/dependabot/github_actions/dependencies-bb80e6630a
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 41a3b8e to a09b210 Compare March 4, 2024 07:11
xhochy and others added 8 commits March 4, 2024 08:51
…ing-collective/pre-commit-autoupdate

Auto-update pre-commit hooks
Extend the minio docker setup with a custom Dockerfile that uses mc
to configure 2 users with access to a different bucket each.

Fix handling of url param "verify" that can be passed to [h]s3 stores.
* Add S3FSStore aws integration tests.
* Allow skipping of aws integration tests when in fork or in local setup.
* Improve CI by separating test and build step
* Add reason attribute to pytest skips
* Refactor bucket contextmanager to avoid skipping in unnecessary cases
* Fix surfacing errors if tests are not falsely skipped anymore
* Fix startup script file mode
* Extend changelog
…QC/add-s3fs-integration-test

Add AWS S3 integration test, add minio tests
Bumps the dependencies group with 1 update: [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish).


Updates `pypa/gh-action-pypi-publish` from 1.8.12 to 1.8.14
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@v1.8.12...v1.8.14)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
…ing-collective/dependabot/github_actions/dependencies-7aaf6e754f
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from a09b210 to 88646e0 Compare April 4, 2024 06:23
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 88646e0 to c837c20 Compare May 4, 2024 06:24
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from c837c20 to 1b32c36 Compare June 4, 2024 06:27
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 1b32c36 to 787c236 Compare July 4, 2024 06:29
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 787c236 to 5f6b4d1 Compare August 4, 2024 06:28
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 5f6b4d1 to 4747ed6 Compare September 4, 2024 06:31
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 4747ed6 to 09745d6 Compare October 4, 2024 06:36
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 09745d6 to 346db25 Compare November 4, 2024 06:34
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 346db25 to b2ebf1b Compare December 4, 2024 06:34
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from b2ebf1b to c917f60 Compare January 4, 2025 06:30
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from c917f60 to 3d82bbc Compare February 4, 2025 06:32
@github-actions github-actions bot force-pushed the pre-commit-autoupdate branch from 3d82bbc to 777a906 Compare March 4, 2025 06:33
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.

4 participants