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

Reduce codefactor #487

Merged
merged 6 commits into from Jul 15, 2021
Merged

Reduce codefactor #487

merged 6 commits into from Jul 15, 2021

Conversation

JoranAngevaare
Copy link
Member

What is the problem / what does the code in this PR do
I'm getting very annoyed by codefactor lately, it's complaining about all kinds of places one has not even touched. Let's start with giving it less gunpowder and work from there.

Can you briefly describe how it works?
Remove todos and disable checks where they are just wrong.

@@ -353,7 +353,6 @@ def get_fwxm(hitlet, fraction=0.5):
lbi = (index_maximum - 1) - lbi # start sample minus samples we went to the left
m = data[lbi + 1] - lbs # divided by 1 sample
if m == 0:
# TODO No idea how this happened, we need to fix this
Copy link
Member Author

Choose a reason for hiding this comment

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

@WenzDaniel
Copy link
Collaborator

Code changes on purpose or some mixed up branches? If it is the former I have a closer look tomorrow.

Copy link
Collaborator

@WenzDaniel WenzDaniel left a comment

Choose a reason for hiding this comment

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

Looks nice thanks.

@JoranAngevaare JoranAngevaare merged commit e1b77aa into master Jul 15, 2021
@JoranAngevaare JoranAngevaare deleted the codefactor_cleanup branch August 1, 2021 06:48
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.

None yet

2 participants