Skip to content

Commit

Permalink
Enabled flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcam committed Jul 19, 2024
1 parent dee0716 commit c78bc0f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/npg_notify/porch_wrapper/qc_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit c78bc0f

Please sign in to comment.