hhatto/autopep8
### [`v2.0.2`](https://togithub.com/hhatto/autopep8/releases/tag/v2.0.2)
[Compare Source](https://togithub.com/hhatto/autopep8/compare/v2.0.1...v2.0.2)
#### What's Changed
- Ignore DeprecationWarnings to fix tests on py3.11 by [@mgorny](https://togithub.com/mgorny) in [https://github.com/hhatto/autopep8/pull/665](https://togithub.com/hhatto/autopep8/pull/665)
- fix: infinite loop in autopep8.fix_code without w50 ignore option by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/677](https://togithub.com/hhatto/autopep8/pull/677)
**Full Changelog**: https://github.com/hhatto/autopep8/compare/v2.0.1...v2.0.2
ipython/ipython
### [`v8.12.0`](https://togithub.com/ipython/ipython/compare/8.11.0...8.12.0)
[Compare Source](https://togithub.com/ipython/ipython/compare/8.11.0...8.12.0)
pre-commit/pre-commit
### [`v3.2.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1)
\==================
##### Fixes
- Fix `language_version` for `language: rust` without global `rustup`.
- [#2823](https://togithub.com/pre-commit/pre-commit/issues/2823) issue by [@daschuer](https://togithub.com/daschuer).
- [#2827](https://togithub.com/pre-commit/pre-commit/issues/2827) PR by [@asottile](https://togithub.com/asottile).
### [`v3.2.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0)
\==================
##### Features
- Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`.
- [#2732](https://togithub.com/pre-commit/pre-commit/issues/2732) issue by [@asottile](https://togithub.com/asottile).
- [#2808](https://togithub.com/pre-commit/pre-commit/issues/2808) PR by [@asottile](https://togithub.com/asottile).
- Add `pre-rebase` hook support.
- [#2582](https://togithub.com/pre-commit/pre-commit/issues/2582) issue by [@BrutalSimplicity](https://togithub.com/BrutalSimplicity).
- [#2725](https://togithub.com/pre-commit/pre-commit/issues/2725) PR by [@mgaligniana](https://togithub.com/mgaligniana).
##### Fixes
- Remove bulky cargo cache from `language: rust` installs.
- [#2820](https://togithub.com/pre-commit/pre-commit/issues/2820) PR by [@asottile](https://togithub.com/asottile).
PyCQA/pylint
### [`v2.17.1`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.1)
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.17.0...v2.17.1)
## False Positives Fixed
- Adds `asyncSetUp` to the default `defining-attr-methods` list to silence
`attribute-defined-outside-init` warning when using
`unittest.IsolatedAsyncioTestCase`.
Refs [#8403](https://togithub.com/PyCQA/pylint/issues/8403)
## Other Bug Fixes
- `--clear-cache-post-run` now also clears LRU caches for pylint utilities
holding references to AST nodes.
Closes [#8361](https://togithub.com/PyCQA/pylint/issues/8361)
- Fix a crash when `TYPE_CHECKING` is used without importing it.
Closes [#8434](https://togithub.com/PyCQA/pylint/issues/8434)
- Fix a regression of `preferred-modules` where a partial match was used
instead of the required full match.
Closes [#8453](https://togithub.com/PyCQA/pylint/issues/8453)
## Internal Changes
- The following utilities are deprecated in favor of the more robust
`in_type_checking_block`
and will be removed in pylint 3.0:
- `is_node_in_guarded_import_block`
- `is_node_in_typing_guarded_import_block`
- `is_typing_guard`
`is_sys_guard` is still available, which was part of
`is_node_in_guarded_import_block`.
Refs [#8433](https://togithub.com/PyCQA/pylint/issues/8433)
### [`v2.17.0`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.0): 2.17.0
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.16.4...v2.17.0)
2.17 is a small release that is the first to support python 3.11 officially
with the addition of TryStar nodes.
There's still two new default checks: `bad-chained-comparison` and
`implicit-flag-alias`, one of them already fixed a previously undetected
bug in sentry.
Thanks to the community effort our documentation is almost complete,
and almost all messages should have a proper documentation now.
A big thank you to everyone who participated !
The next release is going to be `3.0.0`, bring breaking changes and
enact long announced deprecations. There's going to be frequent beta
releases, before the official releases, everyone is welcome to try the betas
so we find problems before the actual release.
## What's new in Pylint 2.17.0?
Release date: 2023-03-08
## New Features
- `pyreverse` now supports custom color palettes with the `--color-palette`
option.
Closes [#6738](https://togithub.com/PyCQA/pylint/issues/6738)
- Add `invalid-name` check for `TypeAlias` names.
Closes [#7081](https://togithub.com/PyCQA/pylint/issues/7081)
- Accept values of the form `.` for the
`exclude-protected` list.
Closes [#7343](https://togithub.com/PyCQA/pylint/issues/7343)
- Add `--version` option to `pyreverse`.
Refs [#7851](https://togithub.com/PyCQA/pylint/issues/7851)
- Adds new functionality with preferred-modules configuration to detect
submodules.
Refs [#7957](https://togithub.com/PyCQA/pylint/issues/7957)
- Support implicit namespace packages (PEP 420).
Closes [#8154](https://togithub.com/PyCQA/pylint/issues/8154)
- Add globbing pattern support for `--source-roots`.
Closes [#8290](https://togithub.com/PyCQA/pylint/issues/8290)
- Support globbing pattern when defining which file/directory/module to lint.
Closes [#8310](https://togithub.com/PyCQA/pylint/issues/8310)
- pylint now supports `TryStar` nodes from Python 3.11 and should be fully
compatible with Python 3.11.
Closes [#8387](https://togithub.com/PyCQA/pylint/issues/8387)
## New Checks
- Add a `bad-chained-comparison` check that emits a warning when
there is a chained comparison where one expression is semantically
incompatible with the other.
Closes [#6559](https://togithub.com/PyCQA/pylint/issues/6559)
- Adds an `implicit-flag-alias` check that emits a warning when a class
derived from `enum.IntFlag` assigns distinct integer values that share
common bit positions.
Refs [#8102](https://togithub.com/PyCQA/pylint/issues/8102)
## False Positives Fixed
- Fix various false positives for functions that return directly from
structural pattern matching cases.
Closes [#5288](https://togithub.com/PyCQA/pylint/issues/5288)
- Fix false positive for `used-before-assignment` when
`typing.TYPE_CHECKING` is used with if/elif/else blocks.
Closes [#7574](https://togithub.com/PyCQA/pylint/issues/7574)
- Fix false positive for isinstance-second-argument-not-valid-type with union
types.
Closes [#8205](https://togithub.com/PyCQA/pylint/issues/8205)
- Fix false positive for `used-before-assignment` for named expressions
appearing after the first element in a list, tuple, or set.
Closes [#8252](https://togithub.com/PyCQA/pylint/issues/8252)
- Fix false positive for `wrong-spelling-in-comment` with class names in a
python 2 type comment.
Closes [#8370](https://togithub.com/PyCQA/pylint/issues/8370)
## False Negatives Fixed
- Fix a false negative for 'missing-parentheses-for-call-in-test' when
inference
failed for the internal of the call as we did not need that information to
raise
correctly.
Refs [#8185](https://togithub.com/PyCQA/pylint/issues/8185)
- Fix false negative for inconsistent-returns with while-loops.
Closes [#8280](https://togithub.com/PyCQA/pylint/issues/8280)
## Other Bug Fixes
- Fix `used-before-assignment` false positive when the walrus operator
is used with a ternary operator in dictionary key/value initialization.
Closes [#8125](https://togithub.com/PyCQA/pylint/issues/8125)
- Fix `no-name-in-module` false positive raised when a package defines a
variable with the
same name as one of its submodules.
Closes [#8148](https://togithub.com/PyCQA/pylint/issues/8148)
- Fix a crash happening for python interpreter < 3.9 following a failed typing
update.
Closes [#8161](https://togithub.com/PyCQA/pylint/issues/8161)
- Fix `nested-min-max` suggestion message to indicate it's possible to splat
iterable objects.
Closes [#8168](https://togithub.com/PyCQA/pylint/issues/8168)
- Fix a crash happening when a class attribute was negated in the start
argument of an enumerate.
Closes [#8207](https://togithub.com/PyCQA/pylint/issues/8207)
- Prevent emitting `invalid-name` for the line on which a `global`
statement is declared.
Closes [#8307](https://togithub.com/PyCQA/pylint/issues/8307)
## Other Changes
- Update explanation for `global-variable-not-assigned` and add confidence.
Closes [#5073](https://togithub.com/PyCQA/pylint/issues/5073)
- The governance model and the path to become a maintainer have been documented
as part of our effort to guarantee that the software supply chain in which pylint is included is secure.
Refs [#8329](https://togithub.com/PyCQA/pylint/issues/8329)
### [`v2.16.4`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.16.4)
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.16.3...v2.16.4)
## False Positives Fixed
- Fix false positive for isinstance-second-argument-not-valid-type with union
types.
Closes [#8205](https://togithub.com/PyCQA/pylint/issues/8205)
### [`v2.16.3`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.16.3)
[Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.16.2...v2.16.3)
## False Positives Fixed
- Fix false positive for `wrong-spelling-in-comment` with class names in a
python 2 type comment.
Closes [#8370](https://togithub.com/PyCQA/pylint/issues/8370)
## Other Bug Fixes
- Prevent emitting `invalid-name` for the line on which a `global`
statement is declared.
Closes [#8307](https://togithub.com/PyCQA/pylint/issues/8307)
getsentry/sentry-python
### [`v1.18.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1180)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.17.0...1.18.0)
##### Various fixes & improvements
- **New:** Implement `EventScrubber` ([#1943](https://togithub.com/getsentry/sentry-python/issues/1943)) by [@sl0thentr0py](https://togithub.com/sl0thentr0py)
To learn more see our [Scrubbing Sensitive Data](https://docs.sentry.io/platforms/python/data-management/sensitive-data/#event-scrubber) documentation.
Add a new `EventScrubber` class that scrubs certain potentially sensitive interfaces with a `DEFAULT_DENYLIST`. The default scrubber is automatically run if `send_default_pii = False`:
```python
import sentry_sdk
from sentry_sdk.scrubber import EventScrubber
sentry_sdk.init(
```
### ...
send_default_pii=False,
event_scrubber=EventScrubber(), # this is set by default
)
````
You can also pass in a custom `denylist` to the `EventScrubber` class and filter additional fields that you want.
```python
from sentry_sdk.scrubber import EventScrubber, DEFAULT_DENYLIST
````
### [`v1.17.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1170)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.16.0...1.17.0)
##### Various fixes & improvements
- **New:** Monitor Celery Beat tasks with Sentry [Cron Monitoring](https://docs.sentry.io/product/crons/).
With this feature you can make sure that your Celery beat tasks run at the right time and see if they where successful or not.
> **Warning**
> Cron Monitoring is currently in beta. Beta features are still in-progress and may have bugs. We recognize the irony.
> If you have any questions or feedback, please email us at crons-feedback@sentry.io, reach out via Discord (#cronjobs), or open an issue.
Usage:
```python
```
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==1.4.46
->==1.4.47
==1.9.4
->==1.10.2
==2.0.1
->==2.0.2
==8.11.0
->==8.12.0
==3.1.1
->==3.2.1
==2.16.2
->==2.17.1
==1.16.0
->==1.18.0
Release Notes
hhatto/autopep8
### [`v2.0.2`](https://togithub.com/hhatto/autopep8/releases/tag/v2.0.2) [Compare Source](https://togithub.com/hhatto/autopep8/compare/v2.0.1...v2.0.2) #### What's Changed - Ignore DeprecationWarnings to fix tests on py3.11 by [@mgorny](https://togithub.com/mgorny) in [https://github.com/hhatto/autopep8/pull/665](https://togithub.com/hhatto/autopep8/pull/665) - fix: infinite loop in autopep8.fix_code without w50 ignore option by [@hhatto](https://togithub.com/hhatto) in [https://github.com/hhatto/autopep8/pull/677](https://togithub.com/hhatto/autopep8/pull/677) **Full Changelog**: https://github.com/hhatto/autopep8/compare/v2.0.1...v2.0.2ipython/ipython
### [`v8.12.0`](https://togithub.com/ipython/ipython/compare/8.11.0...8.12.0) [Compare Source](https://togithub.com/ipython/ipython/compare/8.11.0...8.12.0)pre-commit/pre-commit
### [`v3.2.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#321---2023-03-25) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.0...v3.2.1) \================== ##### Fixes - Fix `language_version` for `language: rust` without global `rustup`. - [#2823](https://togithub.com/pre-commit/pre-commit/issues/2823) issue by [@daschuer](https://togithub.com/daschuer). - [#2827](https://togithub.com/pre-commit/pre-commit/issues/2827) PR by [@asottile](https://togithub.com/asottile). ### [`v3.2.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#320---2023-03-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.1.1...v3.2.0) \================== ##### Features - Allow `pre-commit`, `pre-push`, and `pre-merge-commit` as `stages`. - [#2732](https://togithub.com/pre-commit/pre-commit/issues/2732) issue by [@asottile](https://togithub.com/asottile). - [#2808](https://togithub.com/pre-commit/pre-commit/issues/2808) PR by [@asottile](https://togithub.com/asottile). - Add `pre-rebase` hook support. - [#2582](https://togithub.com/pre-commit/pre-commit/issues/2582) issue by [@BrutalSimplicity](https://togithub.com/BrutalSimplicity). - [#2725](https://togithub.com/pre-commit/pre-commit/issues/2725) PR by [@mgaligniana](https://togithub.com/mgaligniana). ##### Fixes - Remove bulky cargo cache from `language: rust` installs. - [#2820](https://togithub.com/pre-commit/pre-commit/issues/2820) PR by [@asottile](https://togithub.com/asottile).PyCQA/pylint
### [`v2.17.1`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.1) [Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.17.0...v2.17.1) ## False Positives Fixed - Adds `asyncSetUp` to the default `defining-attr-methods` list to silence `attribute-defined-outside-init` warning when using `unittest.IsolatedAsyncioTestCase`. Refs [#8403](https://togithub.com/PyCQA/pylint/issues/8403) ## Other Bug Fixes - `--clear-cache-post-run` now also clears LRU caches for pylint utilities holding references to AST nodes. Closes [#8361](https://togithub.com/PyCQA/pylint/issues/8361) - Fix a crash when `TYPE_CHECKING` is used without importing it. Closes [#8434](https://togithub.com/PyCQA/pylint/issues/8434) - Fix a regression of `preferred-modules` where a partial match was used instead of the required full match. Closes [#8453](https://togithub.com/PyCQA/pylint/issues/8453) ## Internal Changes - The following utilities are deprecated in favor of the more robust `in_type_checking_block` and will be removed in pylint 3.0: - `is_node_in_guarded_import_block` - `is_node_in_typing_guarded_import_block` - `is_typing_guard` `is_sys_guard` is still available, which was part of `is_node_in_guarded_import_block`. Refs [#8433](https://togithub.com/PyCQA/pylint/issues/8433) ### [`v2.17.0`](https://togithub.com/pylint-dev/pylint/releases/tag/v2.17.0): 2.17.0 [Compare Source](https://togithub.com/PyCQA/pylint/compare/v2.16.4...v2.17.0) 2.17 is a small release that is the first to support python 3.11 officially with the addition of TryStar nodes. There's still two new default checks: `bad-chained-comparison` and `implicit-flag-alias`, one of them already fixed a previously undetected bug in sentry. Thanks to the community effort our documentation is almost complete, and almost all messages should have a proper documentation now. A big thank you to everyone who participated ! The next release is going to be `3.0.0`, bring breaking changes and enact long announced deprecations. There's going to be frequent beta releases, before the official releases, everyone is welcome to try the betas so we find problems before the actual release. ## What's new in Pylint 2.17.0? Release date: 2023-03-08 ## New Features - `pyreverse` now supports custom color palettes with the `--color-palette` option. Closes [#6738](https://togithub.com/PyCQA/pylint/issues/6738) - Add `invalid-name` check for `TypeAlias` names. Closes [#7081](https://togithub.com/PyCQA/pylint/issues/7081) - Accept values of the form `getsentry/sentry-python
### [`v1.18.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1180) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.17.0...1.18.0) ##### Various fixes & improvements - **New:** Implement `EventScrubber` ([#1943](https://togithub.com/getsentry/sentry-python/issues/1943)) by [@sl0thentr0py](https://togithub.com/sl0thentr0py) To learn more see our [Scrubbing Sensitive Data](https://docs.sentry.io/platforms/python/data-management/sensitive-data/#event-scrubber) documentation. Add a new `EventScrubber` class that scrubs certain potentially sensitive interfaces with a `DEFAULT_DENYLIST`. The default scrubber is automatically run if `send_default_pii = False`: ```python import sentry_sdk from sentry_sdk.scrubber import EventScrubber sentry_sdk.init( ``` ### ... send_default_pii=False, event_scrubber=EventScrubber(), # this is set by default ) ```` You can also pass in a custom `denylist` to the `EventScrubber` class and filter additional fields that you want. ```python from sentry_sdk.scrubber import EventScrubber, DEFAULT_DENYLIST ```` ### [`v1.17.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1170) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.16.0...1.17.0) ##### Various fixes & improvements - **New:** Monitor Celery Beat tasks with Sentry [Cron Monitoring](https://docs.sentry.io/product/crons/). With this feature you can make sure that your Celery beat tasks run at the right time and see if they where successful or not. > **Warning** > Cron Monitoring is currently in beta. Beta features are still in-progress and may have bugs. We recognize the irony. > If you have any questions or feedback, please email us at crons-feedback@sentry.io, reach out via Discord (#cronjobs), or open an issue. Usage: ```python ```Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" in timezone Asia/Singapore, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.