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:
Andrey
2022-10-29 16:07:02 +03:00
committed by GitHub
parent 18ffc4dec8
commit 584e743422
6 changed files with 14 additions and 9 deletions

View File

@ -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,
#