-
Notifications
You must be signed in to change notification settings - Fork 9
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
implementing precommit hooks as a github action #23
Labels
Comments
github action that runs black and isort on all code on push to the repository.github/workflows/linters.yml
1 TODO: find a way to only lint changed code to improve performance |
Lint all code checked into local .git
1: TODO: lint only changed code |
Closed
@khiron is this already implemented? e.g. https://github.com/cogent3/cogent3/blob/develop/.github/workflows/linters.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We want to avoid code style issues when doing reviews of PRs.
We need
black
andisort
linters to start with. Setup with a GitHub action run on each PR.Ideally, these would be applied by developers before the push to their own GitHub fork of cogent3.
Question: If these are setup on cogent3#develop, do forks also run them?
The text was updated successfully, but these errors were encountered: