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

Name ambiguous characters #4448

Merged
merged 4 commits into from May 22, 2023
Merged

Conversation

covracer
Copy link
Contributor

Name the ambiguous characters in prompts, to help clarify why one should be used over the other.

@github-actions
Copy link
Contributor

github-actions bot commented May 16, 2023

PR Check Results

Ecosystem

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

airflow (+23, -23)

+ airflow/providers/google/cloud/hooks/bigquery.py:256:49: RUF002 [*] Docstring contains ambiguous `–` (EN DASH). Did you mean `-` (HYPHEN-MINUS)?
- airflow/providers/google/cloud/hooks/bigquery.py:256:49: RUF002 [*] Docstring contains ambiguous unicode character `–` (did you mean `-`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:47:21: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:47:21: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:47:22: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:47:22: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:47:27: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:47:27: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:47:28: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:47:28: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:64:21: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:64:21: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:64:22: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:64:22: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:64:27: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:64:27: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:64:28: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:64:28: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:21: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:21: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:22: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:22: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:27: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:27: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:28: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:28: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:43: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:43: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:44: RUF001 [*] String contains ambiguous `ˆ` (MODIFIER LETTER CIRCUMFLEX ACCENT). Did you mean `^` (CIRCUMFLEX ACCENT)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:44: RUF001 [*] String contains ambiguous unicode character `ˆ` (did you mean `^`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:49: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:49: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/kubernetes/test_kubernetes_helper_functions.py:81:50: RUF001 [*] String contains ambiguous `˜` (SMALL TILDE). Did you mean `~` (TILDE)?
- tests/kubernetes/test_kubernetes_helper_functions.py:81:50: RUF001 [*] String contains ambiguous unicode character `˜` (did you mean `~`?)
+ tests/serialization/test_dag_serialization.py:1679:21: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1679:21: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)
+ tests/serialization/test_dag_serialization.py:1680:19: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1680:19: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)
+ tests/serialization/test_dag_serialization.py:1683:26: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1683:26: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)
+ tests/serialization/test_dag_serialization.py:1686:19: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1686:19: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)
+ tests/serialization/test_dag_serialization.py:1689:27: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1689:27: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)
+ tests/serialization/test_dag_serialization.py:1690:25: RUF001 [*] String contains ambiguous `╱` (BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT). Did you mean `/` (SOLIDUS)?
- tests/serialization/test_dag_serialization.py:1690:25: RUF001 [*] String contains ambiguous unicode character `╱` (did you mean `/`?)

bokeh (+2, -2)

+ examples/plotting/histogram.py:44:43: RUF001 [*] String contains ambiguous `σ` (GREEK SMALL LETTER SIGMA). Did you mean `o` (LATIN SMALL LETTER O)?
- examples/plotting/histogram.py:44:43: RUF001 [*] String contains ambiguous unicode character `σ` (did you mean `o`?)
+ examples/plotting/histogram.py:57:47: RUF001 [*] String contains ambiguous `σ` (GREEK SMALL LETTER SIGMA). Did you mean `o` (LATIN SMALL LETTER O)?
- examples/plotting/histogram.py:57:47: RUF001 [*] String contains ambiguous unicode character `σ` (did you mean `o`?)

zulip (+28, -28)

