Skip to content

Commit

Permalink
style: fix FIX002
Browse files Browse the repository at this point in the history
  • Loading branch information
christiansiegel committed Nov 8, 2023
1 parent 7db62da commit 0933eb7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gitopscli/appconfig_api/app_tenant_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __set_dirty(self) -> None:

def __generate_config_from_tenant_repo(
tenant_repo: GitRepo,
) -> Any: # TODO: supposed to be ruamel object than Any # noqa: FIX002
) -> Any:
tenant_app_dirs = __get_all_tenant_applications_dirs(tenant_repo)
tenant_config_template = f"""
config:
Expand Down
14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ ignore = [
"ANN101", # https://docs.astral.sh/ruff/rules/missing-type-self/
"ANN401", # https://docs.astral.sh/ruff/rules/any-type/
"C901", # https://docs.astral.sh/ruff/rules/complex-structure/
"PLR0913", # ignore complexity
"D",
"COM812",
"ISC001",
"EM101",
"EM102",
"S101",
"TD",
"PLR0913", # https://docs.astral.sh/ruff/rules/too-many-arguments/
"D", # https://docs.astral.sh/ruff/rules/#pydocstyle-d
"COM812", # https://docs.astral.sh/ruff/rules/missing-trailing-comma/ (clashes with formatter)
"EM101", # https://docs.astral.sh/ruff/rules/raw-string-in-exception/
"EM102", # https://docs.astral.sh/ruff/rules/f-string-in-exception/
"S101", # https://docs.astral.sh/ruff/rules/assert/
"TRY003",
"PD", # false positives; not using Pandas
]
Expand Down

0 comments on commit 0933eb7

Please sign in to comment.