Skip to content

ENH: add file validation hook - #74

Merged
neutrinoceros merged 1 commit into
mainfrom
validate_hook
Oct 28, 2021
Merged

ENH: add file validation hook#74
neutrinoceros merged 1 commit into
mainfrom
validate_hook

Conversation

@neutrinoceros

Copy link
Copy Markdown
Owner

fix #39

@codecov

codecov Bot commented Oct 28, 2021

Copy link
Copy Markdown

Codecov Report

Merging #74 (923da59) into main (b7a2049) will decrease coverage by 0.12%.
The diff coverage is 98.63%.

❗ Current head 923da59 differs from pull request most recent head bd4598d. Consider uploading reports for the commit bd4598d to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   99.58%   99.45%   -0.13%     
==========================================
  Files          17       19       +2     
  Lines         480      552      +72     
==========================================
+ Hits          478      549      +71     
- Misses          2        3       +1     
Flag Coverage Δ
unittests 99.45% <98.63%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_schema_validation.py 100.00% <ø> (ø)
inifix/validation.py 96.77% <90.90%> (-3.23%) ⬇️
inifix/__init__.py 100.00% <100.00%> (ø)
inifix/iniconf.py 100.00% <100.00%> (ø)
inifix/validate.py 100.00% <100.00%> (ø)
tests/test_file_validation.py 100.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 b7a2049...bd4598d. Read the comment docs.

@neutrinoceros
neutrinoceros force-pushed the validate_hook branch 5 times, most recently from 923da59 to 361074b Compare October 28, 2021 15:39
@neutrinoceros neutrinoceros added the enhancement New feature or request label Oct 28, 2021
@neutrinoceros
neutrinoceros marked this pull request as ready for review October 28, 2021 15:43
@neutrinoceros
neutrinoceros merged commit 2ff9a50 into main Oct 28, 2021
@neutrinoceros
neutrinoceros deleted the validate_hook branch October 28, 2021 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pre-commit-hook 1: file validator

1 participant