Skip to content

Conversation

@dylwil3
Copy link
Collaborator

@dylwil3 dylwil3 commented Jun 8, 2025

No description provided.

@dylwil3 dylwil3 added this to the v0.12 milestone Jun 8, 2025
@dylwil3 dylwil3 added the rule Implementing or modifying a lint rule label Jun 8, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2025

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+159 -8 violations, +0 -0 fixes in 7 projects; 48 projects unchanged)

DisnakeDev/disnake (+1 -0 violations, +0 -0 fixes)

+ tests/ext/commands/test_params.py:119:9: PT031 `pytest.warns()` block should contain a single simple statement

PlasmaPy/PlasmaPy (+38 -0 violations, +0 -0 fixes)

+ tests/analysis/swept_langmuir/test_floating_potential.py:213:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/analysis/test_fit_functions.py:530:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/diagnostics/charged_particle_radiography/test_synthetic_radiography.py:377:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_collisions_dimensionless.py:133:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_collisions_frequencies.py:727:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_collisions_lengths.py:207:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_collisions_misc.py:152:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_coulomb.py:134:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_coulomb.py:160:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/collisions/test_coulomb.py:97:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/formulary/test_lengths.py:333:9: PT031 `pytest.warns()` block should contain a single simple statement
... 27 additional changes omitted for project

