Skip to content

Commit

Permalink
fix: Add new lint test to lint config pydantic model
Browse files Browse the repository at this point in the history
  • Loading branch information
awgymer committed Jan 22, 2025
1 parent 3dd2e00 commit 262dea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipelines/lint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from nf_core import __version__
from nf_core.components.lint import ComponentLint
from nf_core.pipelines.lint_utils import console
from nf_core.utils import NFCoreYamlConfig, NFCoreYamlLintConfig, strip_ansi_codes
from nf_core.utils import NFCoreYamlLintConfig, strip_ansi_codes
from nf_core.utils import plural_s as _s

from .actions_awsfulltest import actions_awsfulltest
Expand Down
2 changes: 2 additions & 0 deletions nf_core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,8 @@ class NFCoreYamlLintConfig(BaseModel):
""" Lint for version consistency """
included_configs: Optional[bool] = None
""" Lint for included configs """
local_component_structure: Optional[bool] = None
""" Lint local components use correct structure mirroring remote"""

def __getitem__(self, item: str) -> Any:
return getattr(self, item)
Expand Down

0 comments on commit 262dea3

Please sign in to comment.