OpenFreeEnergy / konnektor

Algorithms for various Network Layouts and Tooling for planning FE Calculations
https://konnektor.readthedocs.io/
MIT License
15 stars 4 forks source link

Refactoring Code for Network tool & Network Planner - Concatenators #40

Closed RiesBen closed 6 months ago

RiesBen commented 6 months ago

This PR does:

pep8speaks commented 6 months ago

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 41:80: E501 line too long (80 > 79 characters) 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 19:80: E501 line too long (106 > 79 characters) Line 30:80: E501 line too long (88 > 79 characters) Line 46:80: E501 line too long (144 > 79 characters) Line 48:80: E501 line too long (148 > 79 characters) Line 143:80: E501 line too long (83 > 79 characters) Line 150:80: E501 line too long (88 > 79 characters) Line 166:80: E501 line too long (144 > 79 characters) Line 168:80: E501 line too long (148 > 79 characters) Line 178:38: E251 unexpected spaces around keyword / parameter equals Line 178:40: E251 unexpected spaces around keyword / parameter equals

Line 12:5: E122 continuation line missing indentation or outdented

Line 16:5: E122 continuation line missing indentation or outdented

Line 29:5: E731 do not assign a lambda expression, use a def Line 55: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 (85 > 79 characters) Line 9:80: E501 line too long (100 > 79 characters) Line 12:1: E265 block comment should start with '# '

Line 8:80: E501 line too long (100 > 79 characters) Line 10:80: E501 line too long (89 > 79 characters)

Line 12:80: E501 line too long (128 > 79 characters) Line 13:80: E501 line too long (89 > 79 characters)

Line 9:80: E501 line too long (100 > 79 characters) Line 11:80: E501 line too long (89 > 79 characters)

Line 12:80: E501 line too long (128 > 79 characters) Line 13:80: E501 line too long (89 > 79 characters)

Line 5:80: E501 line too long (80 > 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:58:55 UTC
codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 76.19%. Comparing base (bd8f16c) to head (cfcdc27).

Files Patch % Lines
...work_planners/concatenators/cyclic_concatenator.py 0.00% 29 Missing :warning:
src/konnektor/network_tools/misc.py 88.88% 2 Missing :warning:
src/konnektor/tests/test_toy_data.py 92.30% 2 Missing :warning:
...ers/generators/two_dimensional_network_planners.py 66.66% 1 Missing :warning:
src/konnektor/utils/toy_data.py 96.29% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #40 +/- ## ========================================== + Coverage 71.75% 76.19% +4.43% ========================================== Files 58 62 +4 Lines 1703 1861 +158 ========================================== + Hits 1222 1418 +196 + Misses 481 443 -38 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

RiesBen commented 6 months ago

coverage will be increased here: #41