+ docs/conf.py:23:18: RUF001 [*] String contains ambiguous `–` (EN DASH). Did you mean `-` (HYPHEN-MINUS)?
- docs/conf.py:23:18: RUF001 [*] String contains ambiguous unicode character `–` (did you mean `-`?)
+ docs/conf.py:23:43: RUF001 [*] String contains ambiguous `–` (EN DASH). Did you mean `-` (HYPHEN-MINUS)?
- docs/conf.py:23:43: RUF001 [*] String contains ambiguous unicode character `–` (did you mean `-`?)
+ scripts/lib/zulip_tools.py:49:22: RUF003 [*] Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- scripts/lib/zulip_tools.py:49:22: RUF003 [*] Comment contains ambiguous unicode character `’` (did you mean ```?)
+ tools/lib/provision.py:449:68: RUF003 [*] Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- tools/lib/provision.py:449:68: RUF003 [*] Comment contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/lib/onboarding.py:239:23: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/lib/onboarding.py:239:23: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/lib/rate_limiter.py:448:51: RUF003 [*] Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/lib/rate_limiter.py:448:51: RUF003 [*] Comment contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/tests/test_i18n.py:103:33: RUF001 [*] String contains ambiguous `с` (CYRILLIC SMALL LETTER ES). Did you mean `c` (LATIN SMALL LETTER C)?
- zerver/tests/test_i18n.py:103:33: RUF001 [*] String contains ambiguous unicode character `с` (did you mean `c`?)
+ zerver/tests/test_i18n.py:103:34: RUF001 [*] String contains ambiguous `е` (CYRILLIC SMALL LETTER IE). Did you mean `e` (LATIN SMALL LETTER E)?
- zerver/tests/test_i18n.py:103:34: RUF001 [*] String contains ambiguous unicode character `е` (did you mean `e`?)
+ zerver/tests/test_i18n.py:115:33: RUF001 [*] String contains ambiguous `с` (CYRILLIC SMALL LETTER ES). Did you mean `c` (LATIN SMALL LETTER C)?
- zerver/tests/test_i18n.py:115:33: RUF001 [*] String contains ambiguous unicode character `с` (did you mean `c`?)
+ zerver/tests/test_i18n.py:115:34: RUF001 [*] String contains ambiguous `е` (CYRILLIC SMALL LETTER IE). Did you mean `e` (LATIN SMALL LETTER E)?
- zerver/tests/test_i18n.py:115:34: RUF001 [*] String contains ambiguous unicode character `е` (did you mean `e`?)
+ zerver/tests/test_i18n.py:131:33: RUF001 [*] String contains ambiguous `с` (CYRILLIC SMALL LETTER ES). Did you mean `c` (LATIN SMALL LETTER C)?
- zerver/tests/test_i18n.py:131:33: RUF001 [*] String contains ambiguous unicode character `с` (did you mean `c`?)
+ zerver/tests/test_i18n.py:131:34: RUF001 [*] String contains ambiguous `е` (CYRILLIC SMALL LETTER IE). Did you mean `e` (LATIN SMALL LETTER E)?
- zerver/tests/test_i18n.py:131:34: RUF001 [*] String contains ambiguous unicode character `е` (did you mean `e`?)
+ zerver/tests/test_tutorial.py:168:19: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/tests/test_tutorial.py:168:19: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/views/video_calls.py:73:38: RUF003 [*] Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/views/video_calls.py:73:38: RUF003 [*] Comment contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:220:154: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:220:154: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:220:176: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:220:176: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:225:141: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:225:141: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:225:163: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:225:163: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:230:185: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:230:185: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/jira/tests.py:235:187: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/jira/tests.py:235:187: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:105:6: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:105:6: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:109:13: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:109:13: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:130:11: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:130:11: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:136:6: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:136:6: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:140:13: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:140:13: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:75:8: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:75:8: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/lidarr/tests.py:99:11: RUF001 [*] String contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
- zerver/webhooks/lidarr/tests.py:99:11: RUF001 [*] String contains ambiguous unicode character `’` (did you mean ```?)
+ zerver/webhooks/slack_incoming/tests.py:155:1: RUF001 [*] String contains ambiguous `➕` (HEAVY PLUS SIGN). Did you mean `+` (PLUS SIGN)?
- zerver/webhooks/slack_incoming/tests.py:155:1: RUF001 [*] String contains ambiguous unicode character `➕` (did you mean `+`?)

Rules changed: 3
Rule Changes Additions Removals
RUF001 96 48 48
RUF003 8 4 4
RUF002 2 1 1

Benchmark

Linux

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.00     14.4±0.15ms     2.8 MB/sec    1.02     14.7±0.13ms     2.8 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      3.4±0.03ms     4.8 MB/sec    1.01      3.5±0.02ms     4.8 MB/sec
linter/all-rules/numpy/globals.py          1.00    419.1±0.63µs     7.0 MB/sec    1.01    423.6±2.37µs     7.0 MB/sec
linter/all-rules/pydantic/types.py         1.00      5.8±0.04ms     4.4 MB/sec    1.02      6.0±0.04ms     4.3 MB/sec
linter/default-rules/large/dataset.py      1.00      6.7±0.03ms     6.1 MB/sec    1.05      7.0±0.03ms     5.8 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00   1449.7±2.23µs    11.5 MB/sec    1.03   1490.6±5.32µs    11.2 MB/sec
linter/default-rules/numpy/globals.py      1.00    160.2±0.25µs    18.4 MB/sec    1.02    164.1±0.24µs    18.0 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.0±0.01ms     8.5 MB/sec    1.04      3.1±0.01ms     8.2 MB/sec
parser/large/dataset.py                    1.00      5.2±0.01ms     7.8 MB/sec    1.01      5.2±0.01ms     7.8 MB/sec
parser/numpy/ctypeslib.py                  1.00   1022.3±3.49µs    16.3 MB/sec    1.00   1026.6±0.41µs    16.2 MB/sec
parser/numpy/globals.py                    1.00    104.5±0.18µs    28.2 MB/sec    1.00    105.0±0.24µs    28.1 MB/sec
parser/pydantic/types.py                   1.00      2.2±0.00ms    11.4 MB/sec    1.00      2.3±0.00ms    11.3 MB/sec

