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

chore: use ruff for linting and code formatting #258

Merged
merged 1 commit into from
Dec 28, 2024
Merged

Conversation

terop
Copy link
Contributor

@terop terop commented Nov 11, 2024

ruff replaces black, flake8, isort and pylint.

Fixes #241.

@terop
Copy link
Contributor Author

terop commented Nov 11, 2024

I have enabled some rules but more can still be enabled if desired. All rules can be found at https://docs.astral.sh/ruff/rules/.

@terop
Copy link
Contributor Author

terop commented Dec 14, 2024

@ttu could you kindly take a look at this at some point?

@ttu ttu changed the title ci: use ruff for linting and code formatting chore: replace black and isort with ruff for linting and code formatting Dec 21, 2024
Copy link
Owner

@ttu ttu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good changes!

I renamed the PR from ci to chore as this affects CI, build, code style etc.

pyproject.toml Outdated Show resolved Hide resolved
@ttu ttu changed the title chore: replace black and isort with ruff for linting and code formatting chore: use ruff for linting and code formatting Dec 21, 2024
ruff replaces black, flake8, isort and pylint.
@ttu ttu merged commit dea20fb into ttu:master Dec 28, 2024
5 checks passed
@terop terop deleted the ruff_lint branch December 28, 2024 11:51
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.

Consider using Ruff to replace flake8, isort, PyLint and Black
2 participants