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

Use import alias locations for pep8-naming import rules #3772

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 28, 2023

Summary

We now support either of these suppressions:

from mod import (
    lower_case as NonLowerCase,  # noqa: N812
)

from mod import (  # noqa: N812
    lower_case as NonLowerCase,
)

Previously, only the latter was supported.

Closes #3763.

@charliermarsh charliermarsh changed the title Use import alias locations for pep8-naming import rules Use import alias locations for pep8-naming import rules Mar 28, 2023
@charliermarsh charliermarsh added the bug Something isn't working label Mar 28, 2023
@charliermarsh charliermarsh merged commit e88fbae into main Mar 28, 2023
@charliermarsh charliermarsh deleted the charlie/noqa-names branch March 28, 2023 15:41
@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2023

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+51, -51, 0 error(s))

airflow (+39, -39)

- airflow/api_connexion/endpoints/task_instance_endpoint.py:47:1: N817 CamelCase `DagRun` imported as acronym `DR`
+ airflow/api_connexion/endpoints/task_instance_endpoint.py:47:35: N817 CamelCase `DagRun` imported as acronym `DR`
- airflow/api_connexion/endpoints/task_instance_endpoint.py:49:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ airflow/api_connexion/endpoints/task_instance_endpoint.py:49:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- airflow/api_connexion/endpoints/xcom_endpoint.py:30:1: N817 CamelCase `DagRun` imported as acronym `DR`
+ airflow/api_connexion/endpoints/xcom_endpoint.py:30:28: N817 CamelCase `DagRun` imported as acronym `DR`
- airflow/dag_processing/processor.py:47:1: N817 CamelCase `DagRun` imported as acronym `DR`
+ airflow/dag_processing/processor.py:47:35: N817 CamelCase `DagRun` imported as acronym `DR`
- airflow/dag_processing/processor.py:49:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ airflow/dag_processing/processor.py:49:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- airflow/models/dag.py:219:5: N817 CamelCase `DatasetDagRunQueue` imported as acronym `DDRQ`
+ airflow/models/dag.py:219:69: N817 CamelCase `DatasetDagRunQueue` imported as acronym `DDRQ`
+ airflow/models/dag.py:3389:73: N817 CamelCase `DatasetDagRunQueue` imported as acronym `DDRQ`
- airflow/models/dag.py:3389:9: N817 CamelCase `DatasetDagRunQueue` imported as acronym `DDRQ`
- airflow/models/dagrun.py:57:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ airflow/models/dagrun.py:57:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- airflow/serialization/serialized_objects.py:52:1: N817 CamelCase `DagAttributeTypes` imported as acronym `DAT`
+ airflow/serialization/serialized_objects.py:52:41: N817 CamelCase `DagAttributeTypes` imported as acronym `DAT`
- airflow/ti_deps/deps/prev_dagrun_dep.py:22:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ airflow/ti_deps/deps/prev_dagrun_dep.py:22:59: N817 CamelCase `TaskInstance` imported as acronym `TI`
- airflow/ti_deps/deps/trigger_rule_dep.py:31:1: N817 CamelCase `TriggerRule` imported as acronym `TR`
+ airflow/ti_deps/deps/trigger_rule_dep.py:31:40: N817 CamelCase `TriggerRule` imported as acronym `TR`
+ airflow/www/decorators.py:24:16: N814 Camelcase `BytesIO` imported as constant `IO`
- airflow/www/decorators.py:24:1: N814 Camelcase `BytesIO` imported as constant `IO`
- scripts/ci/testing/summarize_junit_failures.py:23:1: N817 CamelCase `ElementTree` imported as acronym `ET`
+ scripts/ci/testing/summarize_junit_failures.py:23:8: N817 CamelCase `ElementTree` imported as acronym `ET`
- scripts/in_container/check_junitxml_result.py:21:1: N817 CamelCase `ElementTree` imported as acronym `ET`
+ scripts/in_container/check_junitxml_result.py:21:8: N817 CamelCase `ElementTree` imported as acronym `ET`
- tests/api_connexion/endpoints/test_task_instance_endpoint.py:29:1: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
+ tests/api_connexion/endpoints/test_task_instance_endpoint.py:29:45: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
- tests/api_connexion/schemas/test_task_instance_schema.py:29:1: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
- tests/api_connexion/schemas/test_task_instance_schema.py:29:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/api_connexion/schemas/test_task_instance_schema.py:29:28: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
+ tests/api_connexion/schemas/test_task_instance_schema.py:29:73: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/jobs/test_backfill_job.py:43:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/jobs/test_backfill_job.py:43:42: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/lineage/test_lineage.py:27:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/lineage/test_lineage.py:27:28: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_cleartasks.py:25:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_cleartasks.py:25:33: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_dag.py:53:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_dag.py:53:69: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_dagrun.py:32:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_dagrun.py:38:5: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_pool.py:25:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_pool.py:25:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_renderedtifields.py:32:1: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
+ tests/models/test_renderedtifields.py:32:45: N817 CamelCase `RenderedTaskInstanceFields` imported as acronym `RTIF`
- tests/models/test_serialized_dag.py:28:1: N817 CamelCase `SerializedDagModel` imported as acronym `SDM`
+ tests/models/test_serialized_dag.py:28:43: N817 CamelCase `SerializedDagModel` imported as acronym `SDM`
- tests/models/test_skipmixin.py:29:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_skipmixin.py:29:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/models/test_taskinstance.py:62:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/models/test_taskinstance.py:62:55: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/operators/test_branch_operator.py:22:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/operators/test_branch_operator.py:22:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/operators/test_datetime.py:26:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/operators/test_datetime.py:26:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/operators/test_python.py:35:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/operators/test_python.py:35:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/operators/test_weekday.py:26:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/operators/test_weekday.py:26:41: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/providers/common/sql/operators/test_sql.py:28:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/providers/common/sql/operators/test_sql.py:28:48: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/providers/google/cloud/sensors/test_bigquery_dts.py:21:1: N817 CamelCase `MagicMock` imported as acronym `MM`
+ tests/providers/google/cloud/sensors/test_bigquery_dts.py:21:27: N817 CamelCase `MagicMock` imported as acronym `MM`
- tests/providers/google/marketing_platform/operators/test_campaign_manager.py:26:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/providers/google/marketing_platform/operators/test_campaign_manager.py:26:33: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/providers/google/marketing_platform/operators/test_display_video.py:26:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/providers/google/marketing_platform/operators/test_display_video.py:26:33: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/providers/google/marketing_platform/operators/test_search_ads.py:26:1: N817 CamelCase `TaskInstance` imported as acronym `TI`
+ tests/providers/google/marketing_platform/operators/test_search_ads.py:26:33: N817 CamelCase `TaskInstance` imported as acronym `TI`
- tests/providers/salesforce/hooks/test_salesforce.py:27:1: N813 Camelcase `Session` imported as lowercase `request_session`
+ tests/providers/salesforce/hooks/test_salesforce.py:27:22: N813 Camelcase `Session` imported as lowercase `request_session`
+ tests/test_utils/perf/scheduler_dag_execution_timing.py:108:52: N813 Camelcase `MockExecutor` imported as lowercase `executor`
- tests/test_utils/perf/scheduler_dag_execution_timing.py:108:9: N813 Camelcase `MockExecutor` imported as lowercase `executor`
- tests/utils/test_db.py:36:1: N813 Camelcase `Base` imported as lowercase `airflow_base`
+ tests/utils/test_db.py:36:28: N813 Camelcase `Base` imported as lowercase `airflow_base`