Windows

group                                      main                                   pr
-----                                      ----                                   --
linter/all-rules/large/dataset.py          1.01     16.6±0.10ms     2.4 MB/sec    1.00     16.4±0.15ms     2.5 MB/sec
linter/all-rules/numpy/ctypeslib.py        1.00      4.3±0.02ms     3.9 MB/sec    1.00      4.3±0.02ms     3.9 MB/sec
linter/all-rules/numpy/globals.py          1.00    433.9±4.85µs     6.8 MB/sec    1.00    433.6±4.22µs     6.8 MB/sec
linter/all-rules/pydantic/types.py         1.00      7.0±0.04ms     3.6 MB/sec    1.00      7.0±0.03ms     3.6 MB/sec
linter/default-rules/large/dataset.py      1.00      8.2±0.05ms     4.9 MB/sec    1.00      8.2±0.03ms     4.9 MB/sec
linter/default-rules/numpy/ctypeslib.py    1.00  1700.9±18.85µs     9.8 MB/sec    1.01  1719.0±13.31µs     9.7 MB/sec
linter/default-rules/numpy/globals.py      1.00    181.6±1.54µs    16.3 MB/sec    1.00    182.4±3.11µs    16.2 MB/sec
linter/default-rules/pydantic/types.py     1.00      3.7±0.02ms     6.8 MB/sec    1.00      3.7±0.02ms     6.8 MB/sec
parser/large/dataset.py                    1.00      6.7±0.04ms     6.1 MB/sec    1.04      6.9±0.03ms     5.9 MB/sec
parser/numpy/ctypeslib.py                  1.00   1266.7±5.86µs    13.1 MB/sec    1.04   1312.2±9.75µs    12.7 MB/sec
parser/numpy/globals.py                    1.00    131.4±0.84µs    22.5 MB/sec    1.03    135.6±0.74µs    21.8 MB/sec
parser/pydantic/types.py                   1.00      2.9±0.02ms     8.9 MB/sec    1.02      2.9±0.01ms     8.7 MB/sec

Copy link
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Thank you. By how much does this increase the ruff release binary size?

crates/ruff/Cargo.toml Outdated Show resolved Hide resolved
@youknowone
Copy link
Contributor

