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

Add yapf checker #1695

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add yapf checker #1695

wants to merge 3 commits into from

Conversation

alastair
Copy link
Member

@alastair alastair commented Sep 19, 2023

Description
We have discussed in the past that we want to add a code formatter to freesound in order to be consistent with everything!
This PR adds an action to check formatting with yapf. We had a small discussion about using yapf vs black and yapf edged out slightly.

I've not used this yapf-action before, previously I just installed yapf manually and ran it. We need to check if it works correctly with pyproject.toml

Obviously, no actual formatting in this PR (yet!), let's see what happens!

Might need to be careful with existing py2 code.

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.

None yet

1 participant