Skip to content

Commit

Permalink
chore(deps): Bump click from 8.1.3 to 8.1.4 (#1816)
Browse files Browse the repository at this point in the history
* chore(deps): Bump click from 8.1.3 to 8.1.4

Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.4.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.1.3...8.1.4)

---
updated-dependencies:
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Address mypy errors

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
dependabot[bot] and edgarrmondragon authored Jul 7, 2023
1 parent 2ba140b commit 5bc4c57
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

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

16 changes: 11 additions & 5 deletions singer_sdk/cli/common_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,43 @@

from __future__ import annotations

import typing as t

import click

PLUGIN_VERSION = click.option(
if t.TYPE_CHECKING:
from click.decorators import _Decorator


PLUGIN_VERSION: _Decorator = click.option(
"--version",
is_flag=True,
help="Display the package version.",
)

PLUGIN_ABOUT = click.option(
PLUGIN_ABOUT: _Decorator = click.option(
"--about",
is_flag=True,
help="Display package metadata and settings.",
)

PLUGIN_ABOUT_FORMAT = click.option(
PLUGIN_ABOUT_FORMAT: _Decorator = click.option(
"--format",
"about_format",
help="Specify output style for --about",
type=click.Choice(["json", "markdown"], case_sensitive=False),
default=None,
)

PLUGIN_CONFIG = click.option(
PLUGIN_CONFIG: _Decorator = click.option(
"--config",
multiple=True,
help="Configuration file location or 'ENV' to use environment variables.",
type=click.STRING,
default=(),
)

PLUGIN_FILE_INPUT = click.option(
PLUGIN_FILE_INPUT: _Decorator = click.option(
"--input",
"file_input",
help="A path to read messages from instead of from standard in.",
Expand Down

0 comments on commit 5bc4c57

Please sign in to comment.