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

Pre commit for ricecooker #351

Merged
merged 9 commits into from
Jan 27, 2022

Conversation

AtKristijan
Copy link
Contributor

Precommit for ricecooker

@AtKristijan AtKristijan changed the title lining Pre commit for ricecooker Dec 21, 2021
hooks:
- id: flake8
exclude: '^.+?\.template$'
- repo: git://github.com/pre-commit/pre-commit-hooks
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- repo: git://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks

A recent change in github security means that the unauthenticated git:// protocol URLs will no longer work. I am making similar changes in our other repos: learningequality/kolibri#8987

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

- id: end-of-file-fixer
exclude: '^.+?(\.json|\.template)$'

- repo: git://github.com/asottile/reorder_python_imports
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- repo: git://github.com/asottile/reorder_python_imports
- repo: https://github.com/asottile/reorder_python_imports

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

No concerns here - there's a bit more cleanup to do with the linting from the flake-8 checks though, they are somewhat extensive, so we could break them up into follow up issues.

@rtibbles
Copy link
Member

Going to merge this so we can iterate on getting to passing tests again.

@rtibbles rtibbles merged commit d8c4d5c into learningequality:develop Jan 27, 2022
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.

2 participants