From d5079cdb7599f979b1115992f815fbcb8907b573 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sun, 24 Sep 2023 11:21:50 +0200 Subject: [PATCH] apply migrations --- .gitignore | 3 +-- cli.py | 2 +- dev-cli.py | 2 +- manageprojects/cli/cli_app.py | 9 ++++++++- pyproject.toml | 1 + 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7ce4683..202bedb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,7 @@ *.egg-info __pycache__ /dist/ -/coverage.json -/coverage.xml +/coverage.* !.github !.editorconfig diff --git a/cli.py b/cli.py index b39354d..4043912 100755 --- a/cli.py +++ b/cli.py @@ -106,7 +106,7 @@ def main(argv): # Call our entry point CLI: try: - verbose_check_call(PROJECT_SHELL_SCRIPT, *sys.argv[1:]) + verbose_check_call(PROJECT_SHELL_SCRIPT, *argv[1:]) except subprocess.CalledProcessError as err: sys.exit(err.returncode) diff --git a/dev-cli.py b/dev-cli.py index 903bdc1..3449618 100755 --- a/dev-cli.py +++ b/dev-cli.py @@ -106,7 +106,7 @@ def main(argv): # Call our entry point CLI: try: - verbose_check_call(PROJECT_SHELL_SCRIPT, *sys.argv[1:]) + verbose_check_call(PROJECT_SHELL_SCRIPT, *argv[1:]) except subprocess.CalledProcessError as err: sys.exit(err.returncode) diff --git a/manageprojects/cli/cli_app.py b/manageprojects/cli/cli_app.py index ba38ed0..36c8de5 100644 --- a/manageprojects/cli/cli_app.py +++ b/manageprojects/cli/cli_app.py @@ -45,7 +45,14 @@ type=click.Path(exists=True, file_okay=False, dir_okay=True, readable=True, path_type=Path) ) ARGUMENT_NOT_EXISTING_DIR = dict( - type=click.Path(exists=False, file_okay=False, dir_okay=True, readable=False, writable=True, path_type=Path) + type=click.Path( + exists=False, + file_okay=False, + dir_okay=True, + readable=False, + writable=True, + path_type=Path, + ) ) ARGUMENT_EXISTING_FILE = dict( type=click.Path(exists=True, file_okay=True, dir_okay=False, readable=True, path_type=Path) diff --git a/pyproject.toml b/pyproject.toml index c9a9bb3..dff6902 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -162,6 +162,7 @@ applied_migrations = [ "39b7eab", # 2023-04-10T18:48:00+02:00 "034be26", # 2023-08-05T21:37:12+02:00 "8d0ebe1", # 2023-08-17T18:15:10+02:00 + "be3f649", # 2023-08-22T19:36:57+02:00 ] [manageprojects.cookiecutter_context.cookiecutter]