Skip to content

Commit

Permalink
Fix typos in __main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed May 2, 2022
1 parent 0cc850b commit 9cc1ae2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject_parser/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def options(c: _C) -> _C:
parser_class_option = auto_default_option(
"-P",
"--parser-class",
default=click.STRING,
type=click.STRING,
help="The class to parse the 'pyproject.toml' file with.",
show_default=True,
)
Expand Down Expand Up @@ -137,13 +137,13 @@ def error_on_unknown(
error_on_unknown(raw_config.get("project", {}).keys(), {*PEP621Parser.keys, "dynamic"}, "project")


@options
@colour_option()
@flag_option("-d", "--show-diff", help="Show a (coloured) diff of changes.")
@options
@auto_default_option(
"-E",
"--encoder-class",
default=click.STRING,
type=click.STRING,
help="The class to encode the config to TOML with.",
show_default=True,
)
Expand Down

0 comments on commit 9cc1ae2

Please sign in to comment.