Skip to content

Conversation

@cadenmyers13
Copy link
Contributor

@cadenmyers13 cadenmyers13 commented Jul 29, 2024

This branch passes all tests

@cadenmyers13 cadenmyers13 changed the title Flake8 v3 Flake8v3 Jul 29, 2024
Copy link
Contributor

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

please see the inline comment. Most of these lamdas -> functions should be private actually, if you could quickly refactor them all.

self.fillList()
return

def create_filename_order(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you wrapping this in a function? It doesn't seem like it needs to be.

self.filename_order = dict(zip(filenames, range(len(filenames))))
return

def filename_sortkey(self, tf):
Copy link
Contributor

Choose a reason for hiding this comment

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

when we do turn lambdas into functions, mostly they should be private functions (just put an underscore at the beginning of the name).

@sbillinge
Copy link
Contributor

closing. Fixed by #141 and #142

@sbillinge sbillinge closed this Jul 31, 2024
@cadenmyers13 cadenmyers13 deleted the flake8v3fix branch July 31, 2024 16:20
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