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

[Enhancement]: stable code formating #1602

Closed
1 task done
reiase opened this issue Jul 21, 2022 · 1 comment
Closed
1 task done

[Enhancement]: stable code formating #1602

reiase opened this issue Jul 21, 2022 · 1 comment
Labels
kind/enhancement Issues or changes related to enhancement stale

Comments

@reiase
Copy link
Contributor

reiase commented Jul 21, 2022

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

The developers are using different editors and IDEs when developing towhee, making the format of code not stable. We can use a git hook to reformat the code before commit:

pip install pre-commit black autoflake
pre-commit install
# the following command is optional, but needed if you have already committed some files to your forked repo.
pre-commit run --all-files

Why is this needed?

No response

Anything else?

No response

@reiase reiase added the kind/enhancement Issues or changes related to enhancement label Jul 21, 2022
@stale
Copy link

stale bot commented Aug 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale label Aug 30, 2022
@stale stale bot closed this as completed Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement stale
Projects
None yet
Development

No branches or pull requests

1 participant