You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "esafak (via GitHub)" <gi...@apache.org> on 2025/07/05 22:09:25 UTC
[PR] refactor(ci): replace Black and Flake8 with Ruff for formatting and l… [fory]
esafak opened a new pull request, #2388:
URL: https://github.com/apache/fory/pull/2388
Contribution Checklist
## Why?
I was running the existing linting script on my last PR and it was failing because it was incompatible with the new version of `importlib-metadata` I had installed. First I considered unpinning or updating the versions of the linting libraries, then I realized it would be better to simply get rid of them in favor of [ruff](https://astral.sh/ruff).
Note that this PR includes a few ruff reformatted python files.
## What does this PR do?
- Removed Black and Flake8 configurations and dependencies.
- Integrated Ruff for both formatting and linting, updating scripts and configuration files accordingly.
- Adjusted documentation and examples in `README.md` and `CONTRIBUTING.md` to reflect the switch to Ruff.
- Improved simplicity and consistency in formatting validation steps.
- Migrates linter configuration into `pyproject.toml`
## Does this PR introduce any user-facing change?
No
## Benchmark
Ruff is faster :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org
Re: [PR] refactor(python): replace Black and Flake8 with Ruff [fory]
Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #2388:
URL: https://github.com/apache/fory/pull/2388
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org