Skip to content

Commit 8eb6aa5

Browse files
committed
Clean up formatting in test and guide.
Copybara generated commit for Python Fire. PiperOrigin-RevId: 152732270 Change-Id: Ib76f3c41cbd4a262232bd09cb786480c5e781db5 Reviewed-on: https://team-review.git.corp.google.com/67886 Reviewed-by: David Bieber <[email protected]>
1 parent c1f045d commit 8eb6aa5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/guide.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,13 @@ The complete set of flags available is shown below, in the reference section.
699699

700700
| Using a CLI | Command | Notes
701701
| :------------- | :------------------------- | :---------
702-
| [Help](using-cli.md#help-flag) | `command -- --help` |Show help and usage information for the command.
702+
| [Help](using-cli.md#help-flag) | `command -- --help` | Show help and usage information for the command.
703703
| [REPL](using-cli.md#interactive-flag) | `command -- --interactive` | Enter interactive mode.
704704
| [Separator](using-cli.md#separator-flag) | `command -- --separator=X` | This sets the separator to `X`. The default separator is `-`.
705705
| [Completion](using-cli.md#completion-flag) | `command -- --completion` | Generate a completion script for the CLI.
706706
| [Trace](using-cli.md#trace-flag) | `command -- --trace` | Gets a Fire trace for the command.
707707
| [Verbose](using-cli.md#verbose-flag) | `command -- --verbose` | Include private members in the output.
708+
708709
_Note that flags are separated from the Fire command by an isolated `--` arg._
709710

710711

fire/core_test.py

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def testOneLineResult(self):
3333
self.assertEqual(core._OneLineResult({}), '{}') # pylint: disable=protected-access
3434
self.assertEqual(core._OneLineResult({'x': 'y'}), '{"x": "y"}') # pylint: disable=protected-access
3535

36-
3736
def testOneLineResultCircularRef(self):
3837
circular_reference = tc.CircularReference()
3938
self.assertEqual(core._OneLineResult(circular_reference.create()), # pylint: disable=protected-access

0 commit comments

Comments
 (0)