Skip to content

Conversation

@dylwil3
Copy link
Collaborator

@dylwil3 dylwil3 commented Apr 10, 2025

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 10, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+131 -193 violations, +0 -0 fixes in 18 projects; 37 projects unchanged)

apache/airflow (+38 -124 violations, +0 -0 fixes)

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

+ airflow-core/src/airflow/api_fastapi/core_api/routes/public/connections.py:230:9: PLW0101 Unreachable code in `test_connection`
+ airflow-core/src/airflow/cli/commands/standalone_command.py:121:13: PLW0101 Unreachable code in `run`
+ airflow-core/src/airflow/jobs/job.py:347:9: PLW0101 Unreachable code in `run_job`
+ airflow-core/src/airflow/jobs/triggerer_job_runner.py:164:13: PLW0101 Unreachable code in `_execute`
- airflow-core/src/airflow/triggers/base.py:103:9: PLW0101 Unreachable code in `run`
+ airflow-core/src/airflow/utils/cli.py:111:17: PLW0101 Unreachable code in `wrapper`
... 34 additional changes omitted for rule PLW0101
- airflow-core/tests/unit/jobs/test_triggerer_job.py:115:20: ANN001 Missing type annotation for function argument `session`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:115:5: ANN201 Missing return type annotation for public function `test_is_needed`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:129:5: ANN201 Missing return type annotation for public function `test_capacity_decode`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:142:16: PLR1714 Consider merging multiple comparisons: `job_runner.capacity in (input_str, 1000)`. Use a `set` if the elements are hashable.
- airflow-core/tests/unit/jobs/test_triggerer_job.py:142:75: PLR2004 Magic value used in comparison, consider replacing `1000` with a constant variable
- airflow-core/tests/unit/jobs/test_triggerer_job.py:153:28: PT011 `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
- airflow-core/tests/unit/jobs/test_triggerer_job.py:158:24: ANN001 Missing type annotation for function argument `mocker`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:158:32: ANN001 Missing type annotation for function argument `session`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:158:5: ANN201 Missing return type annotation for public function `supervisor_builder`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:159:17: ANN001 Missing type annotation for function argument `job`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:159:9: ANN202 Missing return type annotation for private function `builder`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:160:9: PLC0415 `import` should be at the top-level of a file
- airflow-core/tests/unit/jobs/test_triggerer_job.py:189:51: ANN001 Missing type annotation for function argument `session`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:189:5: ANN201 Missing return type annotation for public function `test_trigger_lifecycle`
- airflow-core/tests/unit/jobs/test_triggerer_job.py:197:16: RUF059 Unpacked variable `run` is never used
- airflow-core/tests/unit/jobs/test_triggerer_job.py:197:34: RUF059 Unpacked variable `task_instance` is never used
- airflow-core/tests/unit/jobs/test_triggerer_job.py:197:5: RUF059 Unpacked variable `dag_model` is never used
- airflow-core/tests/unit/jobs/test_triggerer_job.py:1:1: CPY001 Missing copyright notice at top of file
- airflow-core/tests/unit/jobs/test_triggerer_job.py:206:13: ANN202 Missing return type annotation for private function `send_msg_spy`
... 137 additional changes omitted for project

apache/superset (+3 -0 violations, +0 -0 fixes)

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

+ superset/utils/decorators.py:264:17: PLW0101 Unreachable code in `wrapped`
+ superset/utils/network.py:34:13: PLW0101 Unreachable code in `is_port_open`
+ tests/unit_tests/utils/test_core.py:1102:9: PLW0101 Unreachable code in `test_get_stacktrace`

aws/aws-sam-cli (+3 -0 violations, +0 -0 fixes)

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

+ samcli/commands/init/init_templates.py:70:13: PLW0101 Unreachable code in `location_from_app_template`
+ samcli/local/apigw/local_apigw_service.py:163:17: PLW0101 Unreachable code in `create`
+ tests/unit/commands/test_exceptions.py:16:13: PLW0101 Unreachable code in `test_show_must_print_traceback_and_message`

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

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

+ src/bokeh/core/serialization.py:252:13: PLW0101 Unreachable code in `encode`
+ src/bokeh/core/serialization.py:525:13: PLW0101 Unreachable code in `decode`

freedomofpress/securedrop (+2 -1 violations, +0 -0 fixes)

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

+ securedrop/tests/functional/conftest.py:166:17: PLW0101 Unreachable code in `spawn_sd_servers`
+ securedrop/tests/functional/conftest.py:176:17: PLW0101 Unreachable code in `spawn_sd_servers`
- securedrop/tests/test_worker.py:4:8: S404 `subprocess` module is possibly insecure

ibis-project/ibis (+5 -0 violations, +0 -0 fixes)

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

+ ibis/backends/clickhouse/__init__.py:554:13: PLW0101 Unreachable code in `_get_schema_using_query`
+ ibis/backends/impala/__init__.py:405:13: PLW0101 Unreachable code in `_get_schema_using_query`
+ ibis/backends/postgres/__init__.py:594:13: PLW0101 Unreachable code in `_get_schema_using_query`
+ ibis/backends/risingwave/__init__.py:370:13: PLW0101 Unreachable code in `_get_schema_using_query`
+ ibis/common/collections.py:88:13: PLW0101 Unreachable code in `__iter__`

langchain-ai/langchain (+5 -1 violations, +0 -0 fixes)

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

+ libs/core/langchain_core/_api/internal.py:16:17: PLW0101 Unreachable code in `is_caller_internal`
+ libs/core/langchain_core/output_parsers/pydantic.py:37:17: PLW0101 Unreachable code in `_parse_obj`
+ libs/core/langchain_core/runnables/graph_png.py:155:13: PLW0101 Unreachable code in `draw`
+ libs/core/langchain_core/tracers/log_stream.py:438:17: PLW0101 Unreachable code in `_on_run_update`
+ libs/core/langchain_core/utils/iter.py:83:9: PLW0101 Unreachable code in `tee_peer`
- libs/core/tests/unit_tests/runnables/test_fallbacks.py:300:5: PLW0101 Unreachable code in `_agenerate_immediate_error`

latchbio/latch (+5 -41 violations, +0 -0 fixes)

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

- src/latch_cli/menus.py:124:5: FBT001 Boolean-typed positional argument in function definition
- src/latch_cli/menus.py:124:5: FBT002 Boolean default positional argument in function definition
- src/latch_cli/menus.py:125:5: FBT001 Boolean-typed positional argument in function definition
- src/latch_cli/menus.py:125:5: FBT002 Boolean default positional argument in function definition
- src/latch_cli/menus.py:128:5: D205 1 blank line required between summary line and description
- src/latch_cli/menus.py:128:5: D212 [*] Multi-line docstring summary should start at the first line
- src/latch_cli/menus.py:13:17: ANN002 Missing type annotation for `*args`
- src/latch_cli/menus.py:151:5: FBT001 Boolean-typed positional argument in function definition
- src/latch_cli/menus.py:151:5: FBT002 Boolean default positional argument in function definition
- src/latch_cli/menus.py:152:5: FBT001 Boolean-typed positional argument in function definition
... 36 additional changes omitted for project

milvus-io/pymilvus (+2 -1 violations, +0 -0 fixes)

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

- examples/iterator/iterator.py:64:9: PLW0101 Unreachable code in `external_filter_func`
+ examples/iterator/iterator.py:65:9: PLW0101 Unreachable code in `external_filter_func`
+ pymilvus/decorators.py:86:21: PLW0101 Unreachable code in `handler`

pandas-dev/pandas (+2 -1 violations, +0 -0 fixes)

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

+ pandas/io/parquet.py:280:13: PLW0101 Unreachable code in `read`
+ pandas/io/parsers/python_parser.py:1314:25: PLW0101 Unreachable code in `_get_lines`
- pandas/util/_exceptions.py:32:13: PLR6104 Use `+=` to perform an augmented assignment directly

pypa/cibuildwheel (+1 -0 violations, +0 -0 fixes)

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

+ bin/make_dependency_update_pr.py:50:13: PLW0101 Unreachable code in `main`

rotki/rotki (+2 -0 violations, +0 -0 fixes)

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

+ rotkehlchen/globaldb/manual_price_oracles.py:52:17: PLW0101 Unreachable code in `query_current_price`
+ rotkehlchen/tasks/manager.py:489:17: PLW0101 Unreachable code in `_maybe_check_premium_status`

scikit-build/scikit-build-core (+1 -0 violations, +0 -0 fixes)

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

+ src/scikit_build_core/settings/_load_provider.py:61:9: PLW0101 Unreachable code in `load_provider`

zulip/zulip (+16 -0 violations, +0 -0 fixes)

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

+ zerver/actions/message_flags.py:93:5: PLW0101 Unreachable code in `do_mark_all_as_read`
+ zerver/lib/logging_util.py:96:13: PLW0101 Unreachable code in `filter`
+ zerver/lib/markdown/__init__.py:2829:9: PLW0101 Unreachable code in `do_convert`
+ zerver/lib/streams.py:887:9: PLW0101 Unreachable code in `check_stream_name_available`
+ zerver/lib/test_helpers.py:188:13: PLW0101 Unreachable code in `cursor_execute`
+ zerver/lib/test_helpers.py:206:13: PLW0101 Unreachable code in `cursor_executemany`
+ zerver/management/commands/deliver_scheduled_emails.py:56:13: PLW0101 Unreachable code in `handle`
+ zerver/management/commands/deliver_scheduled_messages.py:35:13: PLW0101 Unreachable code in `handle`
+ zerver/middleware.py:418:13: PLW0101 Unreachable code in `process_exception`
+ zerver/tests/test_openapi.py:288:13: PLW0101 Unreachable code in `ensure_no_documentation_if_intentionally_undocumented`
... 6 additional changes omitted for project

... Truncated remaining completed project reports due to GitHub comment length restrictions

Changes by rule (40 rules affected)

code total + violation - violation + fix - fix
PLW0101 134 131 3 0 0
ANN001 45 0 45 0 0
PLC0415 23 0 23 0 0
ANN201 16 0 16 0 0
SLF001 10 0 10 0 0
COM812 9 0 9 0 0
ARG002 7 0 7 0 0
PLR6301 6 0 6 0 0
FBT001 6 0 6 0 0
FBT002 6 0 6 0 0
D212 6 0 6 0 0
ANN202 4 0 4 0 0
RUF059 4 0 4 0 0
ANN003 4 0 4 0 0
RUF029 4 0 4 0 0
D205 4 0 4 0 0
ANN204 3 0 3 0 0
UP035 3 0 3 0 0
PLR2004 2 0 2 0 0
ANN002 2 0 2 0 0
ERA001 2 0 2 0 0
FBT003 2 0 2 0 0
ARG001 2 0 2 0 0
PLR6201 2 0 2 0 0
RET505 2 0 2 0 0
D200 2 0 2 0 0
PLR1714 1 0 1 0 0
PT011 1 0 1 0 0
CPY001 1 0 1 0 0
TC003 1 0 1 0 0
S404 1 0 1 0 0
PERF402 1 0 1 0 0
F541 1 0 1 0 0
F401 1 0 1 0 0
PLR0402 1 0 1 0 0
PLR6104 1 0 1 0 0
PLR1702 1 0 1 0 0
PLR0904 1 0 1 0 0
PLW3201 1 0 1 0 0
RUF056 1 0 1 0 0

@dylwil3 dylwil3 closed this Dec 10, 2025
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.

1 participant