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

ci: use ruff for linting and formatting #466

Merged

Conversation

lvaylet
Copy link
Collaborator

@lvaylet lvaylet commented May 16, 2024

No description provided.

@lvaylet lvaylet self-assigned this May 16, 2024
@lvaylet lvaylet linked an issue May 16, 2024 that may be closed by this pull request
1 task
@lvaylet lvaylet marked this pull request as draft May 16, 2024 15:53
@lvaylet lvaylet marked this pull request as draft May 16, 2024 15:53
@lvaylet
Copy link
Collaborator Author

lvaylet commented May 16, 2024

TODO: Update CONTRIBUTING.md, and mention the Ruff extension in VS Code. Ruff is so fast that it can be used as an LSP, in watch mode.

@lvaylet lvaylet marked this pull request as ready for review May 16, 2024 18:29
@lvaylet lvaylet merged commit e1b8610 into master May 16, 2024
13 checks passed
@lvaylet lvaylet deleted the 462-request-replace-black-isort-pylint-and-flake8-with-ruff branch May 16, 2024 18:29
lvaylet added a commit that referenced this pull request May 17, 2024
* use `ruff` in pre-commit hooks

* remove unneeded empty line

* use `ruff` everywhere!

* format with `ruff`

* use popular rule selection for linting

* fix warnings reported by `ruff`

* update contributing guide with `ruff`

* fix issues reported by `ruff`

* fix syntax

* use type hints compatible with 3.8+
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.

💡 [REQUEST] - Replace Black, isort, Pylint and Flake8 with Ruff
1 participant