From f454042d3fc02e0435effd58794a53e4443a6b65 Mon Sep 17 00:00:00 2001 From: "jimms.hsieh" Date: Tue, 6 Oct 2020 11:34:13 -0700 Subject: [PATCH 1/2] Fix typo and remove missing argument in comment --- rich/console.py | 2 +- rich/syntax.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/rich/console.py b/rich/console.py index bf87522f..10873637 100644 --- a/rich/console.py +++ b/rich/console.py @@ -1413,7 +1413,7 @@ if __name__ == "__main__": # pragma: no cover "options": [ "New York Bulls", "Los Angeles Kings", - "Golden State Warriros", + "Golden State Warriors", "Huston Rocket", ], "answer": "Huston Rocket", diff --git a/rich/syntax.py b/rich/syntax.py index 48940209..8055730c 100644 --- a/rich/syntax.py +++ b/rich/syntax.py @@ -271,7 +271,6 @@ class Syntax(JupyterMixin): Args: path (str): Path to file to highlight. encoding (str): Encoding of file. - lexer_name (str): Lexer to use (see https://pygments.org/docs/lexers/) theme (str, optional): Color theme, aka Pygments style (see https://pygments.org/docs/styles/#getting-a-list-of-available-styles). Defaults to "emacs". dedent (bool, optional): Enable stripping of initial whitespace. Defaults to True. line_numbers (bool, optional): Enable rendering of line numbers. Defaults to False. From 95b6a3a4f467af2b0b70fa17e358660190d65f3a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2020 05:53:39 +0000 Subject: [PATCH 2/2] Bump poetry from 1.1.1 to 1.1.2 Bumps [poetry](https://github.com/python-poetry/poetry) from 1.1.1 to 1.1.2. - [Release notes](https://github.com/python-poetry/poetry/releases) - [Changelog](https://github.com/python-poetry/poetry/blob/1.1.2/CHANGELOG.md) - [Commits](https://github.com/python-poetry/poetry/compare/1.1.1...1.1.2) Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 36569ecb..13c9aa00 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ black==20.8b1 mypy==0.782 -poetry==1.1.1 +poetry==1.1.2 pytest==6.1.1 pytest-cov==2.10.1