bokeh (+12, -12)

- examples/basic/annotations/arrow.py:10:1: N813 Camelcase `Muted3` imported as lowercase `color`
+ examples/basic/annotations/arrow.py:10:28: N813 Camelcase `Muted3` imported as lowercase `color`
- examples/topics/geo/texas_hover_map.py:12:1: N813 Camelcase `Viridis6` imported as lowercase `palette`
+ examples/topics/geo/texas_hover_map.py:12:28: N813 Camelcase `Viridis6` imported as lowercase `palette`
- release/checks.py:15:1: N817 CamelCase `Version` imported as acronym `V`
+ release/checks.py:15:31: N817 CamelCase `Version` imported as acronym `V`
- release/remote.py:15:1: N817 CamelCase `Version` imported as acronym `V`
+ release/remote.py:15:31: N817 CamelCase `Version` imported as acronym `V`
+ src/bokeh/core/serialization.py:25:19: N812 Lowercase `array` imported as non-lowercase `TypedArray`
- src/bokeh/core/serialization.py:25:1: N812 Lowercase `array` imported as non-lowercase `TypedArray`
- src/bokeh/models/callbacks.py:24:1: N813 Camelcase `Any` imported as lowercase `any`
+ src/bokeh/models/callbacks.py:24:20: N813 Camelcase `Any` imported as lowercase `any`
- src/bokeh/sampledata/us_counties.py:45:1: N813 Camelcase `ElementTree` imported as lowercase `et`
+ src/bokeh/sampledata/us_counties.py:45:8: N813 Camelcase `ElementTree` imported as lowercase `et`
- src/bokeh/sampledata/us_states.py:44:1: N813 Camelcase `ElementTree` imported as lowercase `et`
+ src/bokeh/sampledata/us_states.py:44:8: N813 Camelcase `ElementTree` imported as lowercase `et`
- src/bokeh/sphinxext/bokeh_releases.py:45:1: N817 CamelCase `Version` imported as acronym `V`
+ src/bokeh/sphinxext/bokeh_releases.py:45:31: N817 CamelCase `Version` imported as acronym `V`
- tests/support/plugins/project.py:38:1: N812 Lowercase `expected_conditions` imported as non-lowercase `EC`
+ tests/support/plugins/project.py:38:40: N812 Lowercase `expected_conditions` imported as non-lowercase `EC`
+ tests/unit/bokeh/core/test_serialization.py:22:19: N812 Lowercase `array` imported as non-lowercase `TypedArray`
- tests/unit/bokeh/core/test_serialization.py:22:1: N812 Lowercase `array` imported as non-lowercase `TypedArray`
- tests/unit/bokeh/test_resources.py:28:1: N817 CamelCase `Version` imported as acronym `V`
+ tests/unit/bokeh/test_resources.py:28:31: N817 CamelCase `Version` imported as acronym `V`

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.00     16.3±0.23ms     2.5 MB/sec    1.02     16.6±0.10ms     2.5 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      4.1±0.06ms     4.0 MB/sec    1.01      4.2±0.04ms     4.0 MB/sec
linter/all-rules/numpy/globals.py          1.00   547.1±10.67µs     5.4 MB/sec    1.01    551.7±4.73µs     5.3 MB/sec
linter/all-rules/pydantic/types.py         1.00      6.9±0.12ms     3.7 MB/sec    1.02      7.0±0.07ms     3.6 MB/sec
linter/default-rules/large/dataset.py      1.01      8.6±0.09ms     4.7 MB/sec    1.00      8.5±0.05ms     4.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1911.0±22.51µs     8.7 MB/sec    1.00  1909.5±15.96µs     8.7 MB/sec
linter/default-rules/numpy/globals.py      1.00    214.5±1.95µs    13.8 MB/sec    1.00    214.6±3.04µs    13.8 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.9±0.04ms     6.5 MB/sec    1.00      3.9±0.03ms     6.5 MB/sec

