From eed9f879a8398a0a5033be2afe96627c3e975a45 Mon Sep 17 00:00:00 2001 From: kedhammar Date: Wed, 10 Jan 2024 15:50:23 +0100 Subject: [PATCH] document dev requirements and tweak formatting --- anglerfish/demux/report.py | 2 +- requirements-dev-conda.txt | 2 ++ requirements-dev-pip.txt | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 requirements-dev-conda.txt create mode 100644 requirements-dev-pip.txt diff --git a/anglerfish/demux/report.py b/anglerfish/demux/report.py index cb70cce..03dba2c 100644 --- a/anglerfish/demux/report.py +++ b/anglerfish/demux/report.py @@ -150,7 +150,7 @@ class SampleStat: std_read_len: float i7_reversed: bool i5_reversed: bool - ont_barcode: str|None = None + ont_barcode: str | None = None header: ClassVar[list] = [ "sample_name", "#reads", # We specify this for historical reasons diff --git a/requirements-dev-conda.txt b/requirements-dev-conda.txt new file mode 100644 index 0000000..1a04d6a --- /dev/null +++ b/requirements-dev-conda.txt @@ -0,0 +1,2 @@ +conda-forge::pre-commit +conda-forge::prettier diff --git a/requirements-dev-pip.txt b/requirements-dev-pip.txt new file mode 100644 index 0000000..faed137 --- /dev/null +++ b/requirements-dev-pip.txt @@ -0,0 +1,3 @@ +ruff +mypy +editorconfig-checker