Closed kr-2003 closed 9 months ago
Hello @kr-2003! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
@matteobachetti Kindly review this PR.
@kr-2003 could you post a screenshot of the new logger in action?
Attention: 2 lines
in your changes are missing coverage. Please review.
Comparison is base (
5285c23
) 96.35% compared to head (004f1ae
) 94.37%.
Files | Patch % | Lines |
---|---|---|
stingray/filters.py | 66.66% | 1 Missing :warning: |
stingray/pulse/accelsearch.py | 85.71% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@matteobachetti Most of the changes were related to logging.info
.
@kr-2003 thanks for your contribution! Please note that there are tests failing related to the absence of a changelog (in towncrier
format) and the formatting of files (using black
). Please review the contribution workflow at https://docs.stingray.science/en/latest/contributing.html#contribution-workflow
@matteobachetti I passed the tests related to towncrier
and black
. Now CI Tests / ci-tests (Slow tests on Linux, Py3.11, all deps and coverage, ubuntu-latest, 3.11, py311-test-all... (pull_request) Failing after 10m
and codecov/project — 94.37% (-1.98%) compared to 5285c23
are failing.
Actually logger.info
is not getting coverage in two files.
Encapsulated the logging setup in a function in a separate file(loggingconfig.py), then called this function from different files where logging is needed.