@MichaReiser It will not increase binary size by using same crate with RustPython. This is an essential crate to parse unicode character by name.

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
@charliermarsh charliermarsh enabled auto-merge (squash) May 22, 2023 17:07
@charliermarsh charliermarsh merged commit 3b81213 into astral-sh:main May 22, 2023
14 checks passed
renovate bot added a commit to ixm-one/pytest-cmake-presets that referenced this pull request May 25, 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)
([changelog](https://togithub.com/charliermarsh/ruff/releases)) |
`^0.0.269` -> `^0.0.270` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/compatibility-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/confidence-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

#### What's Changed

##### Rules

- \[`flake8-bandit`] Implement `paramiko-call` (`S601`) by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4500
- \[`flake8-pyi`] Add autofix for PYI009 by
[@&#8203;qdegraaf](https://togithub.com/qdegraaf) in
[astral-sh/ruff#4583
- \[`flake8-pyi`] Implement `PYI013` by
[@&#8203;density](https://togithub.com/density) in
[astral-sh/ruff#4517
- \[`pylint`] Add `duplicate-value` (`W0130`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4515
- \[`pylint`] Add `named_expr_without_context` (`W0131`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4531
- \[`ruff`] Extend `RUF005` to recursive and literal-literal
concatenations by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4557
- \[`ruff`] Make ambiguous-unicode detection sensitive to 'word' context
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4552
- \[`ruff`] Name ambiguous characters by
[@&#8203;covracer](https://togithub.com/covracer) in
[astral-sh/ruff#4448

##### Settings

- Implement `--extend-fixable` option by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4297
- Support new `extend-per-file-ignores` setting by
[@&#8203;aacunningham](https://togithub.com/aacunningham) in
[astral-sh/ruff#4265

##### Bug Fixes

- Fix RUF010 auto-fix with parenthesis by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4524
- Parenthesize more sub-expressions in f-string conversion by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4535
- Fix false-positive for TRY302 if exception cause is given by
[@&#8203;153957](https://togithub.com/153957) in
[astral-sh/ruff#4559
- Fix `# isort: split` comment detection in nested blocks by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4584
- Avoid some false positives in dunder variable assigments by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4508
- Fix UP032 auto-fix with integers by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4525
- Improve reference resolution for deferred-annotations-within-classes
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4509
- Improve handling of `__qualname__`, `__module__`, and `__class__` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4512
- Include empty success test in JUnit output by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4537
- Fix SIM110 and SIM111 ranges by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4545
- Ignore `#region` code folding marks in eradicate rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4546
- Avoid infinite loop for required imports with isort: off by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4581
- Make B007 fix relevance stricter by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4607
- Introduce `tab-size` to correcly calculate the line length with
tabulations by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4167
- Visit `TypeVar` and `NewType` name arguments by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4627
- Improve `Message` sorting performance by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#4624

#### New Contributors

- [@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) made their
first contribution in
[astral-sh/ruff#4516
- [@&#8203;density](https://togithub.com/density) made their first
contribution in
[astral-sh/ruff#4517
- [@&#8203;Mr-Pepe](https://togithub.com/Mr-Pepe) made their first
contribution in
[astral-sh/ruff#4540
- [@&#8203;153957](https://togithub.com/153957) made their first
contribution in
[astral-sh/ruff#4559
- [@&#8203;covracer](https://togithub.com/covracer) made their first
contribution in
[astral-sh/ruff#4448

**Full Changelog**:
astral-sh/ruff@v0.0.269...v0.0.270

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS45OC40IiwidXBkYXRlZEluVmVyIjoiMzUuOTguNCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

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 May 26, 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)
([changelog](https://togithub.com/charliermarsh/ruff/releases)) |
`==0.0.269` -> `==0.0.270` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/compatibility-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/confidence-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

#### What's Changed

##### Rules

- \[`flake8-bandit`] Implement `paramiko-call` (`S601`) by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4500
- \[`flake8-pyi`] Add autofix for PYI009 by
[@&#8203;qdegraaf](https://togithub.com/qdegraaf) in
[astral-sh/ruff#4583
- \[`flake8-pyi`] Implement `PYI013` by
[@&#8203;density](https://togithub.com/density) in
[astral-sh/ruff#4517
- \[`pylint`] Add `duplicate-value` (`W0130`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4515
- \[`pylint`] Add `named_expr_without_context` (`W0131`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4531
- \[`ruff`] Extend `RUF005` to recursive and literal-literal
concatenations by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4557
- \[`ruff`] Make ambiguous-unicode detection sensitive to 'word' context
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4552
- \[`ruff`] Name ambiguous characters by
[@&#8203;covracer](https://togithub.com/covracer) in
[astral-sh/ruff#4448

##### Settings

- Implement `--extend-fixable` option by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4297
- Support new `extend-per-file-ignores` setting by
[@&#8203;aacunningham](https://togithub.com/aacunningham) in
[astral-sh/ruff#4265

##### Bug Fixes

- Fix RUF010 auto-fix with parenthesis by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4524
- Parenthesize more sub-expressions in f-string conversion by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4535
- Fix false-positive for TRY302 if exception cause is given by
[@&#8203;153957](https://togithub.com/153957) in
[astral-sh/ruff#4559
- Fix `# isort: split` comment detection in nested blocks by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4584
- Avoid some false positives in dunder variable assigments by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4508
- Fix UP032 auto-fix with integers by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4525
- Improve reference resolution for deferred-annotations-within-classes
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4509
- Improve handling of `__qualname__`, `__module__`, and `__class__` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4512
- Include empty success test in JUnit output by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4537
- Fix SIM110 and SIM111 ranges by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4545
- Ignore `#region` code folding marks in eradicate rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4546
- Avoid infinite loop for required imports with isort: off by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4581
- Make B007 fix relevance stricter by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4607
- Introduce `tab-size` to correcly calculate the line length with
tabulations by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4167
- Visit `TypeVar` and `NewType` name arguments by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4627
- Improve `Message` sorting performance by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#4624

#### New Contributors

- [@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) made their
first contribution in
[astral-sh/ruff#4516
- [@&#8203;density](https://togithub.com/density) made their first
contribution in
[astral-sh/ruff#4517
- [@&#8203;Mr-Pepe](https://togithub.com/Mr-Pepe) made their first
contribution in
[astral-sh/ruff#4540
- [@&#8203;153957](https://togithub.com/153957) made their first
contribution in
[astral-sh/ruff#4559
- [@&#8203;covracer](https://togithub.com/covracer) made their first
contribution in
[astral-sh/ruff#4448

**Full Changelog**:
astral-sh/ruff@v0.0.269...v0.0.270

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjEwMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

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 May 28, 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)
([changelog](https://togithub.com/charliermarsh/ruff/releases)) |
`==0.0.269` -> `==0.0.270` |
[![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/compatibility-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.270/confidence-slim/0.0.269)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

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

#### What's Changed

##### Rules

- \[`flake8-bandit`] Implement `paramiko-call` (`S601`) by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4500
- \[`flake8-pyi`] Add autofix for PYI009 by
[@&#8203;qdegraaf](https://togithub.com/qdegraaf) in
[astral-sh/ruff#4583
- \[`flake8-pyi`] Implement `PYI013` by
[@&#8203;density](https://togithub.com/density) in
[astral-sh/ruff#4517
- \[`pylint`] Add `duplicate-value` (`W0130`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4515
- \[`pylint`] Add `named_expr_without_context` (`W0131`) by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4531
- \[`ruff`] Extend `RUF005` to recursive and literal-literal
concatenations by
[@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) in
[astral-sh/ruff#4557
- \[`ruff`] Make ambiguous-unicode detection sensitive to 'word' context
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4552
- \[`ruff`] Name ambiguous characters by
[@&#8203;covracer](https://togithub.com/covracer) in
[astral-sh/ruff#4448

##### Settings

- Implement `--extend-fixable` option by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4297
- Support new `extend-per-file-ignores` setting by
[@&#8203;aacunningham](https://togithub.com/aacunningham) in
[astral-sh/ruff#4265

##### Bug Fixes

- Fix RUF010 auto-fix with parenthesis by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4524
- Parenthesize more sub-expressions in f-string conversion by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4535
- Fix false-positive for TRY302 if exception cause is given by
[@&#8203;153957](https://togithub.com/153957) in
[astral-sh/ruff#4559
- Fix `# isort: split` comment detection in nested blocks by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4584
- Avoid some false positives in dunder variable assigments by
[@&#8203;scop](https://togithub.com/scop) in
[astral-sh/ruff#4508
- Fix UP032 auto-fix with integers by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4525
- Improve reference resolution for deferred-annotations-within-classes
by [@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4509
- Improve handling of `__qualname__`, `__module__`, and `__class__` by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4512
- Include empty success test in JUnit output by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4537
- Fix SIM110 and SIM111 ranges by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4545
- Ignore `#region` code folding marks in eradicate rules by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4546
- Avoid infinite loop for required imports with isort: off by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4581
- Make B007 fix relevance stricter by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4607
- Introduce `tab-size` to correcly calculate the line length with
tabulations by
[@&#8203;JonathanPlasse](https://togithub.com/JonathanPlasse) in
[astral-sh/ruff#4167
- Visit `TypeVar` and `NewType` name arguments by
[@&#8203;charliermarsh](https://togithub.com/charliermarsh) in
[astral-sh/ruff#4627
- Improve `Message` sorting performance by
[@&#8203;MichaReiser](https://togithub.com/MichaReiser) in
[astral-sh/ruff#4624

#### New Contributors

- [@&#8203;hoel-bagard](https://togithub.com/hoel-bagard) made their
first contribution in
[astral-sh/ruff#4516
- [@&#8203;density](https://togithub.com/density) made their first
contribution in
[astral-sh/ruff#4517
- [@&#8203;Mr-Pepe](https://togithub.com/Mr-Pepe) made their first
contribution in
[astral-sh/ruff#4540
- [@&#8203;153957](https://togithub.com/153957) made their first
contribution in
[astral-sh/ruff#4559
- [@&#8203;covracer](https://togithub.com/covracer) made their first
contribution in
[astral-sh/ruff#4448

**Full Changelog**:
astral-sh/ruff@v0.0.269...v0.0.270

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants