From 4719c8f94329a86bed1735f8f9f93a3ce291baff Mon Sep 17 00:00:00 2001 From: Ivan Ogasawara Date: Wed, 3 Jan 2024 20:38:01 -0400 Subject: [PATCH] fix pre-commit hook --- .pre-commit-config.yaml | 2 +- src/sugar/sugar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 738753d..bd9747e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: ruff-linter name: ruff-linter - entry: ruff check + entry: ruff check --fix language: system exclude: "docs/" pass_filenames: true diff --git a/src/sugar/sugar.py b/src/sugar/sugar.py index d0c4876..8e66c9c 100644 --- a/src/sugar/sugar.py +++ b/src/sugar/sugar.py @@ -132,7 +132,7 @@ def _filter_service_group(self): selected_group_name = default_group else: selected_group_name = self.args.get('service_group') - + # Verify if project-name is not null default_project_name = self.defaults.get('project-name', '') or ''