Skip to content

Commit

Permalink
update dependencies and revert click workaround
Browse files Browse the repository at this point in the history
Why these changes are being introduced:
* In PR #91, while updating dependencies, `click` and `mypy` had a conflict.
* A temporary workaround was put into place that reordered the `click` decorators, but this deviated from other projects.
* Now that `click` has updated again, that workaround is no longer needed.

How this addresses that need:
* Reverting the order of `click` decorators re-aligns with other projects.
* Dependencies are updated.

Side effects of this change:
* None

Relevant ticket(s):
* None
  • Loading branch information
ghukill committed Jul 18, 2023
1 parent a4f3263 commit 7254a08
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
118 changes: 59 additions & 59 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion transmogrifier/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
logger = logging.getLogger(__name__)


@click.command()
@click.option(
"-i",
"--input-file",
Expand All @@ -41,7 +42,6 @@
@click.option(
"-v", "--verbose", is_flag=True, help="Pass to log at debug level instead of info"
)
@click.command()
def main(source, input_file, output_file, verbose):
START_TIME = perf_counter()
root_logger = logging.getLogger()
Expand Down

0 comments on commit 7254a08

Please sign in to comment.