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

Added pre-commit hook, and dependencies #73

Merged

Conversation

VivekKumarKamal
Copy link
Contributor

I have added a pre-commit hook, and dependencies

What I did

I read about the pre-commit hooks and ruff from both the links that you provided in the issue. I created the .pre-commit-config.yaml file in the root folder. I looked at the hooks on the github of pre-commit and from there took the below mentioned last two hooks.

I didn't know much so I have added the "ruff", "end-of-file-fixer" and "check-merge-conflict" only.

: Please tell me if I need to make any changes. Thank You! 😀

feature: #58

Copy link
Member

@audreyfeldroy audreyfeldroy left a comment

Choose a reason for hiding this comment

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

Looks great! I'm on mobile where I can make code suggestions but don't have a button to click to accept them. Once you or someone accepts my little fix, we can merge this in.

pyproject.toml Outdated Show resolved Hide resolved
Co-authored-by: Audrey Roy Greenfeld <[email protected]>
@VivekKumarKamal
Copy link
Contributor Author

Hi @audreyfeldroy I have made the change, if there is anything else to change or add, please tell me. ☺️

Copy link
Member

@audreyfeldroy audreyfeldroy left a comment

Choose a reason for hiding this comment

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

Great, approved and merging 🚀

@audreyfeldroy audreyfeldroy merged commit dc487c6 into crisishistory:main Oct 8, 2023
1 check passed
@VivekKumarKamal VivekKumarKamal deleted the feature/pre-commit-hooks branch October 8, 2023 19:03
@audreyfeldroy audreyfeldroy added the hacktoberfest-accepted Issue or PR is approved for anyone who wants it to count toward Hacktoberfest label Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Issue or PR is approved for anyone who wants it to count toward Hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants