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 a new test that documents how to use the pre-commit hook with '--set-formats' #971

Merged
merged 5 commits into from
Jul 3, 2022

Conversation

mwouts
Copy link
Owner

@mwouts mwouts commented Jul 2, 2022

The test works without filtering on .ipynb files thanks to the resolution of #969 that has been integrated in this branch.

Closes #967 .

@codecov
Copy link

codecov bot commented Jul 2, 2022

Codecov Report

Merging #971 (e0be3bd) into main (4507f81) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #971      +/-   ##
==========================================
+ Coverage   99.03%   99.07%   +0.04%     
==========================================
  Files         117      118       +1     
  Lines       10898    10946      +48     
==========================================
+ Hits        10793    10845      +52     
+ Misses        105      101       -4     
Impacted Files Coverage Δ
tests/conftest.py 100.00% <ø> (ø)
jupytext/cli.py 95.85% <100.00%> (-0.02%) ⬇️
tests/test_cli.py 100.00% <100.00%> (ø)
tests/test_pre_commit_1_sync_with_no_config.py 100.00% <100.00%> (ø)
jupytext/__main__.py 100.00% <0.00%> (+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 4507f81...e0be3bd. Read the comment docs.

@mwouts mwouts merged commit 8a4ea5f into main Jul 3, 2022
@mwouts mwouts deleted the fix_969_and_967 branch July 3, 2022 08:29
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.

Error: the git index is outdated for pre-commit with new file and pure VSCode
1 participant