Windows

group                                      main                                    pr
-----                                      ----                                    --
linter/all-rules/large/dataset.py          1.00     14.8±0.22ms     2.7 MB/sec     1.01     15.0±0.23ms     2.7 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.8±0.06ms     4.4 MB/sec     1.01      3.8±0.09ms     4.3 MB/sec
linter/all-rules/numpy/globals.py          1.00   462.1±11.33µs     6.4 MB/sec     1.00   461.8±14.29µs     6.4 MB/sec
linter/all-rules/pydantic/types.py         1.00      6.3±0.11ms     4.0 MB/sec     1.02      6.4±0.19ms     4.0 MB/sec
linter/default-rules/large/dataset.py      1.00      7.7±0.11ms     5.3 MB/sec     1.00      7.7±0.10ms     5.3 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.01  1698.7±110.09µs     9.8 MB/sec    1.00  1685.4±28.38µs     9.9 MB/sec
linter/default-rules/numpy/globals.py      1.00    184.6±6.93µs    16.0 MB/sec     1.00    184.5±6.19µs    16.0 MB/sec
linter/default-rules/pydantic/types.py     1.01      3.6±0.08ms     7.2 MB/sec     1.00      3.5±0.08ms     7.3 MB/sec

renovate bot added a commit to ixm-one/pytest-cmake-presets that referenced this pull request Mar 30, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.259` ->
`^0.0.260` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/compatibility-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/confidence-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.260`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.260)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.259...v0.0.260)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-bugbear`] Add more immutable functions for `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3764
- \[`flake8-bugbear`] Allow `pathlib.Path()` in `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3794
- \[`flake8-bugbear`] Expand the scope of useless-expression (B018) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3455
- \[`flake8-bugbear`]: Implement rule `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3680
- \[`flake8-gettext`] Implement `flake8-gettext` by
[@&#8203;leiserfg](https://togithub.com/leiserfg) in
[astral-sh/ruff#3785
- \[`flake8-logging-format`] Add support for `.log(level, msg)` calls in
`flake8-logging-format` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3726
- \[`flake8-logging-format`] Allow aliased `logging` module as a logger
candidate by [@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3718
- \[`flake8-pyi`] Add autofix for `PYI014` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3729
- \[`flake8-pyi`] Implement `PYI012` by
[@&#8203;JBLDKY](https://togithub.com/JBLDKY) in
[astral-sh/ruff#3743
- \[`flake8-pyi`] Implement `PYI015` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3728
- \[`flake8-simplify`] Fix SIM222 and SIM223 false negative by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3740
- \[`isort`]: support submodules in known\_(first|third)\_party config
options by [@&#8203;astaric](https://togithub.com/astaric) in
[astral-sh/ruff#3768
- \[`pycodestyle`] Use unicode-width to determine line-length instead of
character count by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3714
- \[`pydocstyle`] Implement autofix for `D403` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3731
- \[`pylint`] Avoid `useless-import alias` (`C0414`) in `.pyi` files by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3761
- \[`pylint`] Exempt `PLR1711` and `RET501` if non-`None` annotation by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3705
- \[`tryceratops`] Exempt return with side effects for TRY300 by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3780

##### Bug Fixes

- Avoid parsing `ForwardRef` contents as type references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3698
- Avoid parsing f-strings in type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3699
- Include `with` statements in complexity calculation by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3771
- Use import alias locations for `pep8-naming` import rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3772
- Allow `TID252` to fix all valid module paths by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3796
- Fix SIM118 auto-fix by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3695
- Avoid panics for implicitly concatenated forward references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3700
- Allow simple container literals as default values by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3703
- Traverse over nested string type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3724
- Use `wild::args()` and add `wild` as a dependency by
[@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) in
[astral-sh/ruff#3739
- Avoid overlong-line errors for lines that end with URLs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3663
- Sort statistics by count by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3748
- Reduce explicit clones by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3793
- Add flymake-ruff to docs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3800

#### New Contributors

- [@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) made
their first contribution in
[astral-sh/ruff#3739
- [@&#8203;leiserfg](https://togithub.com/leiserfg) made their first
contribution in
[astral-sh/ruff#3741
- [@&#8203;JBLDKY](https://togithub.com/JBLDKY) made their first
contribution in
[astral-sh/ruff#3743
- [@&#8203;astaric](https://togithub.com/astaric) made their first
contribution in
[astral-sh/ruff#3768

**Full Changelog**:
astral-sh/ruff@v0.0.259...v0.0.260

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Signed-off-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to allenporter/pyrainbird that referenced this pull request Mar 31, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.259` ->
`==0.0.260` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/compatibility-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/confidence-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.260`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.260)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.259...v0.0.260)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-bugbear`] Add more immutable functions for `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3764
- \[`flake8-bugbear`] Allow `pathlib.Path()` in `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3794
- \[`flake8-bugbear`] Expand the scope of useless-expression (B018) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3455
- \[`flake8-bugbear`]: Implement rule `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3680
- \[`flake8-gettext`] Implement `flake8-gettext` by
[@&#8203;leiserfg](https://togithub.com/leiserfg) in
[astral-sh/ruff#3785
- \[`flake8-logging-format`] Add support for `.log(level, msg)` calls in
`flake8-logging-format` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3726
- \[`flake8-logging-format`] Allow aliased `logging` module as a logger
candidate by [@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3718
- \[`flake8-pyi`] Add autofix for `PYI014` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3729
- \[`flake8-pyi`] Implement `PYI012` by
[@&#8203;JBLDKY](https://togithub.com/JBLDKY) in
[astral-sh/ruff#3743
- \[`flake8-pyi`] Implement `PYI015` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3728
- \[`flake8-simplify`] Fix SIM222 and SIM223 false negative by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3740
- \[`isort`]: support submodules in known\_(first|third)\_party config
options by [@&#8203;astaric](https://togithub.com/astaric) in
[astral-sh/ruff#3768
- \[`pycodestyle`] Use unicode-width to determine line-length instead of
character count by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3714
- \[`pydocstyle`] Implement autofix for `D403` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3731
- \[`pylint`] Avoid `useless-import alias` (`C0414`) in `.pyi` files by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3761
- \[`pylint`] Exempt `PLR1711` and `RET501` if non-`None` annotation by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3705
- \[`tryceratops`] Exempt return with side effects for TRY300 by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3780

##### Bug Fixes

- Avoid parsing `ForwardRef` contents as type references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3698
- Avoid parsing f-strings in type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3699
- Include `with` statements in complexity calculation by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3771
- Use import alias locations for `pep8-naming` import rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3772
- Allow `TID252` to fix all valid module paths by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3796
- Fix SIM118 auto-fix by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3695
- Avoid panics for implicitly concatenated forward references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3700
- Allow simple container literals as default values by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3703
- Traverse over nested string type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3724
- Use `wild::args()` and add `wild` as a dependency by
[@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) in
[astral-sh/ruff#3739
- Avoid overlong-line errors for lines that end with URLs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3663
- Sort statistics by count by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3748
- Reduce explicit clones by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3793
- Add flymake-ruff to docs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3800

#### New Contributors

- [@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) made
their first contribution in
[astral-sh/ruff#3739
- [@&#8203;leiserfg](https://togithub.com/leiserfg) made their first
contribution in
[astral-sh/ruff#3741
- [@&#8203;JBLDKY](https://togithub.com/JBLDKY) made their first
contribution in
[astral-sh/ruff#3743
- [@&#8203;astaric](https://togithub.com/astaric) made their first
contribution in
[astral-sh/ruff#3768

**Full Changelog**:
astral-sh/ruff@v0.0.259...v0.0.260

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/pyrainbird).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMy4zIiwidXBkYXRlZEluVmVyIjoiMzUuMjMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to allenporter/flux-local that referenced this pull request Apr 1, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.259` ->
`==0.0.260` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/compatibility-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.260/confidence-slim/0.0.259)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>charliermarsh/ruff</summary>

###
[`v0.0.260`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.260)

[Compare
Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.259...v0.0.260)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### Rules

- \[`flake8-bugbear`] Add more immutable functions for `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3764
- \[`flake8-bugbear`] Allow `pathlib.Path()` in `B008` by
[@&#8203;rouge8](https://togithub.com/rouge8) in
[astral-sh/ruff#3794
- \[`flake8-bugbear`] Expand the scope of useless-expression (B018) by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3455
- \[`flake8-bugbear`]: Implement rule `B031` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3680
- \[`flake8-gettext`] Implement `flake8-gettext` by
[@&#8203;leiserfg](https://togithub.com/leiserfg) in
[astral-sh/ruff#3785
- \[`flake8-logging-format`] Add support for `.log(level, msg)` calls in
`flake8-logging-format` by
[@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3726
- \[`flake8-logging-format`] Allow aliased `logging` module as a logger
candidate by [@&#8203;dhruvmanila](https://togithub.com/dhruvmanila) in
[astral-sh/ruff#3718
- \[`flake8-pyi`] Add autofix for `PYI014` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3729
- \[`flake8-pyi`] Implement `PYI012` by
[@&#8203;JBLDKY](https://togithub.com/JBLDKY) in
[astral-sh/ruff#3743
- \[`flake8-pyi`] Implement `PYI015` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3728
- \[`flake8-simplify`] Fix SIM222 and SIM223 false negative by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3740
- \[`isort`]: support submodules in known\_(first|third)\_party config
options by [@&#8203;astaric](https://togithub.com/astaric) in
[astral-sh/ruff#3768
- \[`pycodestyle`] Use unicode-width to determine line-length instead of
character count by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3714
- \[`pydocstyle`] Implement autofix for `D403` by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3731
- \[`pylint`] Avoid `useless-import alias` (`C0414`) in `.pyi` files by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3761
- \[`pylint`] Exempt `PLR1711` and `RET501` if non-`None` annotation by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3705
- \[`tryceratops`] Exempt return with side effects for TRY300 by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3780

##### Bug Fixes

- Avoid parsing `ForwardRef` contents as type references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3698
- Avoid parsing f-strings in type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3699
- Include `with` statements in complexity calculation by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3771
- Use import alias locations for `pep8-naming` import rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3772
- Allow `TID252` to fix all valid module paths by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3796
- Fix SIM118 auto-fix by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3695
- Avoid panics for implicitly concatenated forward references by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3700
- Allow simple container literals as default values by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3703
- Traverse over nested string type annotations by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3724
- Use `wild::args()` and add `wild` as a dependency by
[@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) in
[astral-sh/ruff#3739
- Avoid overlong-line errors for lines that end with URLs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3663
- Sort statistics by count by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#3748
- Reduce explicit clones by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#3793
- Add flymake-ruff to docs by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#3800

#### New Contributors

- [@&#8203;agriyakhetarpal](https://togithub.com/agriyakhetarpal) made
their first contribution in
[astral-sh/ruff#3739
- [@&#8203;leiserfg](https://togithub.com/leiserfg) made their first
contribution in
[astral-sh/ruff#3741
- [@&#8203;JBLDKY](https://togithub.com/JBLDKY) made their first
contribution in
[astral-sh/ruff#3743
- [@&#8203;astaric](https://togithub.com/astaric) made their first
contribution in
[astral-sh/ruff#3768

**Full Changelog**:
astral-sh/ruff@v0.0.259...v0.0.260

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/allenporter/flux-local).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

noqa comments for N812 don't apply to the correct line in multi-line imports
1 participant