Skip to content

Commit

Permalink
Merge pull request #95 from jedie/applied_migrations
Browse files Browse the repository at this point in the history
apply migrations
  • Loading branch information
jedie authored Sep 24, 2023
2 parents dccc07e + d5079cd commit 7144fe2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
*.egg-info
__pycache__
/dist/
/coverage.json
/coverage.xml
/coverage.*

!.github
!.editorconfig
Expand Down
2 changes: 1 addition & 1 deletion cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion dev-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
9 changes: 8 additions & 1 deletion manageprojects/cli/cli_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7144fe2

Please sign in to comment.