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

Check format by black #902

Closed
wants to merge 4 commits into from
Closed

Conversation

shirayu
Copy link
Contributor

@shirayu shirayu commented Oct 27, 2023

@akx
Copy link
Contributor

akx commented Jan 16, 2024

I would suggest ruff format instead; it's compatible with black but much faster.

ruff is also a powerful linter; running linting might avoid some bugs.

Adding a pre-commit configuration would make it easier for contributors to run the formatting automatically as they're committing code:

repos:
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.1.10
    hooks:
      - id: ruff-format

@shirayu shirayu mentioned this pull request Jan 16, 2024
@shirayu
Copy link
Contributor Author

shirayu commented Jan 16, 2024

Hello, thanks for the suggestion!
I didn't know the ruff.
It seems to be a nice tool.

I've created a new pull request #1055 and close this now.

@shirayu shirayu closed this Jan 16, 2024
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