apache/airflow (+40 -0 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --no-fix --output-format concise --no-preview --select ALL

+ airflow-core/tests/unit/always/test_providers_manager.py:75:9: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/core/test_configuration.py:1112:17: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/core/test_configuration.py:1136:9: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/core/test_configuration.py:1163:9: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/core/test_configuration.py:1203:9: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/datasets/test_dataset.py:76:5: PT031 `pytest.warns()` block should contain a single simple statement
+ airflow-core/tests/unit/utils/test_warnings.py:41:9: PT031 `pytest.warns()` block should contain a single simple statement
+ providers/amazon/tests/unit/amazon/aws/utils/test_connection_wrapper.py:121:9: PT031 `pytest.warns()` block should contain a single simple statement
+ providers/google/tests/unit/google/cloud/hooks/test_bigquery.py:783:9: PT031 `pytest.warns()` block should contain a single simple statement
+ providers/google/tests/unit/google/cloud/hooks/test_bigquery.py:828:9: PT031 `pytest.warns()` block should contain a single simple statement
+ providers/google/tests/unit/google/cloud/hooks/test_bigquery.py:874:9: PT031 `pytest.warns()` block should contain a single simple statement
... 29 additional changes omitted for project

bokeh/bokeh (+9 -0 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --no-fix --output-format concise --no-preview --select ALL

+ tests/unit/bokeh/models/test_formatters.py:35:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/models/test_plots.py:81:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/models/test_sources.py:283:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/plotting/test_graph.py:122:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/plotting/test_graph.py:131:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/plotting/test_graph.py:141:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/plotting/test_graph.py:175:5: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/util/test_token.py:217:9: PT031 `pytest.warns()` block should contain a single simple statement
+ tests/unit/bokeh/util/test_token.py:232:13: PT031 `pytest.warns()` block should contain a single simple statement

pypa/setuptools (+3 -0 violations, +0 -0 fixes)

+ pkg_resources/tests/test_resources.py:864:9: PT031 `pytest.warns()` block should contain a single simple statement
+ setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py:106:5: PT031 `pytest.warns()` block should contain a single simple statement
+ setuptools/tests/test_build_py.py:168:5: PT031 `pytest.warns()` block should contain a single simple statement

python-trio/trio (+0 -8 violations, +0 -0 fixes)

- src/trio/_core/_tests/test_asyncgen.py:46:29: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_core/_tests/test_guest_mode.py:441:25: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_dtls.py:796:42: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_dtls.py:812:42: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_dtls.py:835:42: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_dtls.py:852:42: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_subprocess.py:678:61: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)
- src/trio/_tests/test_subprocess.py:692:70: RUF100 [*] Unused `noqa` directive (non-enabled: `PT031`)

astropy/astropy (+68 -0 violations, +0 -0 fixes)

+ astropy/config/tests/test_configs.py:524:9: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/config/tests/test_configs.py:564:9: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/convolution/tests/test_convolve.py:1231:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/convolution/tests/test_convolve_fft.py:825:9: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/coordinates/tests/test_regression.py:255:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/coordinates/tests/test_sky_coord.py:1859:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/cosmology/_src/tests/funcs/test_funcs.py:279:9: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_ipac_definitions.py:101:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:125:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:136:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:156:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:404:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:545:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:682:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:683:9: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:732:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:746:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/ascii/tests/test_tdat.py:798:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/fits/hdu/compressed/tests/test_tiled_compression.py:165:5: PT031 `pytest.warns()` block should contain a single simple statement
+ astropy/io/fits/tests/test_header.py:1956:9: PT031 `pytest.warns()` block should contain a single simple statement
... 48 additional changes omitted for project

Changes by rule (2 rules affected)

code total + violation - violation + fix - fix
PT031 159 159 0 0 0
RUF100 8 0 8 0 0

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre force-pushed the brent/release-0.12.0 branch from 0370d8a to 040fb6b Compare June 8, 2025 19:55
@ntBre ntBre requested a review from AlexWaygood as a code owner June 8, 2025 19:55
@ntBre ntBre force-pushed the brent/release-0.12.0 branch from 040fb6b to 9252447 Compare June 8, 2025 20:18
@AlexWaygood AlexWaygood removed their request for review June 8, 2025 20:26
@ntBre ntBre force-pushed the brent/release-0.12.0 branch from 9252447 to 829acf4 Compare June 9, 2025 00:22
@dylwil3 dylwil3 force-pushed the dylan/stabilize-pt031 branch from a9925e2 to 2a70ea0 Compare June 9, 2025 13:04
@dylwil3 dylwil3 merged commit 3de8597 into brent/release-0.12.0 Jun 9, 2025
34 checks passed
@dylwil3 dylwil3 deleted the dylan/stabilize-pt031 branch June 9, 2025 19:09
@dylwil3 dylwil3 mentioned this pull request Jun 9, 2025
2 tasks
carljm added a commit to MatthewMckee4/ruff that referenced this pull request Jun 17, 2025
…ence

* main: (71 commits)
  Bump 0.12.0 (astral-sh#18724)
  Revert "[ty] Offer "Did you mean...?" suggestions for unresolved `from` imports and unresolved attributes (astral-sh#18705)" (astral-sh#18721)
  [`flake8-return`] Stabilize only add `return None` at the end when fixing `implicit-return` (`RET503`) (astral-sh#18516)
  [`pyupgrade`] Stabilize `non-pep695-generic-function` (`UP047`) (astral-sh#18524)
  [`pyupgrade`] Stabilize `non-pep695-generic-class` (`UP046`) (astral-sh#18519)
  [`pandas-vet`] Deprecate `pandas-df-variable-name` (`PD901`) (astral-sh#18618)
  [`flake8-bandit`] Remove `suspicious-xmle-tree-usage` (`S320`) (astral-sh#18617)
  Stabilize `dataclass-enum` (`RUF049`) (astral-sh#18570)
  Stabilize `unnecessary-dict-index-lookup` (`PLR1733`) (astral-sh#18571)
  Remove rust-toolchain.toml from sdist (astral-sh#17925)
  Stabilize `starmap-zip` (`RUF058`) (astral-sh#18525)
  [`flake8-logging`] Stabilize `exc-info-outside-except-handler` (`LOG014`) (astral-sh#18517)
  [`pyupgrade`] Stabilize `non-pep604-annotation-optional` (`UP045`) and preview behavior for `non-pep604-annotation-union` (`UP007`) (astral-sh#18505)
  Stabilize `pytest-warns-too-broad` (`PT030`) (astral-sh#18568)
  Stabilize `for-loop-writes` (`FURB122`) (astral-sh#18565)
  Stabilize `pytest-warns-with-multiple-statements` (`PT031`) (astral-sh#18569)
  Stabilize `pytest-parameter-with-default-argument` (`PT028`) (astral-sh#18566)
  Stabilize `nan-comparison` (`PLW0177`) (astral-sh#18559)
  Stabilize `check-and-remove-from-set` (`FURB132`) (astral-sh#18560)
  Stabilize `unnecessary-round` (`RUF057`) (astral-sh#18563)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants