Skip to content

Commit

Permalink
more type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Oct 21, 2024
1 parent e743185 commit 58869a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nf_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ class NFCoreYamlLintConfig(BaseModel):
nfcore_components: False
"""

files_unchanged: List[str] = []
files_unchanged: Union[bool, List[str]] = []
""" List of files that should not be changed """
modules_config: Optional[Union[bool, List[str]]] = []
""" List of modules that should not be changed """
Expand All @@ -1131,7 +1131,7 @@ class NFCoreYamlLintConfig(BaseModel):
""" List of Nextflow config files that should not be changed """
multiqc_config: Union[bool, List[str]] = []
""" List of MultiQC config options that be changed """
files_exist: List[str] = []
files_exist: Union[bool, List[str]] = []
""" List of files that can not exist """
template_strings: Optional[Union[bool, List[str]]] = []
""" List of files that can contain template strings """
Expand Down

0 comments on commit 58869a1

Please sign in to comment.