Skip to content

Setup pre-commit hooks and reformat code #245

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

Merged
merged 2 commits into from
Jan 9, 2022
Merged

Setup pre-commit hooks and reformat code #245

merged 2 commits into from
Jan 9, 2022

Conversation

asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Jan 9, 2022

Install hooks: make install

After that, git commit ... runs registered hooks from .pre-commit-config.yaml to committed files.
To skip hooks please use git commit --no-verify ...

The set of hooks can be adjusted, I've applied a configuration that I have for other projects.

@asvetlov asvetlov requested review from Tinche and seifertm January 9, 2022 08:37
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2022

Codecov Report

Merging #245 (e2b0e29) into master (47ae437) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #245   +/-   ##
=======================================
  Coverage   95.59%   95.59%           
=======================================
  Files           2        2           
  Lines         227      227           
=======================================
  Hits          217      217           
  Misses         10       10           
Impacted Files Coverage Δ
pytest_asyncio/__init__.py 100.00% <ø> (ø)
pytest_asyncio/plugin.py 95.53% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47ae437...e2b0e29. Read the comment docs.

@asvetlov asvetlov merged commit 4c7da65 into master Jan 9, 2022
@asvetlov asvetlov deleted the pre-commit branch January 9, 2022 13:03
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.

3 participants