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 lint step to CI #37

Merged
merged 2 commits into from
Jan 5, 2023
Merged

Add lint step to CI #37

merged 2 commits into from
Jan 5, 2023

Conversation

nahueespinosa
Copy link
Member

@nahueespinosa nahueespinosa commented Jan 3, 2023

This patch adds a step to run pre-commit hooks in CI. Also, now the pipeline builds and tests beluga_amcl as well.

There is a bit of a conflict between black and flake8 regarding the preference of single or double quotes for strings in python. I opted for disabling string-normalization in black.

Related to #3.

@nahueespinosa nahueespinosa force-pushed the nahuel/pre-commit-ci branch 7 times, most recently from 2c5c2b6 to 5ce348f Compare January 4, 2023 01:41
@nahueespinosa nahueespinosa self-assigned this Jan 4, 2023
@nahueespinosa nahueespinosa added infra Related to infrastructure and CI enhancement New feature or request labels Jan 5, 2023
glpuga
glpuga previously approved these changes Jan 5, 2023
Copy link
Collaborator

@glpuga glpuga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work.

Since it now takes 13 minutes to run, we should touch base with Repos SO to make sure we have enough CI minutes for our average use.

@nahueespinosa
Copy link
Member Author

Since it now takes 13 minutes to run, we should touch base with Repos SO to make sure we have enough CI minutes for our average use.

That's a great point! I'll check with Rodri before merging.

@nahueespinosa
Copy link
Member Author

Pipeline execution time was reduced to 9 minutes after removing beluga_example, which added flatland dependencies and doesn't really need to be compiled or tested.

@nahueespinosa nahueespinosa merged commit ad8e21f into master Jan 5, 2023
@nahueespinosa nahueespinosa deleted the nahuel/pre-commit-ci branch January 5, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infra Related to infrastructure and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants