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

test: Added unittest to ensure headers are correct #556

Merged
merged 1 commit into from
Oct 29, 2021
Merged

Conversation

fg-mindee
Copy link
Contributor

This PR adds a test to ensure that all core python files include a proper header.

Any feedback is welcome!

@fg-mindee fg-mindee added the ext: tests Related to tests folder label Oct 28, 2021
@fg-mindee fg-mindee added this to the 0.4.1 milestone Oct 28, 2021
@fg-mindee fg-mindee self-assigned this Oct 28, 2021
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #556 (4b3525f) into main (c356d9e) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #556      +/-   ##
==========================================
+ Coverage   95.98%   96.00%   +0.02%     
==========================================
  Files         109      109              
  Lines        4180     4180              
==========================================
+ Hits         4012     4013       +1     
+ Misses        168      167       -1     
Flag Coverage Δ
unittests 96.00% <ø> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
...dels/detection/differentiable_binarization/base.py 91.82% <0.00%> (+0.62%) ⬆️

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 c356d9e...4b3525f. Read the comment docs.

Copy link
Collaborator

@charlesmindee charlesmindee left a comment

Choose a reason for hiding this comment

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

Thanks!

@fg-mindee fg-mindee merged commit a8fc234 into main Oct 29, 2021
@fg-mindee fg-mindee deleted the header-check branch October 29, 2021 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext: tests Related to tests folder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants