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

Introduce ruff execution on the examples and scripts folder #2867

Closed
1 task done
iAndriy opened this issue Dec 6, 2023 · 2 comments
Closed
1 task done

Introduce ruff execution on the examples and scripts folder #2867

iAndriy opened this issue Dec 6, 2023 · 2 comments

Comments

@iAndriy
Copy link
Contributor

iAndriy commented Dec 6, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe.

Recently we've introduced the ruff formatter as the substitution to the black.
Ruff tool points to sanic folder and at the same time we can leverage this tool to ensure that example and scripts folder are complaint with flake rules and their formatting is consisted with the sanic package.

Describe the solution you'd like

Run ruff fix for the example and scripts folder and extend make command/ruff configuration to take into account folders mentioned above.

Additional context

No response

@ahopkins
Copy link
Member

ahopkins commented Dec 6, 2023

😎 Thanks.

@ahopkins ahopkins closed this as completed Dec 6, 2023
@iAndriy
Copy link
Contributor Author

iAndriy commented Dec 8, 2023

😎 Thanks.

You welcome @ahopkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants