Skip to content

Commit 72604f4

Browse files
committed
Lint for continued line, fire.svg badge, and spelling fix.
PiperOrigin-RevId: 177869077 Change-Id: I2feed4959ce0842ef6152b7bfcf3539e9141b176 Reviewed-on: https://team-review.git.corp.google.com/172708 Reviewed-by: David Bieber <[email protected]>
1 parent fa57593 commit 72604f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Python Fire [![PyPI](https://img.shields.io/pypi/pyversions/Django.svg?style=plastic)](https://github.com/google/python-fire)
1+
# Python Fire [![PyPI](https://img.shields.io/pypi/pyversions/fire.svg?style=plastic)](https://github.com/google/python-fire)
22
_Python Fire is a library for automatically generating command line interfaces
33
(CLIs) from absolutely any Python object._
44

fire/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def main(argv):
3030
access a member of current component, call the current component (if it's a
3131
function), or instantiate the current component (if it's a class). The target
3232
component begins as Component, and at each operation the component becomes the
33-
result of the preceeding operation.
33+
result of the preceding operation.
3434
3535
For example "command fn arg1 arg2" might access the "fn" property of the initial
3636
target component, and then call that function with arguments 'arg1' and 'arg2'.
@@ -565,8 +565,8 @@ def _MakeParseFn(fn):
565565

566566
def _ParseFn(args):
567567
"""Parses the list of `args` into (varargs, kwargs), remaining_args."""
568-
kwargs, remaining_kwargs, remaining_args = \
569-
_ParseKeywordArgs(args, all_args, fn_spec.varkw)
568+
kwargs, remaining_kwargs, remaining_args = _ParseKeywordArgs(
569+
args, all_args, fn_spec.varkw)
570570

571571
# Note: _ParseArgs modifies kwargs.
572572
parsed_args, kwargs, remaining_args, capacity = _ParseArgs(

0 commit comments

Comments
 (0)