mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Fix yesqa hook (#7843)
* fix yesqa hook * Remove redundant noqa * updating DIRECTORY.md Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -80,7 +80,7 @@ def basic(target: str, genes: list[str], debug: bool = True) -> tuple[int, int,
|
||||
score = len(
|
||||
[g for position, g in enumerate(item) if g == main_target[position]]
|
||||
)
|
||||
return (item, float(score)) # noqa: B023
|
||||
return (item, float(score))
|
||||
|
||||
# Adding a bit of concurrency can make everything faster,
|
||||
#
|
||||
|
Reference in New Issue
Block a user