Skip to content

Commit

Permalink
Bump version: 0.7.0 → 0.7.1
Browse files Browse the repository at this point in the history
Changed the `FetchData` class parameters from positional argument
to keyword arguments
  • Loading branch information
arzkar committed May 11, 2022
1 parent 317e85b commit 3e2dc36
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.0
current_version = 0.7.1
commit = True
tag = False
parse = ^
Expand Down
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ dmypy.json
# Pyre type checker
.pyre/

# extras
urls.*
urls
# project-extras
*.txt
*.sqlite
*.json
2 changes: 1 addition & 1 deletion fichub_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.0"
__version__ = "0.7.1"
14 changes: 8 additions & 6 deletions fichub_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,20 @@ def default(

format_type = get_format_type(format)
if infile:
fic = FetchData(format_type, out_dir, force, debug, changelog,
automated, verbose)
fic = FetchData(format_type=format_type, out_dir=out_dir, force=force,
debug=debug, changelog=changelog,
automated=automated, verbose=verbose)
fic.get_fic_with_infile(infile)

elif list_url:
fic = FetchData(format_type, out_dir, force, debug, changelog,
automated, verbose)
fic = FetchData(format_type=format_type, out_dir=out_dir, force=force,
debug=debug, changelog=changelog,
automated=automated, verbose=verbose)
fic.get_fic_with_list(list_url)

elif url:
fic = FetchData(format_type, out_dir, force,
debug, automated, verbose)
fic = FetchData(format_type=format_type, out_dir=out_dir, force=force,
debug=debug, automated=automated, verbose=verbose)
fic.get_fic_with_url(url)

if version:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
description="A CLI for the fichub.net API",
long_description=long_description,
long_description_content_type="text/markdown",
version="0.7.0",
version="0.7.1",
license='Apache License',
url="https://github.com/FicHub/fichub-cli",
packages=find_packages(include=['fichub_cli', 'fichub_cli.*']),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def test_cli_version():

assert not result.exception
assert result.exit_code == 0
assert result.output.strip() == 'fichub-cli: v0.7.0'
assert result.output.strip() == 'fichub-cli: v0.7.1'

0 comments on commit 3e2dc36

Please sign in to comment.