Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
chore: update README for 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BD103 committed Nov 16, 2021
1 parent 39d56ba commit 09deaa4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ Whether to allow [Rich's console markup](https://rich.readthedocs.io/en/latest/m

An example of console markup is `[blue]Hello[/blue], world!`.

#### `RICH_TRACEBACK: bool = True`

Whether to use [Rich's traceback](https://rich.readthedocs.io/en/latest/traceback.html) handler.

#### `RICH_TRACEBACK_EXTRA_LINES: int = 1`

When Rich prints the lines of code which raised the error, how many lines around it does it print as well. In the library it defaults to 3, but 1 is better for web applications.

#### `RICH_TRACEBACK_SHOW_LOCALS: bool = False`

Whether to print the local variables with traceback.

## Contributing

PRs are welcome! You can setup your own copy of the source code with:
Expand Down

0 comments on commit 09deaa4

Please sign in to comment.