Skip to content

Commit

Permalink
Add git_commit_id option to config-file parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
vanschelven committed Jan 4, 2022
1 parent 7674a51 commit a8d19ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ def handle(self, *args, **options):
logging.basicConfig(format="%(message)s")

keys = (
"git_commit_id",
"ignore_name_contains",
"ignore_name",
"include_name_contains",
Expand Down Expand Up @@ -208,7 +209,7 @@ def handle(self, *args, **options):
linter.lint_all_migrations(
app_label=options["app_label"],
migration_name=options["migration_name"],
git_commit_id=options["git_commit_id"],
git_commit_id=config["git_commit_id"],
migrations_file_path=options["include_migrations_from"],
)
linter.print_summary()
Expand Down

0 comments on commit a8d19ad

Please sign in to comment.