Skip to content

Commit

Permalink
fix: backend is required
Browse files Browse the repository at this point in the history
  • Loading branch information
bakhtos committed Jun 20, 2024
1 parent 8c77786 commit 5e23a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mison/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def main():
commit.add_argument('--import_mapping_func', type=str, required=False, default='microservice_mapping',
help='Name of function defining a microservice mapping to import from file '
"given by '--import_mapping_file'")
backend = commit.add_argument('--backend', choices=['pydriller', 'github'], help='Available backends for commit mining')
commit.add_argument('--backend', choices=['pydriller', 'github'], required=True, help='Available backends for commit mining')

# Filters for PyDriller
pydriller = commit.add_argument_group('PyDriller backend parameters', 'Parameters for mining commits with PyDriller backend')
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mison"
version = "1.0.0"
version = "1.0.1"
authors = [
{name = "Alexander Bakhtin", email = "[email protected]"}]
description = "MIcroService Organisational Network mining"
Expand Down

0 comments on commit 5e23a9a

Please sign in to comment.