Skip to content

ci: update pre-commit hooks, fix linting, and refresh dependencies#1385

Open
dariocurr wants to merge 7 commits intoapache:mainfrom
dariocurr:main
Open

ci: update pre-commit hooks, fix linting, and refresh dependencies#1385
dariocurr wants to merge 7 commits intoapache:mainfrom
dariocurr:main

Conversation

@dariocurr
Copy link

Which issue does this PR close?

N/A — no issue. This PR is tooling/CI and formatting only (pre-commit, lint fixes, dependency bumps).

Rationale for this change

Keep the repo aligned with current pre-commit hooks and linters, fix resulting style/format issues, and refresh build dependencies so CI and local checks stay consistent and up to date.

What changes are included in this PR?

  • CI / pre-commit: Update .pre-commit-config.yaml and fix indentation in .github/workflows/test.yml.
  • Linting / style: Fix formatting and lint across Python and config files (e.g. pyproject.toml, dataframe.py, expr.py, plan.py, user_defined.py, input/location.py, and test files in python/tests/).
  • Rust: Reorder imports in src/expr/indexed_field.rs for clarity.
  • Dependencies: Update Cargo.toml and Cargo.lock.

No behavior or API changes.

Are there any user-facing changes?

No. Changes are limited to tooling, CI, formatting, and dependency versions.

* Update Ruff version in pre-commit configuration to v0.15.1.
* Add noqa comments to suppress specific linting warnings in various files.
* Update regex patterns in test cases for better matching.
* Adjusted indentation for the enable-cache option in the test.yml workflow file to ensure proper YAML formatting.
* Adjusted the order of imports in indexed_field.rs to improve readability and maintain consistency with project conventions.
* Bump versions of several dependencies including tokio, pyo3-log, prost, uuid, and log to their latest releases.
* Update Cargo.lock to reflect the changes in dependency versions.
* Adjusted formatting in pyproject.toml for improved readability by aligning lists and ensuring consistent indentation.
* Updated dependencies and configuration settings for better organization.
* Cleaned up import statements in multiple files by removing unnecessary noqa comments, enhancing code readability and maintaining consistency across the codebase.
* Streamlined list formatting in pyproject.toml for improved readability by removing unnecessary line breaks and ensuring consistent structure across sections.
* No functional changes were made; the focus was solely on code style and organization.
@timsaucer
Copy link
Member

Thanks for the PR. I see CI is passing now. We have the release vote in process, so I'm going to hold off on review for a couple of days, just until the release merges in.

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.

2 participants

Comments