diff --git a/pyproject.toml b/pyproject.toml index c74d20c..9541b21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,12 @@ ruff = "^0.4.9" # Set the maximum line length to 79. line-length = 79 +[tool.ruff.lint] +select = [ + # flake8 + "W", +] + [tool.pytest.ini_options] addopts = [ "--import-mode=importlib", diff --git a/src/npg_notify/porch_wrapper/qc_state.py b/src/npg_notify/porch_wrapper/qc_state.py index b71f569..f5937c0 100644 --- a/src/npg_notify/porch_wrapper/qc_state.py +++ b/src/npg_notify/porch_wrapper/qc_state.py @@ -240,7 +240,7 @@ def process_task(conf_file_path) -> bool: product_id = claimed_task["task_input"]["id_product"] try: url = re.sub( - "\[\w+\]", + r"\[\w+\]", product_id, pac_bio_well_libraries_path, )