From f96989905e18682ebcd510157c6225f72abf38bc Mon Sep 17 00:00:00 2001 From: willtyler Date: Wed, 6 Nov 2024 18:23:53 +0000 Subject: [PATCH] Fix ruff error --- vcztools/vcf_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcztools/vcf_writer.py b/vcztools/vcf_writer.py index 47b82b0..0240939 100644 --- a/vcztools/vcf_writer.py +++ b/vcztools/vcf_writer.py @@ -307,7 +307,7 @@ def c_chunk_to_vcf( *, drop_genotypes, no_update, - preceding_future: Optional[concurrent.futures.Future] = None, + preceding_future: concurrent.futures.Future | None = None, ): chrom = contigs[get_vchunk_array(root.variant_contig, v_chunk, v_mask_chunk)] # TODO check we don't truncate silently by doing this