Skip to content

Commit

Permalink
Disable mccabe on LegacyDbtProject
Browse files Browse the repository at this point in the history
  • Loading branch information
joppevos committed Dec 3, 2023
1 parent 4767885 commit 9b156b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cosmos/dbt/parser/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ class LegacyDbtProject:

operator_args: Dict[str, Any] = field(default_factory=dict)

def __post_init__(self) -> None:
def __post_init__(self) -> None: # noqa: C901
"""
Initializes the parser.
"""
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ line-length = 120
[tool.ruff.lint]
select = ["C901"]
[tool.ruff.lint.mccabe]
max-complexity = 8


[tool.distutils.bdist_wheel]
Expand Down

0 comments on commit 9b156b3

Please sign in to comment.