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

Unittests network tool & Concatenator refactor #41

Merged
merged 13 commits into from
May 10, 2024

Conversation

RiesBen
Copy link
Contributor

@RiesBen RiesBen commented May 10, 2024

adding unit test coverage to network_tools and concatenator Refactor

@pep8speaks
Copy link

pep8speaks commented May 10, 2024

Hello @RiesBen! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 66:9: E125 continuation line with same indent as next logical line

Line 51:9: E125 continuation line with same indent as next logical line

Line 43:9: E125 continuation line with same indent as next logical line

Line 45:9: E125 continuation line with same indent as next logical line

Line 56:80: E501 line too long (84 > 79 characters)

Line 66:11: E271 multiple spaces after keyword
Line 67:64: E202 whitespace before ')'

Line 29:5: E731 do not assign a lambda expression, use a def

Line 30:32: W292 no newline at end of file

Line 7:80: E501 line too long (83 > 79 characters)
Line 9:80: E501 line too long (100 > 79 characters)
Line 12:1: E265 block comment should start with '# '
Line 26:46: W292 no newline at end of file

Line 5:80: E501 line too long (80 > 79 characters)

Line 17:80: E501 line too long (81 > 79 characters)
Line 49:80: E501 line too long (91 > 79 characters)

Line 2:80: E501 line too long (80 > 79 characters)

Line 6:80: E501 line too long (82 > 79 characters)
Line 112:80: E501 line too long (104 > 79 characters)
Line 114:80: E501 line too long (80 > 79 characters)

Line 102:80: E501 line too long (80 > 79 characters)
Line 149:5: E125 continuation line with same indent as next logical line
Line 192:80: E501 line too long (83 > 79 characters)

Comment last updated at 2024-05-10 12:26:22 UTC

Copy link

codecov bot commented May 10, 2024

Codecov Report

Attention: Patch coverage is 94.71947% with 16 lines in your changes are missing coverage. Please review.

Project coverage is 76.14%. Comparing base (bd8f16c) to head (a7329be).

Files Patch % Lines
...twork_planners/concatenator/cyclic_concatenator.py 0.00% 9 Missing ⚠️
src/konnektor/network_tools/misc.py 89.47% 2 Missing ⚠️
src/konnektor/tests/test_toy_data.py 92.30% 2 Missing ⚠️
...ers/generators/two_dimensional_network_planners.py 50.00% 1 Missing ⚠️
src/konnektor/network_tools/merge.py 87.50% 1 Missing ⚠️
src/konnektor/utils/toy_data.py 96.29% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   71.75%   76.14%   +4.38%     
==========================================
  Files          58       64       +6     
  Lines        1703     1899     +196     
==========================================
+ Hits         1222     1446     +224     
+ Misses        481      453      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiesBen RiesBen changed the title Unittests network tool Unittests network tool & Concatenator refactor May 10, 2024
@RiesBen RiesBen changed the base branch from main to network_tool May 10, 2024 12:25
@RiesBen RiesBen merged commit 8f60ca8 into network_tool May 10, 2024
@RiesBen RiesBen deleted the unittests_network_tool branch May 10, 2024 12:27
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.

2 participants