From 2e797a774e9f8037b79397ca14491e31ae125ffa Mon Sep 17 00:00:00 2001 From: Wibowo Arindrarto Date: Fri, 6 Oct 2023 19:56:35 +0200 Subject: [PATCH] chore: Fix linter error --- Makefile | 4 ++-- crimson/fastqc.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6a6319a..7cb725b 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ env: ## Configure a local development setup. .PHONY: fmt fmt: ## Apply Black. - poetry run black -t py311 . + poetry run black -t py312 . .PHONY: help @@ -144,7 +144,7 @@ lint-types: ## Lint the type hints. .PHONY: lint-style lint-style: ## Lint style conventions. - poetry run flake8 --statistics crimson tests && poetry run black -t py311 --check . + poetry run flake8 --statistics crimson tests && poetry run black -t py312 --check . .PHONY: lint-metrics diff --git a/crimson/fastqc.py b/crimson/fastqc.py index 43b07c8..9d6ba71 100644 --- a/crimson/fastqc.py +++ b/crimson/fastqc.py @@ -156,7 +156,6 @@ def __init__( attr = "" read_size = self._max_line_size while read_size <= max_size: - tokens = line.strip().split("\t") # break on EOF if not line: