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 ''