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

Some changes to make mypy and flake8 in pre-commit happy #81

Merged
merged 4 commits into from
Mar 23, 2022

Conversation

lahdjirayhan
Copy link
Contributor

I was trying to make some changes in ozone.py to experiment, but pre-commit won't let me commit. So I propose this PR based on what I had to do to make pre-commit hooks all happy.


Note: for the reference on why I cut down the docstrings the way I did, see this question and answer: https://stackoverflow.com/questions/58930609/how-to-format-long-lines-of-argument-description-in-google-docstring-style

This is to get rid of errors/warnings like 'library stubs not installed'
Note: this is supposed to be configurable via max-doc-length argument,
but for some reason it won't work in my device
@Samxx97
Copy link
Contributor

Samxx97 commented Mar 23, 2022

@lahdjirayhan Great! I have actually been getting same errors from mypy hopefully this keeps it happy for now 😉

Samxx97
Samxx97 previously approved these changes Mar 23, 2022
@Samxx97 Samxx97 self-requested a review March 23, 2022 18:45
@Samxx97 Samxx97 changed the base branch from main to dev March 23, 2022 18:48
@Samxx97 Samxx97 dismissed their stale review March 23, 2022 18:48

The base branch was changed.

@Samxx97 Samxx97 merged commit cd04605 into Ozon3Org:dev Mar 23, 2022
@lahdjirayhan
Copy link
Contributor Author

lahdjirayhan commented Mar 24, 2022

Sorry I forget (again) to change the base branch.

@Sam-damn Yeah, I hope there's no more issue about pre-commit. Frankly this is my first time using pre-commit.

I'm really uncomfortable to use git commit --no-verify every time haha

@lahdjirayhan lahdjirayhan deleted the restyle branch April 23, 2022 12:39
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.

None yet

2 participants