-
Couldn't load subscription status.
- Fork 20
Bump the required group across 1 directory with 12 updates #1094
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
Conversation
|
I'm fixing the new issues. |
|
Updated. One breaking change, now the |
| from collections.abc import Sequence | ||
| from datetime import datetime, timedelta | ||
| from typing import SupportsIndex, overload | ||
| from typing import SupportsIndex, assert_never, overload |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert never doesn't seem to be used? at least not in the commit where it is added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one comment
|
Removed from queue in case you wanna change that import |
Bumps the required group with 12 updates in the / directory: | Package | From | To | | --- | --- | --- | | [pydoclint](https://github.com/jsh9/pydoclint) | `0.5.6` | `0.5.9` | | [black](https://github.com/psf/black) | `24.8.0` | `24.10.0` | | [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) | `1.0.5` | `1.3.7` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.34` | `9.5.43` | | [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) | `0.25.2` | `0.26.2` | | [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.10.9` | `1.12.2` | | [mypy](https://github.com/python/mypy) | `1.11.2` | `1.13.0` | | [types-protobuf](https://github.com/python/typeshed) | `5.27.0.20240626` | `5.28.3.20241030` | | [nox](https://github.com/wntrblm/nox) | `2024.4.15` | `2024.10.9` | | [pylint](https://github.com/pylint-dev/pylint) | `3.2.7` | `3.3.1` | | [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.111.2` | `6.116.0` | Updates `pydoclint` from 0.5.6 to 0.5.9 - [Release notes](https://github.com/jsh9/pydoclint/releases) - [Changelog](https://github.com/jsh9/pydoclint/blob/main/CHANGELOG.md) - [Commits](jsh9/pydoclint@0.5.6...0.5.9) Updates `black` from 24.8.0 to 24.10.0 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.8.0...24.10.0) Updates `mkdocs-macros-plugin` from 1.0.5 to 1.3.7 - [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases) - [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md) - [Commits](fralau/mkdocs-macros-plugin@v1.0.5...v1.3.7) Updates `mkdocs-material` from 9.5.34 to 9.5.43 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.5.34...9.5.43) Updates `mkdocstrings[python]` from 0.25.2 to 0.26.2 - [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases) - [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md) - [Commits](mkdocstrings/mkdocstrings@0.25.2...0.26.2) Updates `mkdocstrings-python` from 1.10.9 to 1.12.2 - [Release notes](https://github.com/mkdocstrings/python/releases) - [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md) - [Commits](mkdocstrings/python@1.10.9...1.12.2) Updates `mypy` from 1.11.2 to 1.13.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.11.2...v1.13.0) Updates `types-protobuf` from 5.27.0.20240626 to 5.28.3.20241030 - [Commits](https://github.com/python/typeshed/commits) Updates `nox` from 2024.4.15 to 2024.10.9 - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](wntrblm/nox@2024.04.15...2024.10.09) Updates `pylint` from 3.2.7 to 3.3.1 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](pylint-dev/pylint@v3.2.7...v3.3.1) Updates `pytest` from 8.3.2 to 8.3.3 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.2...8.3.3) Updates `hypothesis` from 6.111.2 to 6.116.0 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.111.2...hypothesis-python-6.116.0) --- updated-dependencies: - dependency-name: pydoclint dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mkdocs-macros-plugin dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: mkdocstrings[python] dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mkdocstrings-python dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: types-protobuf dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: nox dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: pylint dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: required - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor dependency-group: required ... Signed-off-by: dependabot[bot] <[email protected]>
The `MovingWindow` constructor now takes all arguments as keyword-only to avoid mistakes, such as confusing the `size` with the `input_sampling_period`. Signed-off-by: Leandro Lucarella <[email protected]>
This check verifies that the `Raises` section of a method docstring contains the same exception types present in `raise` statements in the code. Some checks were correctly failing because of wrong documentation or typos, but some fail only because `pydoclint` is not smart enough to figure out the type of variables, so one must always have `raise ExceptionType` in the code to make the check pass. It also fails when the exception is raised indirectly, but we want to document it anyways, for example if raised by some utility function or private method. For cases where this is possible, the code was changed to do explicit `raise ExceptionType`, for other cases the check is simply disabled. In other cases a `raise` was replaced with an `assert_never` to make the check pass and also make sure a failure is detected by `mypy` instead of at runtime. Signed-off-by: Leandro Lucarella <[email protected]>
When appropriate, we just make arguments keyword-only, which is a good practice anyway. For tests, in general we just disabled the check. Signed-off-by: Leandro Lucarella <[email protected]>
19df292 to
483b4ce
Compare
|
Updated to move the |
Bumps the required group with 12 updates in the / directory:
0.5.60.5.924.8.024.10.01.0.51.3.79.5.349.5.430.25.20.26.21.10.91.12.21.11.21.13.05.27.0.202406265.28.3.202410302024.4.152024.10.93.2.73.3.18.3.28.3.36.111.26.116.0Updates
pydoclintfrom 0.5.6 to 0.5.9Updates
blackfrom 24.8.0 to 24.10.0Updates
mkdocs-macros-pluginfrom 1.0.5 to 1.3.7Updates
mkdocs-materialfrom 9.5.34 to 9.5.43Updates
mkdocstrings[python]from 0.25.2 to 0.26.2Updates
mkdocstrings-pythonfrom 1.10.9 to 1.12.2Updates
mypyfrom 1.11.2 to 1.13.0Updates
types-protobuffrom 5.27.0.20240626 to 5.28.3.20241030Updates
noxfrom 2024.4.15 to 2024.10.9Updates
pylintfrom 3.2.7 to 3.3.1Updates
pytestfrom 8.3.2 to 8.3.3Updates
hypothesisfrom 6.111.2 to 6.116.0