diff options
author | ilezhankin <ilezhankin@yandex-team.ru> | 2022-02-10 16:45:55 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:55 +0300 |
commit | 1d125034f06575234f83f24f08677955133f140e (patch) | |
tree | ec05fbbd61dc118d5de37f206ab978cff58774bd /contrib/python/Pygments/py3/pygments/styles | |
parent | 3a7a498715ef1b66f5054455421b845e45e3a653 (diff) | |
download | ydb-1d125034f06575234f83f24f08677955133f140e.tar.gz |
Restoring authorship annotation for <ilezhankin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/Pygments/py3/pygments/styles')
28 files changed, 1947 insertions, 1947 deletions
diff --git a/contrib/python/Pygments/py3/pygments/styles/__init__.py b/contrib/python/Pygments/py3/pygments/styles/__init__.py index d75de1a521..c844c1bf21 100644 --- a/contrib/python/Pygments/py3/pygments/styles/__init__.py +++ b/contrib/python/Pygments/py3/pygments/styles/__init__.py @@ -1,47 +1,47 @@ -""" - pygments.styles - ~~~~~~~~~~~~~~~ - - Contains built-in styles. - +""" + pygments.styles + ~~~~~~~~~~~~~~~ + + Contains built-in styles. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.plugin import find_plugin_styles -from pygments.util import ClassNotFound - - -#: Maps style names to 'submodule::classname'. -STYLE_MAP = { - 'default': 'default::DefaultStyle', - 'emacs': 'emacs::EmacsStyle', - 'friendly': 'friendly::FriendlyStyle', + :license: BSD, see LICENSE for details. +""" + +from pygments.plugin import find_plugin_styles +from pygments.util import ClassNotFound + + +#: Maps style names to 'submodule::classname'. +STYLE_MAP = { + 'default': 'default::DefaultStyle', + 'emacs': 'emacs::EmacsStyle', + 'friendly': 'friendly::FriendlyStyle', 'friendly_grayscale': 'friendly_grayscale::FriendlyGrayscaleStyle', - 'colorful': 'colorful::ColorfulStyle', - 'autumn': 'autumn::AutumnStyle', - 'murphy': 'murphy::MurphyStyle', - 'manni': 'manni::ManniStyle', + 'colorful': 'colorful::ColorfulStyle', + 'autumn': 'autumn::AutumnStyle', + 'murphy': 'murphy::MurphyStyle', + 'manni': 'manni::ManniStyle', 'material': 'material::MaterialStyle', - 'monokai': 'monokai::MonokaiStyle', - 'perldoc': 'perldoc::PerldocStyle', - 'pastie': 'pastie::PastieStyle', - 'borland': 'borland::BorlandStyle', - 'trac': 'trac::TracStyle', - 'native': 'native::NativeStyle', - 'fruity': 'fruity::FruityStyle', - 'bw': 'bw::BlackWhiteStyle', - 'vim': 'vim::VimStyle', - 'vs': 'vs::VisualStudioStyle', - 'tango': 'tango::TangoStyle', - 'rrt': 'rrt::RrtStyle', - 'xcode': 'xcode::XcodeStyle', - 'igor': 'igor::IgorStyle', - 'paraiso-light': 'paraiso_light::ParaisoLightStyle', - 'paraiso-dark': 'paraiso_dark::ParaisoDarkStyle', - 'lovelace': 'lovelace::LovelaceStyle', - 'algol': 'algol::AlgolStyle', - 'algol_nu': 'algol_nu::Algol_NuStyle', + 'monokai': 'monokai::MonokaiStyle', + 'perldoc': 'perldoc::PerldocStyle', + 'pastie': 'pastie::PastieStyle', + 'borland': 'borland::BorlandStyle', + 'trac': 'trac::TracStyle', + 'native': 'native::NativeStyle', + 'fruity': 'fruity::FruityStyle', + 'bw': 'bw::BlackWhiteStyle', + 'vim': 'vim::VimStyle', + 'vs': 'vs::VisualStudioStyle', + 'tango': 'tango::TangoStyle', + 'rrt': 'rrt::RrtStyle', + 'xcode': 'xcode::XcodeStyle', + 'igor': 'igor::IgorStyle', + 'paraiso-light': 'paraiso_light::ParaisoLightStyle', + 'paraiso-dark': 'paraiso_dark::ParaisoDarkStyle', + 'lovelace': 'lovelace::LovelaceStyle', + 'algol': 'algol::AlgolStyle', + 'algol_nu': 'algol_nu::Algol_NuStyle', 'arduino': 'arduino::ArduinoStyle', 'rainbow_dash': 'rainbow_dash::RainbowDashStyle', 'abap': 'abap::AbapStyle', @@ -58,36 +58,36 @@ STYLE_MAP = { 'dracula': 'dracula::DraculaStyle', 'one-dark': 'onedark::OneDarkStyle', 'lilypond' : 'lilypond::LilyPondStyle', -} - - -def get_style_by_name(name): - if name in STYLE_MAP: - mod, cls = STYLE_MAP[name].split('::') - builtin = "yes" - else: - for found_name, style in find_plugin_styles(): - if name == found_name: - return style - # perhaps it got dropped into our styles package - builtin = "" - mod = name - cls = name.title() + "Style" - - try: - mod = __import__('pygments.styles.' + mod, None, None, [cls]) - except ImportError: - raise ClassNotFound("Could not find style module %r" % mod + - (builtin and ", though it should be builtin") + ".") - try: - return getattr(mod, cls) - except AttributeError: - raise ClassNotFound("Could not find style class %r in style module." % cls) - - -def get_all_styles(): +} + + +def get_style_by_name(name): + if name in STYLE_MAP: + mod, cls = STYLE_MAP[name].split('::') + builtin = "yes" + else: + for found_name, style in find_plugin_styles(): + if name == found_name: + return style + # perhaps it got dropped into our styles package + builtin = "" + mod = name + cls = name.title() + "Style" + + try: + mod = __import__('pygments.styles.' + mod, None, None, [cls]) + except ImportError: + raise ClassNotFound("Could not find style module %r" % mod + + (builtin and ", though it should be builtin") + ".") + try: + return getattr(mod, cls) + except AttributeError: + raise ClassNotFound("Could not find style class %r in style module." % cls) + + +def get_all_styles(): """Return a generator for all styles by name, - both builtin and plugin.""" + both builtin and plugin.""" yield from STYLE_MAP - for name, _ in find_plugin_styles(): - yield name + for name, _ in find_plugin_styles(): + yield name diff --git a/contrib/python/Pygments/py3/pygments/styles/algol.py b/contrib/python/Pygments/py3/pygments/styles/algol.py index f293b0eca9..688eddf153 100644 --- a/contrib/python/Pygments/py3/pygments/styles/algol.py +++ b/contrib/python/Pygments/py3/pygments/styles/algol.py @@ -1,62 +1,62 @@ -""" - pygments.styles.algol - ~~~~~~~~~~~~~~~~~~~~~ - - Algol publication style. - - This style renders source code for publication of algorithms in - scientific papers and academic texts, where its format is frequently used. - - It is based on the style of the revised Algol-60 language report[1]. - - o No colours, only black, white and shades of grey are used. - o Keywords are rendered in lowercase underline boldface. - o Builtins are rendered in lowercase boldface italic. - o Docstrings and pragmas are rendered in dark grey boldface. - o Library identifiers are rendered in dark grey boldface italic. - o Comments are rendered in grey italic. - - To render keywords without underlining, refer to the `Algol_Nu` style. - - For lowercase conversion of keywords and builtins in languages where - these are not or might not be lowercase, a supporting lexer is required. - The Algol and Modula-2 lexers automatically convert to lowercase whenever - this style is selected. - - [1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>` - +""" + pygments.styles.algol + ~~~~~~~~~~~~~~~~~~~~~ + + Algol publication style. + + This style renders source code for publication of algorithms in + scientific papers and academic texts, where its format is frequently used. + + It is based on the style of the revised Algol-60 language report[1]. + + o No colours, only black, white and shades of grey are used. + o Keywords are rendered in lowercase underline boldface. + o Builtins are rendered in lowercase boldface italic. + o Docstrings and pragmas are rendered in dark grey boldface. + o Library identifiers are rendered in dark grey boldface italic. + o Comments are rendered in grey italic. + + To render keywords without underlining, refer to the `Algol_Nu` style. + + For lowercase conversion of keywords and builtins in languages where + these are not or might not be lowercase, a supporting lexer is required. + The Algol and Modula-2 lexers automatically convert to lowercase whenever + this style is selected. + + [1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>` + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, Operator - - -class AlgolStyle(Style): - - background_color = "#ffffff" - default_style = "" - - styles = { - Comment: "italic #888", - Comment.Preproc: "bold noitalic #888", - Comment.Special: "bold noitalic #888", - - Keyword: "underline bold", - Keyword.Declaration: "italic", - - Name.Builtin: "bold italic", - Name.Builtin.Pseudo: "bold italic", - Name.Namespace: "bold italic #666", - Name.Class: "bold italic #666", - Name.Function: "bold italic #666", - Name.Variable: "bold italic #666", - Name.Constant: "bold italic #666", - - Operator.Word: "bold", - - String: "italic #666", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, Operator + + +class AlgolStyle(Style): + + background_color = "#ffffff" + default_style = "" + + styles = { + Comment: "italic #888", + Comment.Preproc: "bold noitalic #888", + Comment.Special: "bold noitalic #888", + + Keyword: "underline bold", + Keyword.Declaration: "italic", + + Name.Builtin: "bold italic", + Name.Builtin.Pseudo: "bold italic", + Name.Namespace: "bold italic #666", + Name.Class: "bold italic #666", + Name.Function: "bold italic #666", + Name.Variable: "bold italic #666", + Name.Constant: "bold italic #666", + + Operator.Word: "bold", + + String: "italic #666", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/algol_nu.py b/contrib/python/Pygments/py3/pygments/styles/algol_nu.py index fe2846693b..b8737b27b0 100644 --- a/contrib/python/Pygments/py3/pygments/styles/algol_nu.py +++ b/contrib/python/Pygments/py3/pygments/styles/algol_nu.py @@ -1,62 +1,62 @@ -""" - pygments.styles.algol_nu - ~~~~~~~~~~~~~~~~~~~~~~~~ - - Algol publication style without underlining of keywords. - - This style renders source code for publication of algorithms in - scientific papers and academic texts, where its format is frequently used. - - It is based on the style of the revised Algol-60 language report[1]. - - o No colours, only black, white and shades of grey are used. - o Keywords are rendered in lowercase boldface. - o Builtins are rendered in lowercase boldface italic. - o Docstrings and pragmas are rendered in dark grey boldface. - o Library identifiers are rendered in dark grey boldface italic. - o Comments are rendered in grey italic. - - To render keywords with underlining, refer to the `Algol` style. - - For lowercase conversion of keywords and builtins in languages where - these are not or might not be lowercase, a supporting lexer is required. - The Algol and Modula-2 lexers automatically convert to lowercase whenever - this style is selected. - - [1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>` - +""" + pygments.styles.algol_nu + ~~~~~~~~~~~~~~~~~~~~~~~~ + + Algol publication style without underlining of keywords. + + This style renders source code for publication of algorithms in + scientific papers and academic texts, where its format is frequently used. + + It is based on the style of the revised Algol-60 language report[1]. + + o No colours, only black, white and shades of grey are used. + o Keywords are rendered in lowercase boldface. + o Builtins are rendered in lowercase boldface italic. + o Docstrings and pragmas are rendered in dark grey boldface. + o Library identifiers are rendered in dark grey boldface italic. + o Comments are rendered in grey italic. + + To render keywords with underlining, refer to the `Algol` style. + + For lowercase conversion of keywords and builtins in languages where + these are not or might not be lowercase, a supporting lexer is required. + The Algol and Modula-2 lexers automatically convert to lowercase whenever + this style is selected. + + [1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>` + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, Operator - - -class Algol_NuStyle(Style): - - background_color = "#ffffff" - default_style = "" - - styles = { - Comment: "italic #888", - Comment.Preproc: "bold noitalic #888", - Comment.Special: "bold noitalic #888", - - Keyword: "bold", - Keyword.Declaration: "italic", - - Name.Builtin: "bold italic", - Name.Builtin.Pseudo: "bold italic", - Name.Namespace: "bold italic #666", - Name.Class: "bold italic #666", - Name.Function: "bold italic #666", - Name.Variable: "bold italic #666", - Name.Constant: "bold italic #666", - - Operator.Word: "bold", - - String: "italic #666", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, Operator + + +class Algol_NuStyle(Style): + + background_color = "#ffffff" + default_style = "" + + styles = { + Comment: "italic #888", + Comment.Preproc: "bold noitalic #888", + Comment.Special: "bold noitalic #888", + + Keyword: "bold", + Keyword.Declaration: "italic", + + Name.Builtin: "bold italic", + Name.Builtin.Pseudo: "bold italic", + Name.Namespace: "bold italic #666", + Name.Class: "bold italic #666", + Name.Function: "bold italic #666", + Name.Variable: "bold italic #666", + Name.Constant: "bold italic #666", + + Operator.Word: "bold", + + String: "italic #666", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/arduino.py b/contrib/python/Pygments/py3/pygments/styles/arduino.py index 4dfe0f3ce2..26f0ee15b1 100644 --- a/contrib/python/Pygments/py3/pygments/styles/arduino.py +++ b/contrib/python/Pygments/py3/pygments/styles/arduino.py @@ -1,97 +1,97 @@ -""" - pygments.styles.arduino - ~~~~~~~~~~~~~~~~~~~~~~~ - - Arduino® Syntax highlighting style. - +""" + pygments.styles.arduino + ~~~~~~~~~~~~~~~~~~~~~~~ + + Arduino® Syntax highlighting style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ Number, Operator, Generic, Whitespace - - -class ArduinoStyle(Style): + + +class ArduinoStyle(Style): """ - The Arduino® language style. This style is designed to highlight the - Arduino source code, so exepect the best results with it. - """ - - background_color = "#ffffff" - default_style = "" - - styles = { - Whitespace: "", # class: 'w' - Error: "#a61717", # class: 'err' - - Comment: "#95a5a6", # class: 'c' - Comment.Multiline: "", # class: 'cm' + The Arduino® language style. This style is designed to highlight the + Arduino source code, so exepect the best results with it. + """ + + background_color = "#ffffff" + default_style = "" + + styles = { + Whitespace: "", # class: 'w' + Error: "#a61717", # class: 'err' + + Comment: "#95a5a6", # class: 'c' + Comment.Multiline: "", # class: 'cm' Comment.Preproc: "#728E00", # class: 'cp' - Comment.Single: "", # class: 'c1' - Comment.Special: "", # class: 'cs' - - Keyword: "#728E00", # class: 'k' - Keyword.Constant: "#00979D", # class: 'kc' - Keyword.Declaration: "", # class: 'kd' - Keyword.Namespace: "", # class: 'kn' - Keyword.Pseudo: "#00979D", # class: 'kp' + Comment.Single: "", # class: 'c1' + Comment.Special: "", # class: 'cs' + + Keyword: "#728E00", # class: 'k' + Keyword.Constant: "#00979D", # class: 'kc' + Keyword.Declaration: "", # class: 'kd' + Keyword.Namespace: "", # class: 'kn' + Keyword.Pseudo: "#00979D", # class: 'kp' Keyword.Reserved: "#00979D", # class: 'kr' - Keyword.Type: "#00979D", # class: 'kt' - + Keyword.Type: "#00979D", # class: 'kt' + Operator: "#728E00", # class: 'o' - Operator.Word: "", # class: 'ow' - - Name: "#434f54", # class: 'n' - Name.Attribute: "", # class: 'na' + Operator.Word: "", # class: 'ow' + + Name: "#434f54", # class: 'n' + Name.Attribute: "", # class: 'na' Name.Builtin: "#728E00", # class: 'nb' - Name.Builtin.Pseudo: "", # class: 'bp' - Name.Class: "", # class: 'nc' - Name.Constant: "", # class: 'no' - Name.Decorator: "", # class: 'nd' - Name.Entity: "", # class: 'ni' - Name.Exception: "", # class: 'ne' - Name.Function: "#D35400", # class: 'nf' - Name.Property: "", # class: 'py' - Name.Label: "", # class: 'nl' - Name.Namespace: "", # class: 'nn' - Name.Other: "#728E00", # class: 'nx' - Name.Tag: "", # class: 'nt' - Name.Variable: "", # class: 'nv' - Name.Variable.Class: "", # class: 'vc' - Name.Variable.Global: "", # class: 'vg' - Name.Variable.Instance: "", # class: 'vi' - + Name.Builtin.Pseudo: "", # class: 'bp' + Name.Class: "", # class: 'nc' + Name.Constant: "", # class: 'no' + Name.Decorator: "", # class: 'nd' + Name.Entity: "", # class: 'ni' + Name.Exception: "", # class: 'ne' + Name.Function: "#D35400", # class: 'nf' + Name.Property: "", # class: 'py' + Name.Label: "", # class: 'nl' + Name.Namespace: "", # class: 'nn' + Name.Other: "#728E00", # class: 'nx' + Name.Tag: "", # class: 'nt' + Name.Variable: "", # class: 'nv' + Name.Variable.Class: "", # class: 'vc' + Name.Variable.Global: "", # class: 'vg' + Name.Variable.Instance: "", # class: 'vi' + Number: "#8A7B52", # class: 'm' - Number.Float: "", # class: 'mf' - Number.Hex: "", # class: 'mh' - Number.Integer: "", # class: 'mi' - Number.Integer.Long: "", # class: 'il' - Number.Oct: "", # class: 'mo' - - String: "#7F8C8D", # class: 's' - String.Backtick: "", # class: 'sb' - String.Char: "", # class: 'sc' - String.Doc: "", # class: 'sd' - String.Double: "", # class: 's2' - String.Escape: "", # class: 'se' - String.Heredoc: "", # class: 'sh' - String.Interpol: "", # class: 'si' - String.Other: "", # class: 'sx' - String.Regex: "", # class: 'sr' - String.Single: "", # class: 's1' - String.Symbol: "", # class: 'ss' - - Generic: "", # class: 'g' - Generic.Deleted: "", # class: 'gd', - Generic.Emph: "", # class: 'ge' - Generic.Error: "", # class: 'gr' - Generic.Heading: "", # class: 'gh' - Generic.Inserted: "", # class: 'gi' - Generic.Output: "", # class: 'go' - Generic.Prompt: "", # class: 'gp' - Generic.Strong: "", # class: 'gs' - Generic.Subheading: "", # class: 'gu' - Generic.Traceback: "", # class: 'gt' - } + Number.Float: "", # class: 'mf' + Number.Hex: "", # class: 'mh' + Number.Integer: "", # class: 'mi' + Number.Integer.Long: "", # class: 'il' + Number.Oct: "", # class: 'mo' + + String: "#7F8C8D", # class: 's' + String.Backtick: "", # class: 'sb' + String.Char: "", # class: 'sc' + String.Doc: "", # class: 'sd' + String.Double: "", # class: 's2' + String.Escape: "", # class: 'se' + String.Heredoc: "", # class: 'sh' + String.Interpol: "", # class: 'si' + String.Other: "", # class: 'sx' + String.Regex: "", # class: 'sr' + String.Single: "", # class: 's1' + String.Symbol: "", # class: 'ss' + + Generic: "", # class: 'g' + Generic.Deleted: "", # class: 'gd', + Generic.Emph: "", # class: 'ge' + Generic.Error: "", # class: 'gr' + Generic.Heading: "", # class: 'gh' + Generic.Inserted: "", # class: 'gi' + Generic.Output: "", # class: 'go' + Generic.Prompt: "", # class: 'gp' + Generic.Strong: "", # class: 'gs' + Generic.Subheading: "", # class: 'gu' + Generic.Traceback: "", # class: 'gt' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/autumn.py b/contrib/python/Pygments/py3/pygments/styles/autumn.py index 85fd8982a9..65a8877eca 100644 --- a/contrib/python/Pygments/py3/pygments/styles/autumn.py +++ b/contrib/python/Pygments/py3/pygments/styles/autumn.py @@ -1,64 +1,64 @@ -""" - pygments.styles.autumn - ~~~~~~~~~~~~~~~~~~~~~~ - - A colorful style, inspired by the terminal highlighting style. - +""" + pygments.styles.autumn + ~~~~~~~~~~~~~~~~~~~~~~ + + A colorful style, inspired by the terminal highlighting style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class AutumnStyle(Style): - """ - A colorful style, inspired by the terminal highlighting style. - """ - - default_style = "" - - styles = { - Whitespace: '#bbbbbb', - - Comment: 'italic #aaaaaa', - Comment.Preproc: 'noitalic #4c8317', - Comment.Special: 'italic #0000aa', - - Keyword: '#0000aa', - Keyword.Type: '#00aaaa', - - Operator.Word: '#0000aa', - - Name.Builtin: '#00aaaa', - Name.Function: '#00aa00', - Name.Class: 'underline #00aa00', - Name.Namespace: 'underline #00aaaa', - Name.Variable: '#aa0000', - Name.Constant: '#aa0000', - Name.Entity: 'bold #800', - Name.Attribute: '#1e90ff', - Name.Tag: 'bold #1e90ff', - Name.Decorator: '#888888', - - String: '#aa5500', - String.Symbol: '#0000aa', - String.Regex: '#009999', - - Number: '#009999', - - Generic.Heading: 'bold #000080', - Generic.Subheading: 'bold #800080', - Generic.Deleted: '#aa0000', - Generic.Inserted: '#00aa00', - Generic.Error: '#aa0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#555555', - Generic.Output: '#888888', - Generic.Traceback: '#aa0000', - - Error: '#F00 bg:#FAA' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class AutumnStyle(Style): + """ + A colorful style, inspired by the terminal highlighting style. + """ + + default_style = "" + + styles = { + Whitespace: '#bbbbbb', + + Comment: 'italic #aaaaaa', + Comment.Preproc: 'noitalic #4c8317', + Comment.Special: 'italic #0000aa', + + Keyword: '#0000aa', + Keyword.Type: '#00aaaa', + + Operator.Word: '#0000aa', + + Name.Builtin: '#00aaaa', + Name.Function: '#00aa00', + Name.Class: 'underline #00aa00', + Name.Namespace: 'underline #00aaaa', + Name.Variable: '#aa0000', + Name.Constant: '#aa0000', + Name.Entity: 'bold #800', + Name.Attribute: '#1e90ff', + Name.Tag: 'bold #1e90ff', + Name.Decorator: '#888888', + + String: '#aa5500', + String.Symbol: '#0000aa', + String.Regex: '#009999', + + Number: '#009999', + + Generic.Heading: 'bold #000080', + Generic.Subheading: 'bold #800080', + Generic.Deleted: '#aa0000', + Generic.Inserted: '#00aa00', + Generic.Error: '#aa0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#555555', + Generic.Output: '#888888', + Generic.Traceback: '#aa0000', + + Error: '#F00 bg:#FAA' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/borland.py b/contrib/python/Pygments/py3/pygments/styles/borland.py index 427e149f2f..5f6183721f 100644 --- a/contrib/python/Pygments/py3/pygments/styles/borland.py +++ b/contrib/python/Pygments/py3/pygments/styles/borland.py @@ -1,50 +1,50 @@ -""" - pygments.styles.borland - ~~~~~~~~~~~~~~~~~~~~~~~ - - Style similar to the style used in the Borland IDEs. - +""" + pygments.styles.borland + ~~~~~~~~~~~~~~~~~~~~~~~ + + Style similar to the style used in the Borland IDEs. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class BorlandStyle(Style): - """ - Style similar to the style used in the borland IDEs. - """ - - default_style = '' - - styles = { - Whitespace: '#bbbbbb', - - Comment: 'italic #008800', - Comment.Preproc: 'noitalic #008080', - Comment.Special: 'noitalic bold', - - String: '#0000FF', - String.Char: '#800080', - Number: '#0000FF', - Keyword: 'bold #000080', - Operator.Word: 'bold', - Name.Tag: 'bold #000080', - Name.Attribute: '#FF0000', - - Generic.Heading: '#999999', - Generic.Subheading: '#aaaaaa', - Generic.Deleted: 'bg:#ffdddd #000000', - Generic.Inserted: 'bg:#ddffdd #000000', - Generic.Error: '#aa0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#555555', - Generic.Output: '#888888', - Generic.Traceback: '#aa0000', - - Error: 'bg:#e3d2d2 #a61717' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class BorlandStyle(Style): + """ + Style similar to the style used in the borland IDEs. + """ + + default_style = '' + + styles = { + Whitespace: '#bbbbbb', + + Comment: 'italic #008800', + Comment.Preproc: 'noitalic #008080', + Comment.Special: 'noitalic bold', + + String: '#0000FF', + String.Char: '#800080', + Number: '#0000FF', + Keyword: 'bold #000080', + Operator.Word: 'bold', + Name.Tag: 'bold #000080', + Name.Attribute: '#FF0000', + + Generic.Heading: '#999999', + Generic.Subheading: '#aaaaaa', + Generic.Deleted: 'bg:#ffdddd #000000', + Generic.Inserted: 'bg:#ddffdd #000000', + Generic.Error: '#aa0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#555555', + Generic.Output: '#888888', + Generic.Traceback: '#aa0000', + + Error: 'bg:#e3d2d2 #a61717' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/bw.py b/contrib/python/Pygments/py3/pygments/styles/bw.py index 1b38538761..42de46b201 100644 --- a/contrib/python/Pygments/py3/pygments/styles/bw.py +++ b/contrib/python/Pygments/py3/pygments/styles/bw.py @@ -1,48 +1,48 @@ -""" - pygments.styles.bw - ~~~~~~~~~~~~~~~~~~ - - Simple black/white only style. - +""" + pygments.styles.bw + ~~~~~~~~~~~~~~~~~~ + + Simple black/white only style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Operator, Generic - - -class BlackWhiteStyle(Style): - - background_color = "#ffffff" - default_style = "" - - styles = { - Comment: "italic", - Comment.Preproc: "noitalic", - - Keyword: "bold", - Keyword.Pseudo: "nobold", - Keyword.Type: "nobold", - - Operator.Word: "bold", - - Name.Class: "bold", - Name.Namespace: "bold", - Name.Exception: "bold", - Name.Entity: "bold", - Name.Tag: "bold", - - String: "italic", - String.Interpol: "bold", - String.Escape: "bold", - - Generic.Heading: "bold", - Generic.Subheading: "bold", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Operator, Generic + + +class BlackWhiteStyle(Style): + + background_color = "#ffffff" + default_style = "" + + styles = { + Comment: "italic", + Comment.Preproc: "noitalic", + + Keyword: "bold", + Keyword.Pseudo: "nobold", + Keyword.Type: "nobold", + + Operator.Word: "bold", + + Name.Class: "bold", + Name.Namespace: "bold", + Name.Exception: "bold", + Name.Entity: "bold", + Name.Tag: "bold", + + String: "italic", + String.Interpol: "bold", + String.Escape: "bold", + + Generic.Heading: "bold", + Generic.Subheading: "bold", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/colorful.py b/contrib/python/Pygments/py3/pygments/styles/colorful.py index a67b8e3e61..c3815afea9 100644 --- a/contrib/python/Pygments/py3/pygments/styles/colorful.py +++ b/contrib/python/Pygments/py3/pygments/styles/colorful.py @@ -1,80 +1,80 @@ -""" - pygments.styles.colorful - ~~~~~~~~~~~~~~~~~~~~~~~~ - - A colorful style, inspired by CodeRay. - +""" + pygments.styles.colorful + ~~~~~~~~~~~~~~~~~~~~~~~~ + + A colorful style, inspired by CodeRay. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class ColorfulStyle(Style): - """ - A colorful style, inspired by CodeRay. - """ - - default_style = "" - - styles = { - Whitespace: "#bbbbbb", - - Comment: "#888", - Comment.Preproc: "#579", - Comment.Special: "bold #cc0000", - - Keyword: "bold #080", - Keyword.Pseudo: "#038", - Keyword.Type: "#339", - - Operator: "#333", - Operator.Word: "bold #000", - - Name.Builtin: "#007020", - Name.Function: "bold #06B", - Name.Class: "bold #B06", - Name.Namespace: "bold #0e84b5", - Name.Exception: "bold #F00", - Name.Variable: "#963", - Name.Variable.Instance: "#33B", - Name.Variable.Class: "#369", - Name.Variable.Global: "bold #d70", - Name.Constant: "bold #036", - Name.Label: "bold #970", - Name.Entity: "bold #800", - Name.Attribute: "#00C", - Name.Tag: "#070", - Name.Decorator: "bold #555", - - String: "bg:#fff0f0", - String.Char: "#04D bg:", - String.Doc: "#D42 bg:", - String.Interpol: "bg:#eee", - String.Escape: "bold #666", - String.Regex: "bg:#fff0ff #000", - String.Symbol: "#A60 bg:", - String.Other: "#D20", - - Number: "bold #60E", - Number.Integer: "bold #00D", - Number.Float: "bold #60E", - Number.Hex: "bold #058", - Number.Oct: "bold #40E", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #c65d09", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "#F00 bg:#FAA" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class ColorfulStyle(Style): + """ + A colorful style, inspired by CodeRay. + """ + + default_style = "" + + styles = { + Whitespace: "#bbbbbb", + + Comment: "#888", + Comment.Preproc: "#579", + Comment.Special: "bold #cc0000", + + Keyword: "bold #080", + Keyword.Pseudo: "#038", + Keyword.Type: "#339", + + Operator: "#333", + Operator.Word: "bold #000", + + Name.Builtin: "#007020", + Name.Function: "bold #06B", + Name.Class: "bold #B06", + Name.Namespace: "bold #0e84b5", + Name.Exception: "bold #F00", + Name.Variable: "#963", + Name.Variable.Instance: "#33B", + Name.Variable.Class: "#369", + Name.Variable.Global: "bold #d70", + Name.Constant: "bold #036", + Name.Label: "bold #970", + Name.Entity: "bold #800", + Name.Attribute: "#00C", + Name.Tag: "#070", + Name.Decorator: "bold #555", + + String: "bg:#fff0f0", + String.Char: "#04D bg:", + String.Doc: "#D42 bg:", + String.Interpol: "bg:#eee", + String.Escape: "bold #666", + String.Regex: "bg:#fff0ff #000", + String.Symbol: "#A60 bg:", + String.Other: "#D20", + + Number: "bold #60E", + Number.Integer: "bold #00D", + Number.Float: "bold #60E", + Number.Hex: "bold #058", + Number.Oct: "bold #40E", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", + Generic.Inserted: "#00A000", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #c65d09", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "#F00 bg:#FAA" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/default.py b/contrib/python/Pygments/py3/pygments/styles/default.py index c69325f432..95b186bdd7 100644 --- a/contrib/python/Pygments/py3/pygments/styles/default.py +++ b/contrib/python/Pygments/py3/pygments/styles/default.py @@ -1,72 +1,72 @@ -""" - pygments.styles.default - ~~~~~~~~~~~~~~~~~~~~~~~ - - The default highlighting style. - +""" + pygments.styles.default + ~~~~~~~~~~~~~~~~~~~~~~~ + + The default highlighting style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class DefaultStyle(Style): - """ - The default style (inspired by Emacs 22). - """ - - background_color = "#f8f8f8" - default_style = "" - - styles = { - Whitespace: "#bbbbbb", + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class DefaultStyle(Style): + """ + The default style (inspired by Emacs 22). + """ + + background_color = "#f8f8f8" + default_style = "" + + styles = { + Whitespace: "#bbbbbb", Comment: "italic #3D7B7B", Comment.Preproc: "noitalic #9C6500", - - #Keyword: "bold #AA22FF", - Keyword: "bold #008000", - Keyword.Pseudo: "nobold", - Keyword.Type: "nobold #B00040", - - Operator: "#666666", - Operator.Word: "bold #AA22FF", - - Name.Builtin: "#008000", - Name.Function: "#0000FF", - Name.Class: "bold #0000FF", - Name.Namespace: "bold #0000FF", + + #Keyword: "bold #AA22FF", + Keyword: "bold #008000", + Keyword.Pseudo: "nobold", + Keyword.Type: "nobold #B00040", + + Operator: "#666666", + Operator.Word: "bold #AA22FF", + + Name.Builtin: "#008000", + Name.Function: "#0000FF", + Name.Class: "bold #0000FF", + Name.Namespace: "bold #0000FF", Name.Exception: "bold #CB3F38", - Name.Variable: "#19177C", - Name.Constant: "#880000", + Name.Variable: "#19177C", + Name.Constant: "#880000", Name.Label: "#767600", Name.Entity: "bold #717171", Name.Attribute: "#687822", - Name.Tag: "bold #008000", - Name.Decorator: "#AA22FF", - - String: "#BA2121", - String.Doc: "italic", + Name.Tag: "bold #008000", + Name.Decorator: "#AA22FF", + + String: "#BA2121", + String.Doc: "italic", String.Interpol: "bold #A45A77", String.Escape: "bold #AA5D1F", String.Regex: "#A45A77", - #String.Symbol: "#B8860B", - String.Symbol: "#19177C", - String.Other: "#008000", - Number: "#666666", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", + #String.Symbol: "#B8860B", + String.Symbol: "#19177C", + String.Other: "#008000", + Number: "#666666", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", Generic.Inserted: "#008400", Generic.Error: "#E40000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #000080", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #000080", Generic.Output: "#717171", - Generic.Traceback: "#04D", - - Error: "border:#FF0000" - } + Generic.Traceback: "#04D", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/emacs.py b/contrib/python/Pygments/py3/pygments/styles/emacs.py index e9cbc33da8..317e454978 100644 --- a/contrib/python/Pygments/py3/pygments/styles/emacs.py +++ b/contrib/python/Pygments/py3/pygments/styles/emacs.py @@ -1,71 +1,71 @@ -""" - pygments.styles.emacs - ~~~~~~~~~~~~~~~~~~~~~ - - A highlighting style for Pygments, inspired by Emacs. - +""" + pygments.styles.emacs + ~~~~~~~~~~~~~~~~~~~~~ + + A highlighting style for Pygments, inspired by Emacs. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class EmacsStyle(Style): - """ - The default style (inspired by Emacs 22). - """ - - background_color = "#f8f8f8" - default_style = "" - - styles = { - Whitespace: "#bbbbbb", - Comment: "italic #008800", - Comment.Preproc: "noitalic", - Comment.Special: "noitalic bold", - - Keyword: "bold #AA22FF", - Keyword.Pseudo: "nobold", - Keyword.Type: "bold #00BB00", - - Operator: "#666666", - Operator.Word: "bold #AA22FF", - - Name.Builtin: "#AA22FF", - Name.Function: "#00A000", - Name.Class: "#0000FF", - Name.Namespace: "bold #0000FF", - Name.Exception: "bold #D2413A", - Name.Variable: "#B8860B", - Name.Constant: "#880000", - Name.Label: "#A0A000", - Name.Entity: "bold #999999", - Name.Attribute: "#BB4444", - Name.Tag: "bold #008000", - Name.Decorator: "#AA22FF", - - String: "#BB4444", - String.Doc: "italic", - String.Interpol: "bold #BB6688", - String.Escape: "bold #BB6622", - String.Regex: "#BB6688", - String.Symbol: "#B8860B", - String.Other: "#008000", - Number: "#666666", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #000080", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class EmacsStyle(Style): + """ + The default style (inspired by Emacs 22). + """ + + background_color = "#f8f8f8" + default_style = "" + + styles = { + Whitespace: "#bbbbbb", + Comment: "italic #008800", + Comment.Preproc: "noitalic", + Comment.Special: "noitalic bold", + + Keyword: "bold #AA22FF", + Keyword.Pseudo: "nobold", + Keyword.Type: "bold #00BB00", + + Operator: "#666666", + Operator.Word: "bold #AA22FF", + + Name.Builtin: "#AA22FF", + Name.Function: "#00A000", + Name.Class: "#0000FF", + Name.Namespace: "bold #0000FF", + Name.Exception: "bold #D2413A", + Name.Variable: "#B8860B", + Name.Constant: "#880000", + Name.Label: "#A0A000", + Name.Entity: "bold #999999", + Name.Attribute: "#BB4444", + Name.Tag: "bold #008000", + Name.Decorator: "#AA22FF", + + String: "#BB4444", + String.Doc: "italic", + String.Interpol: "bold #BB6688", + String.Escape: "bold #BB6622", + String.Regex: "#BB6688", + String.Symbol: "#B8860B", + String.Other: "#008000", + Number: "#666666", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", + Generic.Inserted: "#00A000", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #000080", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/friendly.py b/contrib/python/Pygments/py3/pygments/styles/friendly.py index 82f2479475..c354770760 100644 --- a/contrib/python/Pygments/py3/pygments/styles/friendly.py +++ b/contrib/python/Pygments/py3/pygments/styles/friendly.py @@ -1,72 +1,72 @@ -""" - pygments.styles.friendly - ~~~~~~~~~~~~~~~~~~~~~~~~ - - A modern style based on the VIM pyte theme. - +""" + pygments.styles.friendly + ~~~~~~~~~~~~~~~~~~~~~~~~ + + A modern style based on the VIM pyte theme. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class FriendlyStyle(Style): - """ - A modern style based on the VIM pyte theme. - """ - - background_color = "#f0f0f0" - default_style = "" + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class FriendlyStyle(Style): + """ + A modern style based on the VIM pyte theme. + """ + + background_color = "#f0f0f0" + default_style = "" line_number_color = "#666666" - - styles = { - Whitespace: "#bbbbbb", - Comment: "italic #60a0b0", - Comment.Preproc: "noitalic #007020", - Comment.Special: "noitalic bg:#fff0f0", - - Keyword: "bold #007020", - Keyword.Pseudo: "nobold", - Keyword.Type: "nobold #902000", - - Operator: "#666666", - Operator.Word: "bold #007020", - - Name.Builtin: "#007020", - Name.Function: "#06287e", - Name.Class: "bold #0e84b5", - Name.Namespace: "bold #0e84b5", - Name.Exception: "#007020", - Name.Variable: "#bb60d5", - Name.Constant: "#60add5", - Name.Label: "bold #002070", - Name.Entity: "bold #d55537", - Name.Attribute: "#4070a0", - Name.Tag: "bold #062873", - Name.Decorator: "bold #555555", - - String: "#4070a0", - String.Doc: "italic", - String.Interpol: "italic #70a0d0", - String.Escape: "bold #4070a0", - String.Regex: "#235388", - String.Symbol: "#517918", - String.Other: "#c65d09", - Number: "#40a070", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #c65d09", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "border:#FF0000" - } + + styles = { + Whitespace: "#bbbbbb", + Comment: "italic #60a0b0", + Comment.Preproc: "noitalic #007020", + Comment.Special: "noitalic bg:#fff0f0", + + Keyword: "bold #007020", + Keyword.Pseudo: "nobold", + Keyword.Type: "nobold #902000", + + Operator: "#666666", + Operator.Word: "bold #007020", + + Name.Builtin: "#007020", + Name.Function: "#06287e", + Name.Class: "bold #0e84b5", + Name.Namespace: "bold #0e84b5", + Name.Exception: "#007020", + Name.Variable: "#bb60d5", + Name.Constant: "#60add5", + Name.Label: "bold #002070", + Name.Entity: "bold #d55537", + Name.Attribute: "#4070a0", + Name.Tag: "bold #062873", + Name.Decorator: "bold #555555", + + String: "#4070a0", + String.Doc: "italic", + String.Interpol: "italic #70a0d0", + String.Escape: "bold #4070a0", + String.Regex: "#235388", + String.Symbol: "#517918", + String.Other: "#c65d09", + Number: "#40a070", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", + Generic.Inserted: "#00A000", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #c65d09", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/fruity.py b/contrib/python/Pygments/py3/pygments/styles/fruity.py index 2446915d66..5114fa700a 100644 --- a/contrib/python/Pygments/py3/pygments/styles/fruity.py +++ b/contrib/python/Pygments/py3/pygments/styles/fruity.py @@ -1,41 +1,41 @@ -""" - pygments.styles.fruity - ~~~~~~~~~~~~~~~~~~~~~~ - - pygments version of my "fruity" vim theme. - +""" + pygments.styles.fruity + ~~~~~~~~~~~~~~~~~~~~~~ + + pygments version of my "fruity" vim theme. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Token, Comment, Name, Keyword, \ - Generic, Number, String, Whitespace - -class FruityStyle(Style): - """ - Pygments version of the "native" vim theme. - """ - - background_color = '#111111' - highlight_color = '#333333' - - styles = { - Whitespace: '#888888', - Token: '#ffffff', - Generic.Output: '#444444 bg:#222222', - Keyword: '#fb660a bold', - Keyword.Pseudo: 'nobold', - Number: '#0086f7 bold', - Name.Tag: '#fb660a bold', - Name.Variable: '#fb660a', - Comment: '#008800 bg:#0f140f italic', - Name.Attribute: '#ff0086 bold', - String: '#0086d2', - Name.Function: '#ff0086 bold', - Generic.Heading: '#ffffff bold', - Keyword.Type: '#cdcaa9 bold', - Generic.Subheading: '#ffffff bold', - Name.Constant: '#0086d2', - Comment.Preproc: '#ff0007 bold' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Token, Comment, Name, Keyword, \ + Generic, Number, String, Whitespace + +class FruityStyle(Style): + """ + Pygments version of the "native" vim theme. + """ + + background_color = '#111111' + highlight_color = '#333333' + + styles = { + Whitespace: '#888888', + Token: '#ffffff', + Generic.Output: '#444444 bg:#222222', + Keyword: '#fb660a bold', + Keyword.Pseudo: 'nobold', + Number: '#0086f7 bold', + Name.Tag: '#fb660a bold', + Name.Variable: '#fb660a', + Comment: '#008800 bg:#0f140f italic', + Name.Attribute: '#ff0086 bold', + String: '#0086d2', + Name.Function: '#ff0086 bold', + Generic.Heading: '#ffffff bold', + Keyword.Type: '#cdcaa9 bold', + Generic.Subheading: '#ffffff bold', + Name.Constant: '#0086d2', + Comment.Preproc: '#ff0007 bold' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/igor.py b/contrib/python/Pygments/py3/pygments/styles/igor.py index 278e9da1d4..131d4e00e7 100644 --- a/contrib/python/Pygments/py3/pygments/styles/igor.py +++ b/contrib/python/Pygments/py3/pygments/styles/igor.py @@ -1,28 +1,28 @@ -""" - pygments.styles.igor - ~~~~~~~~~~~~~~~~~~~~ - - Igor Pro default style. - +""" + pygments.styles.igor + ~~~~~~~~~~~~~~~~~~~~ + + Igor Pro default style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String - - -class IgorStyle(Style): - """ - Pygments version of the official colors for Igor Pro procedures. - """ - default_style = "" - - styles = { - Comment: 'italic #FF0000', - Keyword: '#0000FF', - Name.Function: '#C34E00', - Name.Decorator: '#CC00A3', - Name.Class: '#007575', - String: '#009C00' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String + + +class IgorStyle(Style): + """ + Pygments version of the official colors for Igor Pro procedures. + """ + default_style = "" + + styles = { + Comment: 'italic #FF0000', + Keyword: '#0000FF', + Name.Function: '#C34E00', + Name.Decorator: '#CC00A3', + Name.Class: '#007575', + String: '#009C00' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/lovelace.py b/contrib/python/Pygments/py3/pygments/styles/lovelace.py index ec8d2a9106..5d5ce791cd 100644 --- a/contrib/python/Pygments/py3/pygments/styles/lovelace.py +++ b/contrib/python/Pygments/py3/pygments/styles/lovelace.py @@ -1,96 +1,96 @@ -""" - pygments.styles.lovelace - ~~~~~~~~~~~~~~~~~~~~~~~~ - - Lovelace by Miikka Salminen - - Pygments style by Miikka Salminen (https://github.com/miikkas) - A desaturated, somewhat subdued style created for the Lovelace interactive - learning environment. - +""" + pygments.styles.lovelace + ~~~~~~~~~~~~~~~~~~~~~~~~ + + Lovelace by Miikka Salminen + + Pygments style by Miikka Salminen (https://github.com/miikkas) + A desaturated, somewhat subdued style created for the Lovelace interactive + learning environment. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Punctuation, Generic, Whitespace - - -class LovelaceStyle(Style): - """ - The style used in Lovelace interactive learning environment. Tries to avoid - the "angry fruit salad" effect with desaturated and dim colours. - """ - _KW_BLUE = '#2838b0' - _NAME_GREEN = '#388038' - _DOC_ORANGE = '#b85820' - _OW_PURPLE = '#a848a8' - _FUN_BROWN = '#785840' - _STR_RED = '#b83838' - _CLS_CYAN = '#287088' - _ESCAPE_LIME = '#709030' - _LABEL_CYAN = '#289870' - _EXCEPT_YELLOW = '#908828' - - default_style = '#222222' - - styles = { - Whitespace: '#a89028', - Comment: 'italic #888888', - Comment.Hashbang: _CLS_CYAN, - Comment.Multiline: '#888888', - Comment.Preproc: 'noitalic '+_LABEL_CYAN, - - Keyword: _KW_BLUE, - Keyword.Constant: 'italic #444444', - Keyword.Declaration: 'italic', - Keyword.Type: 'italic', - - Operator: '#666666', - Operator.Word: _OW_PURPLE, - - Punctuation: '#888888', - - Name.Attribute: _NAME_GREEN, - Name.Builtin: _NAME_GREEN, - Name.Builtin.Pseudo: 'italic', - Name.Class: _CLS_CYAN, - Name.Constant: _DOC_ORANGE, - Name.Decorator: _CLS_CYAN, - Name.Entity: _ESCAPE_LIME, - Name.Exception: _EXCEPT_YELLOW, - Name.Function: _FUN_BROWN, + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Punctuation, Generic, Whitespace + + +class LovelaceStyle(Style): + """ + The style used in Lovelace interactive learning environment. Tries to avoid + the "angry fruit salad" effect with desaturated and dim colours. + """ + _KW_BLUE = '#2838b0' + _NAME_GREEN = '#388038' + _DOC_ORANGE = '#b85820' + _OW_PURPLE = '#a848a8' + _FUN_BROWN = '#785840' + _STR_RED = '#b83838' + _CLS_CYAN = '#287088' + _ESCAPE_LIME = '#709030' + _LABEL_CYAN = '#289870' + _EXCEPT_YELLOW = '#908828' + + default_style = '#222222' + + styles = { + Whitespace: '#a89028', + Comment: 'italic #888888', + Comment.Hashbang: _CLS_CYAN, + Comment.Multiline: '#888888', + Comment.Preproc: 'noitalic '+_LABEL_CYAN, + + Keyword: _KW_BLUE, + Keyword.Constant: 'italic #444444', + Keyword.Declaration: 'italic', + Keyword.Type: 'italic', + + Operator: '#666666', + Operator.Word: _OW_PURPLE, + + Punctuation: '#888888', + + Name.Attribute: _NAME_GREEN, + Name.Builtin: _NAME_GREEN, + Name.Builtin.Pseudo: 'italic', + Name.Class: _CLS_CYAN, + Name.Constant: _DOC_ORANGE, + Name.Decorator: _CLS_CYAN, + Name.Entity: _ESCAPE_LIME, + Name.Exception: _EXCEPT_YELLOW, + Name.Function: _FUN_BROWN, Name.Function.Magic: _DOC_ORANGE, - Name.Label: _LABEL_CYAN, - Name.Namespace: _LABEL_CYAN, - Name.Tag: _KW_BLUE, - Name.Variable: '#b04040', - Name.Variable.Global:_EXCEPT_YELLOW, + Name.Label: _LABEL_CYAN, + Name.Namespace: _LABEL_CYAN, + Name.Tag: _KW_BLUE, + Name.Variable: '#b04040', + Name.Variable.Global:_EXCEPT_YELLOW, Name.Variable.Magic: _DOC_ORANGE, - - String: _STR_RED, + + String: _STR_RED, String.Affix: '#444444', - String.Char: _OW_PURPLE, + String.Char: _OW_PURPLE, String.Delimiter: _DOC_ORANGE, - String.Doc: 'italic '+_DOC_ORANGE, - String.Escape: _ESCAPE_LIME, - String.Interpol: 'underline', - String.Other: _OW_PURPLE, - String.Regex: _OW_PURPLE, - - Number: '#444444', - - Generic.Deleted: '#c02828', - Generic.Emph: 'italic', - Generic.Error: '#c02828', - Generic.Heading: '#666666', - Generic.Subheading: '#444444', - Generic.Inserted: _NAME_GREEN, - Generic.Output: '#666666', - Generic.Prompt: '#444444', - Generic.Strong: 'bold', - Generic.Traceback: _KW_BLUE, - - Error: 'bg:'+_OW_PURPLE, - } + String.Doc: 'italic '+_DOC_ORANGE, + String.Escape: _ESCAPE_LIME, + String.Interpol: 'underline', + String.Other: _OW_PURPLE, + String.Regex: _OW_PURPLE, + + Number: '#444444', + + Generic.Deleted: '#c02828', + Generic.Emph: 'italic', + Generic.Error: '#c02828', + Generic.Heading: '#666666', + Generic.Subheading: '#444444', + Generic.Inserted: _NAME_GREEN, + Generic.Output: '#666666', + Generic.Prompt: '#444444', + Generic.Strong: 'bold', + Generic.Traceback: _KW_BLUE, + + Error: 'bg:'+_OW_PURPLE, + } diff --git a/contrib/python/Pygments/py3/pygments/styles/manni.py b/contrib/python/Pygments/py3/pygments/styles/manni.py index 167dcebd5a..e4edd7f670 100644 --- a/contrib/python/Pygments/py3/pygments/styles/manni.py +++ b/contrib/python/Pygments/py3/pygments/styles/manni.py @@ -1,74 +1,74 @@ -""" - pygments.styles.manni - ~~~~~~~~~~~~~~~~~~~~~ - - A colorful style, inspired by the terminal highlighting style. - - This is a port of the style used in the `php port`_ of pygments - by Manni. The style is called 'default' there. - +""" + pygments.styles.manni + ~~~~~~~~~~~~~~~~~~~~~ + + A colorful style, inspired by the terminal highlighting style. + + This is a port of the style used in the `php port`_ of pygments + by Manni. The style is called 'default' there. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class ManniStyle(Style): - """ - A colorful style, inspired by the terminal highlighting style. - """ - - background_color = '#f0f3f3' - - styles = { - Whitespace: '#bbbbbb', - Comment: 'italic #0099FF', - Comment.Preproc: 'noitalic #009999', - Comment.Special: 'bold', - - Keyword: 'bold #006699', - Keyword.Pseudo: 'nobold', - Keyword.Type: '#007788', - - Operator: '#555555', - Operator.Word: 'bold #000000', - - Name.Builtin: '#336666', - Name.Function: '#CC00FF', - Name.Class: 'bold #00AA88', - Name.Namespace: 'bold #00CCFF', - Name.Exception: 'bold #CC0000', - Name.Variable: '#003333', - Name.Constant: '#336600', - Name.Label: '#9999FF', - Name.Entity: 'bold #999999', - Name.Attribute: '#330099', - Name.Tag: 'bold #330099', - Name.Decorator: '#9999FF', - - String: '#CC3300', - String.Doc: 'italic', - String.Interpol: '#AA0000', - String.Escape: 'bold #CC3300', - String.Regex: '#33AAAA', - String.Symbol: '#FFCC33', - String.Other: '#CC3300', - - Number: '#FF6600', - - Generic.Heading: 'bold #003300', - Generic.Subheading: 'bold #003300', - Generic.Deleted: 'border:#CC0000 bg:#FFCCCC', - Generic.Inserted: 'border:#00CC00 bg:#CCFFCC', - Generic.Error: '#FF0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: 'bold #000099', - Generic.Output: '#AAAAAA', - Generic.Traceback: '#99CC66', - - Error: 'bg:#FFAAAA #AA0000' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class ManniStyle(Style): + """ + A colorful style, inspired by the terminal highlighting style. + """ + + background_color = '#f0f3f3' + + styles = { + Whitespace: '#bbbbbb', + Comment: 'italic #0099FF', + Comment.Preproc: 'noitalic #009999', + Comment.Special: 'bold', + + Keyword: 'bold #006699', + Keyword.Pseudo: 'nobold', + Keyword.Type: '#007788', + + Operator: '#555555', + Operator.Word: 'bold #000000', + + Name.Builtin: '#336666', + Name.Function: '#CC00FF', + Name.Class: 'bold #00AA88', + Name.Namespace: 'bold #00CCFF', + Name.Exception: 'bold #CC0000', + Name.Variable: '#003333', + Name.Constant: '#336600', + Name.Label: '#9999FF', + Name.Entity: 'bold #999999', + Name.Attribute: '#330099', + Name.Tag: 'bold #330099', + Name.Decorator: '#9999FF', + + String: '#CC3300', + String.Doc: 'italic', + String.Interpol: '#AA0000', + String.Escape: 'bold #CC3300', + String.Regex: '#33AAAA', + String.Symbol: '#FFCC33', + String.Other: '#CC3300', + + Number: '#FF6600', + + Generic.Heading: 'bold #003300', + Generic.Subheading: 'bold #003300', + Generic.Deleted: 'border:#CC0000 bg:#FFCCCC', + Generic.Inserted: 'border:#00CC00 bg:#CCFFCC', + Generic.Error: '#FF0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: 'bold #000099', + Generic.Output: '#AAAAAA', + Generic.Traceback: '#99CC66', + + Error: 'bg:#FFAAAA #AA0000' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/monokai.py b/contrib/python/Pygments/py3/pygments/styles/monokai.py index 9de82f35ef..436e1d2768 100644 --- a/contrib/python/Pygments/py3/pygments/styles/monokai.py +++ b/contrib/python/Pygments/py3/pygments/styles/monokai.py @@ -1,106 +1,106 @@ -""" - pygments.styles.monokai - ~~~~~~~~~~~~~~~~~~~~~~~ - - Mimic the Monokai color scheme. Based on tango.py. - - http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ - +""" + pygments.styles.monokai + ~~~~~~~~~~~~~~~~~~~~~~~ + + Mimic the Monokai color scheme. Based on tango.py. + + http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/ + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Token, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - -class MonokaiStyle(Style): - """ - This style mimics the Monokai color scheme. - """ - - background_color = "#272822" - highlight_color = "#49483e" - - styles = { - # No corresponding class for the following: + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + +class MonokaiStyle(Style): + """ + This style mimics the Monokai color scheme. + """ + + background_color = "#272822" + highlight_color = "#49483e" + + styles = { + # No corresponding class for the following: Token: "#f8f8f2", # class: '' - Whitespace: "", # class: 'w' - Error: "#960050 bg:#1e0010", # class: 'err' - Other: "", # class 'x' - - Comment: "#75715e", # class: 'c' - Comment.Multiline: "", # class: 'cm' - Comment.Preproc: "", # class: 'cp' - Comment.Single: "", # class: 'c1' - Comment.Special: "", # class: 'cs' - - Keyword: "#66d9ef", # class: 'k' - Keyword.Constant: "", # class: 'kc' - Keyword.Declaration: "", # class: 'kd' - Keyword.Namespace: "#f92672", # class: 'kn' - Keyword.Pseudo: "", # class: 'kp' - Keyword.Reserved: "", # class: 'kr' - Keyword.Type: "", # class: 'kt' - - Operator: "#f92672", # class: 'o' - Operator.Word: "", # class: 'ow' - like keywords - - Punctuation: "#f8f8f2", # class: 'p' - - Name: "#f8f8f2", # class: 'n' - Name.Attribute: "#a6e22e", # class: 'na' - to be revised - Name.Builtin: "", # class: 'nb' - Name.Builtin.Pseudo: "", # class: 'bp' - Name.Class: "#a6e22e", # class: 'nc' - to be revised - Name.Constant: "#66d9ef", # class: 'no' - to be revised - Name.Decorator: "#a6e22e", # class: 'nd' - to be revised - Name.Entity: "", # class: 'ni' - Name.Exception: "#a6e22e", # class: 'ne' - Name.Function: "#a6e22e", # class: 'nf' - Name.Property: "", # class: 'py' - Name.Label: "", # class: 'nl' - Name.Namespace: "", # class: 'nn' - to be revised - Name.Other: "#a6e22e", # class: 'nx' - Name.Tag: "#f92672", # class: 'nt' - like a keyword - Name.Variable: "", # class: 'nv' - to be revised - Name.Variable.Class: "", # class: 'vc' - to be revised - Name.Variable.Global: "", # class: 'vg' - to be revised - Name.Variable.Instance: "", # class: 'vi' - to be revised - - Number: "#ae81ff", # class: 'm' - Number.Float: "", # class: 'mf' - Number.Hex: "", # class: 'mh' - Number.Integer: "", # class: 'mi' - Number.Integer.Long: "", # class: 'il' - Number.Oct: "", # class: 'mo' - - Literal: "#ae81ff", # class: 'l' - Literal.Date: "#e6db74", # class: 'ld' - - String: "#e6db74", # class: 's' - String.Backtick: "", # class: 'sb' - String.Char: "", # class: 'sc' - String.Doc: "", # class: 'sd' - like a comment - String.Double: "", # class: 's2' - String.Escape: "#ae81ff", # class: 'se' - String.Heredoc: "", # class: 'sh' - String.Interpol: "", # class: 'si' - String.Other: "", # class: 'sx' - String.Regex: "", # class: 'sr' - String.Single: "", # class: 's1' - String.Symbol: "", # class: 'ss' - - - Generic: "", # class: 'g' - Generic.Deleted: "#f92672", # class: 'gd', - Generic.Emph: "italic", # class: 'ge' - Generic.Error: "", # class: 'gr' - Generic.Heading: "", # class: 'gh' - Generic.Inserted: "#a6e22e", # class: 'gi' + Whitespace: "", # class: 'w' + Error: "#960050 bg:#1e0010", # class: 'err' + Other: "", # class 'x' + + Comment: "#75715e", # class: 'c' + Comment.Multiline: "", # class: 'cm' + Comment.Preproc: "", # class: 'cp' + Comment.Single: "", # class: 'c1' + Comment.Special: "", # class: 'cs' + + Keyword: "#66d9ef", # class: 'k' + Keyword.Constant: "", # class: 'kc' + Keyword.Declaration: "", # class: 'kd' + Keyword.Namespace: "#f92672", # class: 'kn' + Keyword.Pseudo: "", # class: 'kp' + Keyword.Reserved: "", # class: 'kr' + Keyword.Type: "", # class: 'kt' + + Operator: "#f92672", # class: 'o' + Operator.Word: "", # class: 'ow' - like keywords + + Punctuation: "#f8f8f2", # class: 'p' + + Name: "#f8f8f2", # class: 'n' + Name.Attribute: "#a6e22e", # class: 'na' - to be revised + Name.Builtin: "", # class: 'nb' + Name.Builtin.Pseudo: "", # class: 'bp' + Name.Class: "#a6e22e", # class: 'nc' - to be revised + Name.Constant: "#66d9ef", # class: 'no' - to be revised + Name.Decorator: "#a6e22e", # class: 'nd' - to be revised + Name.Entity: "", # class: 'ni' + Name.Exception: "#a6e22e", # class: 'ne' + Name.Function: "#a6e22e", # class: 'nf' + Name.Property: "", # class: 'py' + Name.Label: "", # class: 'nl' + Name.Namespace: "", # class: 'nn' - to be revised + Name.Other: "#a6e22e", # class: 'nx' + Name.Tag: "#f92672", # class: 'nt' - like a keyword + Name.Variable: "", # class: 'nv' - to be revised + Name.Variable.Class: "", # class: 'vc' - to be revised + Name.Variable.Global: "", # class: 'vg' - to be revised + Name.Variable.Instance: "", # class: 'vi' - to be revised + + Number: "#ae81ff", # class: 'm' + Number.Float: "", # class: 'mf' + Number.Hex: "", # class: 'mh' + Number.Integer: "", # class: 'mi' + Number.Integer.Long: "", # class: 'il' + Number.Oct: "", # class: 'mo' + + Literal: "#ae81ff", # class: 'l' + Literal.Date: "#e6db74", # class: 'ld' + + String: "#e6db74", # class: 's' + String.Backtick: "", # class: 'sb' + String.Char: "", # class: 'sc' + String.Doc: "", # class: 'sd' - like a comment + String.Double: "", # class: 's2' + String.Escape: "#ae81ff", # class: 'se' + String.Heredoc: "", # class: 'sh' + String.Interpol: "", # class: 'si' + String.Other: "", # class: 'sx' + String.Regex: "", # class: 'sr' + String.Single: "", # class: 's1' + String.Symbol: "", # class: 'ss' + + + Generic: "", # class: 'g' + Generic.Deleted: "#f92672", # class: 'gd', + Generic.Emph: "italic", # class: 'ge' + Generic.Error: "", # class: 'gr' + Generic.Heading: "", # class: 'gh' + Generic.Inserted: "#a6e22e", # class: 'gi' Generic.Output: "#66d9ef", # class: 'go' Generic.Prompt: "bold #f92672", # class: 'gp' - Generic.Strong: "bold", # class: 'gs' - Generic.Subheading: "#75715e", # class: 'gu' - Generic.Traceback: "", # class: 'gt' - } + Generic.Strong: "bold", # class: 'gs' + Generic.Subheading: "#75715e", # class: 'gu' + Generic.Traceback: "", # class: 'gt' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/murphy.py b/contrib/python/Pygments/py3/pygments/styles/murphy.py index 9115c2d87f..2728e6838e 100644 --- a/contrib/python/Pygments/py3/pygments/styles/murphy.py +++ b/contrib/python/Pygments/py3/pygments/styles/murphy.py @@ -1,79 +1,79 @@ -""" - pygments.styles.murphy - ~~~~~~~~~~~~~~~~~~~~~~ - - Murphy's style from CodeRay. - +""" + pygments.styles.murphy + ~~~~~~~~~~~~~~~~~~~~~~ + + Murphy's style from CodeRay. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class MurphyStyle(Style): - """ - Murphy's style from CodeRay. - """ - - default_style = "" - - styles = { - Whitespace: "#bbbbbb", - Comment: "#666 italic", - Comment.Preproc: "#579 noitalic", - Comment.Special: "#c00 bold", - - Keyword: "bold #289", - Keyword.Pseudo: "#08f", - Keyword.Type: "#66f", - - Operator: "#333", - Operator.Word: "bold #000", - - Name.Builtin: "#072", - Name.Function: "bold #5ed", - Name.Class: "bold #e9e", - Name.Namespace: "bold #0e84b5", - Name.Exception: "bold #F00", - Name.Variable: "#036", - Name.Variable.Instance: "#aaf", - Name.Variable.Class: "#ccf", - Name.Variable.Global: "#f84", - Name.Constant: "bold #5ed", - Name.Label: "bold #970", - Name.Entity: "#800", - Name.Attribute: "#007", - Name.Tag: "#070", - Name.Decorator: "bold #555", - - String: "bg:#e0e0ff", - String.Char: "#88F bg:", - String.Doc: "#D42 bg:", - String.Interpol: "bg:#eee", - String.Escape: "bold #666", - String.Regex: "bg:#e0e0ff #000", - String.Symbol: "#fc8 bg:", - String.Other: "#f88", - - Number: "bold #60E", - Number.Integer: "bold #66f", - Number.Float: "bold #60E", - Number.Hex: "bold #058", - Number.Oct: "bold #40E", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #c65d09", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "#F00 bg:#FAA" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class MurphyStyle(Style): + """ + Murphy's style from CodeRay. + """ + + default_style = "" + + styles = { + Whitespace: "#bbbbbb", + Comment: "#666 italic", + Comment.Preproc: "#579 noitalic", + Comment.Special: "#c00 bold", + + Keyword: "bold #289", + Keyword.Pseudo: "#08f", + Keyword.Type: "#66f", + + Operator: "#333", + Operator.Word: "bold #000", + + Name.Builtin: "#072", + Name.Function: "bold #5ed", + Name.Class: "bold #e9e", + Name.Namespace: "bold #0e84b5", + Name.Exception: "bold #F00", + Name.Variable: "#036", + Name.Variable.Instance: "#aaf", + Name.Variable.Class: "#ccf", + Name.Variable.Global: "#f84", + Name.Constant: "bold #5ed", + Name.Label: "bold #970", + Name.Entity: "#800", + Name.Attribute: "#007", + Name.Tag: "#070", + Name.Decorator: "bold #555", + + String: "bg:#e0e0ff", + String.Char: "#88F bg:", + String.Doc: "#D42 bg:", + String.Interpol: "bg:#eee", + String.Escape: "bold #666", + String.Regex: "bg:#e0e0ff #000", + String.Symbol: "#fc8 bg:", + String.Other: "#f88", + + Number: "bold #60E", + Number.Integer: "bold #66f", + Number.Float: "bold #60E", + Number.Hex: "bold #058", + Number.Oct: "bold #40E", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#A00000", + Generic.Inserted: "#00A000", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #c65d09", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "#F00 bg:#FAA" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/native.py b/contrib/python/Pygments/py3/pygments/styles/native.py index 9c2f2c16b8..dc9e0a8039 100644 --- a/contrib/python/Pygments/py3/pygments/styles/native.py +++ b/contrib/python/Pygments/py3/pygments/styles/native.py @@ -1,65 +1,65 @@ -""" - pygments.styles.native - ~~~~~~~~~~~~~~~~~~~~~~ - - pygments version of my "native" vim theme. - +""" + pygments.styles.native + ~~~~~~~~~~~~~~~~~~~~~~ + + pygments version of my "native" vim theme. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Token, Whitespace - - -class NativeStyle(Style): - """ - Pygments version of the "native" vim theme. - """ - - background_color = '#202020' - highlight_color = '#404040' + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Token, Whitespace + + +class NativeStyle(Style): + """ + Pygments version of the "native" vim theme. + """ + + background_color = '#202020' + highlight_color = '#404040' line_number_color = '#aaaaaa' - - styles = { - Token: '#d0d0d0', - Whitespace: '#666666', - - Comment: 'italic #999999', - Comment.Preproc: 'noitalic bold #cd2828', - Comment.Special: 'noitalic bold #e50808 bg:#520000', - - Keyword: 'bold #6ab825', - Keyword.Pseudo: 'nobold', - Operator.Word: 'bold #6ab825', - - String: '#ed9d13', - String.Other: '#ffa500', - - Number: '#3677a9', - - Name.Builtin: '#24909d', - Name.Variable: '#40ffff', - Name.Constant: '#40ffff', - Name.Class: 'underline #447fcf', - Name.Function: '#447fcf', - Name.Namespace: 'underline #447fcf', - Name.Exception: '#bbbbbb', - Name.Tag: 'bold #6ab825', - Name.Attribute: '#bbbbbb', - Name.Decorator: '#ffa500', - - Generic.Heading: 'bold #ffffff', - Generic.Subheading: 'underline #ffffff', - Generic.Deleted: '#d22323', - Generic.Inserted: '#589819', - Generic.Error: '#d22323', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#aaaaaa', - Generic.Output: '#cccccc', - Generic.Traceback: '#d22323', - - Error: 'bg:#e3d2d2 #a61717' - } + + styles = { + Token: '#d0d0d0', + Whitespace: '#666666', + + Comment: 'italic #999999', + Comment.Preproc: 'noitalic bold #cd2828', + Comment.Special: 'noitalic bold #e50808 bg:#520000', + + Keyword: 'bold #6ab825', + Keyword.Pseudo: 'nobold', + Operator.Word: 'bold #6ab825', + + String: '#ed9d13', + String.Other: '#ffa500', + + Number: '#3677a9', + + Name.Builtin: '#24909d', + Name.Variable: '#40ffff', + Name.Constant: '#40ffff', + Name.Class: 'underline #447fcf', + Name.Function: '#447fcf', + Name.Namespace: 'underline #447fcf', + Name.Exception: '#bbbbbb', + Name.Tag: 'bold #6ab825', + Name.Attribute: '#bbbbbb', + Name.Decorator: '#ffa500', + + Generic.Heading: 'bold #ffffff', + Generic.Subheading: 'underline #ffffff', + Generic.Deleted: '#d22323', + Generic.Inserted: '#589819', + Generic.Error: '#d22323', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#aaaaaa', + Generic.Output: '#cccccc', + Generic.Traceback: '#d22323', + + Error: 'bg:#e3d2d2 #a61717' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/paraiso_dark.py b/contrib/python/Pygments/py3/pygments/styles/paraiso_dark.py index 0c98f0058d..24ac1973ee 100644 --- a/contrib/python/Pygments/py3/pygments/styles/paraiso_dark.py +++ b/contrib/python/Pygments/py3/pygments/styles/paraiso_dark.py @@ -1,121 +1,121 @@ -""" - pygments.styles.paraiso_dark - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Paraíso (Dark) by Jan T. Sott - - Pygments template by Jan T. Sott (https://github.com/idleberg) - Created with Base16 Builder by Chris Kempson - (https://github.com/chriskempson/base16-builder). - +""" + pygments.styles.paraiso_dark + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Paraíso (Dark) by Jan T. Sott + + Pygments template by Jan T. Sott (https://github.com/idleberg) + Created with Base16 Builder by Chris Kempson + (https://github.com/chriskempson/base16-builder). + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, Text, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - - -BACKGROUND = "#2f1e2e" -CURRENT_LINE = "#41323f" -SELECTION = "#4f424c" -FOREGROUND = "#e7e9db" -COMMENT = "#776e71" -RED = "#ef6155" -ORANGE = "#f99b15" -YELLOW = "#fec418" -GREEN = "#48b685" -AQUA = "#5bc4bf" -BLUE = "#06b6ef" -PURPLE = "#815ba4" - - -class ParaisoDarkStyle(Style): - - default_style = '' - - background_color = BACKGROUND - highlight_color = SELECTION - - styles = { - # No corresponding class for the following: - Text: FOREGROUND, # class: '' - Whitespace: "", # class: 'w' - Error: RED, # class: 'err' - Other: "", # class 'x' - - Comment: COMMENT, # class: 'c' - Comment.Multiline: "", # class: 'cm' - Comment.Preproc: "", # class: 'cp' - Comment.Single: "", # class: 'c1' - Comment.Special: "", # class: 'cs' - - Keyword: PURPLE, # class: 'k' - Keyword.Constant: "", # class: 'kc' - Keyword.Declaration: "", # class: 'kd' - Keyword.Namespace: AQUA, # class: 'kn' - Keyword.Pseudo: "", # class: 'kp' - Keyword.Reserved: "", # class: 'kr' - Keyword.Type: YELLOW, # class: 'kt' - - Operator: AQUA, # class: 'o' - Operator.Word: "", # class: 'ow' - like keywords - - Punctuation: FOREGROUND, # class: 'p' - - Name: FOREGROUND, # class: 'n' - Name.Attribute: BLUE, # class: 'na' - to be revised - Name.Builtin: "", # class: 'nb' - Name.Builtin.Pseudo: "", # class: 'bp' - Name.Class: YELLOW, # class: 'nc' - to be revised - Name.Constant: RED, # class: 'no' - to be revised - Name.Decorator: AQUA, # class: 'nd' - to be revised - Name.Entity: "", # class: 'ni' - Name.Exception: RED, # class: 'ne' - Name.Function: BLUE, # class: 'nf' - Name.Property: "", # class: 'py' - Name.Label: "", # class: 'nl' - Name.Namespace: YELLOW, # class: 'nn' - to be revised - Name.Other: BLUE, # class: 'nx' - Name.Tag: AQUA, # class: 'nt' - like a keyword - Name.Variable: RED, # class: 'nv' - to be revised - Name.Variable.Class: "", # class: 'vc' - to be revised - Name.Variable.Global: "", # class: 'vg' - to be revised - Name.Variable.Instance: "", # class: 'vi' - to be revised - - Number: ORANGE, # class: 'm' - Number.Float: "", # class: 'mf' - Number.Hex: "", # class: 'mh' - Number.Integer: "", # class: 'mi' - Number.Integer.Long: "", # class: 'il' - Number.Oct: "", # class: 'mo' - - Literal: ORANGE, # class: 'l' - Literal.Date: GREEN, # class: 'ld' - - String: GREEN, # class: 's' - String.Backtick: "", # class: 'sb' - String.Char: FOREGROUND, # class: 'sc' - String.Doc: COMMENT, # class: 'sd' - like a comment - String.Double: "", # class: 's2' - String.Escape: ORANGE, # class: 'se' - String.Heredoc: "", # class: 'sh' - String.Interpol: ORANGE, # class: 'si' - String.Other: "", # class: 'sx' - String.Regex: "", # class: 'sr' - String.Single: "", # class: 's1' - String.Symbol: "", # class: 'ss' - - Generic: "", # class: 'g' - Generic.Deleted: RED, # class: 'gd', - Generic.Emph: "italic", # class: 'ge' - Generic.Error: "", # class: 'gr' - Generic.Heading: "bold " + FOREGROUND, # class: 'gh' - Generic.Inserted: GREEN, # class: 'gi' - Generic.Output: "", # class: 'go' - Generic.Prompt: "bold " + COMMENT, # class: 'gp' - Generic.Strong: "bold", # class: 'gs' - Generic.Subheading: "bold " + AQUA, # class: 'gu' - Generic.Traceback: "", # class: 'gt' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, Text, \ + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + + +BACKGROUND = "#2f1e2e" +CURRENT_LINE = "#41323f" +SELECTION = "#4f424c" +FOREGROUND = "#e7e9db" +COMMENT = "#776e71" +RED = "#ef6155" +ORANGE = "#f99b15" +YELLOW = "#fec418" +GREEN = "#48b685" +AQUA = "#5bc4bf" +BLUE = "#06b6ef" +PURPLE = "#815ba4" + + +class ParaisoDarkStyle(Style): + + default_style = '' + + background_color = BACKGROUND + highlight_color = SELECTION + + styles = { + # No corresponding class for the following: + Text: FOREGROUND, # class: '' + Whitespace: "", # class: 'w' + Error: RED, # class: 'err' + Other: "", # class 'x' + + Comment: COMMENT, # class: 'c' + Comment.Multiline: "", # class: 'cm' + Comment.Preproc: "", # class: 'cp' + Comment.Single: "", # class: 'c1' + Comment.Special: "", # class: 'cs' + + Keyword: PURPLE, # class: 'k' + Keyword.Constant: "", # class: 'kc' + Keyword.Declaration: "", # class: 'kd' + Keyword.Namespace: AQUA, # class: 'kn' + Keyword.Pseudo: "", # class: 'kp' + Keyword.Reserved: "", # class: 'kr' + Keyword.Type: YELLOW, # class: 'kt' + + Operator: AQUA, # class: 'o' + Operator.Word: "", # class: 'ow' - like keywords + + Punctuation: FOREGROUND, # class: 'p' + + Name: FOREGROUND, # class: 'n' + Name.Attribute: BLUE, # class: 'na' - to be revised + Name.Builtin: "", # class: 'nb' + Name.Builtin.Pseudo: "", # class: 'bp' + Name.Class: YELLOW, # class: 'nc' - to be revised + Name.Constant: RED, # class: 'no' - to be revised + Name.Decorator: AQUA, # class: 'nd' - to be revised + Name.Entity: "", # class: 'ni' + Name.Exception: RED, # class: 'ne' + Name.Function: BLUE, # class: 'nf' + Name.Property: "", # class: 'py' + Name.Label: "", # class: 'nl' + Name.Namespace: YELLOW, # class: 'nn' - to be revised + Name.Other: BLUE, # class: 'nx' + Name.Tag: AQUA, # class: 'nt' - like a keyword + Name.Variable: RED, # class: 'nv' - to be revised + Name.Variable.Class: "", # class: 'vc' - to be revised + Name.Variable.Global: "", # class: 'vg' - to be revised + Name.Variable.Instance: "", # class: 'vi' - to be revised + + Number: ORANGE, # class: 'm' + Number.Float: "", # class: 'mf' + Number.Hex: "", # class: 'mh' + Number.Integer: "", # class: 'mi' + Number.Integer.Long: "", # class: 'il' + Number.Oct: "", # class: 'mo' + + Literal: ORANGE, # class: 'l' + Literal.Date: GREEN, # class: 'ld' + + String: GREEN, # class: 's' + String.Backtick: "", # class: 'sb' + String.Char: FOREGROUND, # class: 'sc' + String.Doc: COMMENT, # class: 'sd' - like a comment + String.Double: "", # class: 's2' + String.Escape: ORANGE, # class: 'se' + String.Heredoc: "", # class: 'sh' + String.Interpol: ORANGE, # class: 'si' + String.Other: "", # class: 'sx' + String.Regex: "", # class: 'sr' + String.Single: "", # class: 's1' + String.Symbol: "", # class: 'ss' + + Generic: "", # class: 'g' + Generic.Deleted: RED, # class: 'gd', + Generic.Emph: "italic", # class: 'ge' + Generic.Error: "", # class: 'gr' + Generic.Heading: "bold " + FOREGROUND, # class: 'gh' + Generic.Inserted: GREEN, # class: 'gi' + Generic.Output: "", # class: 'go' + Generic.Prompt: "bold " + COMMENT, # class: 'gp' + Generic.Strong: "bold", # class: 'gs' + Generic.Subheading: "bold " + AQUA, # class: 'gu' + Generic.Traceback: "", # class: 'gt' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/paraiso_light.py b/contrib/python/Pygments/py3/pygments/styles/paraiso_light.py index 4c9f1392ac..e2ed6f7600 100644 --- a/contrib/python/Pygments/py3/pygments/styles/paraiso_light.py +++ b/contrib/python/Pygments/py3/pygments/styles/paraiso_light.py @@ -1,121 +1,121 @@ -""" - pygments.styles.paraiso_light - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - Paraíso (Light) by Jan T. Sott - - Pygments template by Jan T. Sott (https://github.com/idleberg) - Created with Base16 Builder by Chris Kempson - (https://github.com/chriskempson/base16-builder). - +""" + pygments.styles.paraiso_light + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Paraíso (Light) by Jan T. Sott + + Pygments template by Jan T. Sott (https://github.com/idleberg) + Created with Base16 Builder by Chris Kempson + (https://github.com/chriskempson/base16-builder). + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, Text, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - - -BACKGROUND = "#e7e9db" -CURRENT_LINE = "#b9b6b0" -SELECTION = "#a39e9b" -FOREGROUND = "#2f1e2e" -COMMENT = "#8d8687" -RED = "#ef6155" -ORANGE = "#f99b15" -YELLOW = "#fec418" -GREEN = "#48b685" -AQUA = "#5bc4bf" -BLUE = "#06b6ef" -PURPLE = "#815ba4" - - -class ParaisoLightStyle(Style): - - default_style = '' - - background_color = BACKGROUND - highlight_color = SELECTION - - styles = { - # No corresponding class for the following: - Text: FOREGROUND, # class: '' - Whitespace: "", # class: 'w' - Error: RED, # class: 'err' - Other: "", # class 'x' - - Comment: COMMENT, # class: 'c' - Comment.Multiline: "", # class: 'cm' - Comment.Preproc: "", # class: 'cp' - Comment.Single: "", # class: 'c1' - Comment.Special: "", # class: 'cs' - - Keyword: PURPLE, # class: 'k' - Keyword.Constant: "", # class: 'kc' - Keyword.Declaration: "", # class: 'kd' - Keyword.Namespace: AQUA, # class: 'kn' - Keyword.Pseudo: "", # class: 'kp' - Keyword.Reserved: "", # class: 'kr' - Keyword.Type: YELLOW, # class: 'kt' - - Operator: AQUA, # class: 'o' - Operator.Word: "", # class: 'ow' - like keywords - - Punctuation: FOREGROUND, # class: 'p' - - Name: FOREGROUND, # class: 'n' - Name.Attribute: BLUE, # class: 'na' - to be revised - Name.Builtin: "", # class: 'nb' - Name.Builtin.Pseudo: "", # class: 'bp' - Name.Class: YELLOW, # class: 'nc' - to be revised - Name.Constant: RED, # class: 'no' - to be revised - Name.Decorator: AQUA, # class: 'nd' - to be revised - Name.Entity: "", # class: 'ni' - Name.Exception: RED, # class: 'ne' - Name.Function: BLUE, # class: 'nf' - Name.Property: "", # class: 'py' - Name.Label: "", # class: 'nl' - Name.Namespace: YELLOW, # class: 'nn' - to be revised - Name.Other: BLUE, # class: 'nx' - Name.Tag: AQUA, # class: 'nt' - like a keyword - Name.Variable: RED, # class: 'nv' - to be revised - Name.Variable.Class: "", # class: 'vc' - to be revised - Name.Variable.Global: "", # class: 'vg' - to be revised - Name.Variable.Instance: "", # class: 'vi' - to be revised - - Number: ORANGE, # class: 'm' - Number.Float: "", # class: 'mf' - Number.Hex: "", # class: 'mh' - Number.Integer: "", # class: 'mi' - Number.Integer.Long: "", # class: 'il' - Number.Oct: "", # class: 'mo' - - Literal: ORANGE, # class: 'l' - Literal.Date: GREEN, # class: 'ld' - - String: GREEN, # class: 's' - String.Backtick: "", # class: 'sb' - String.Char: FOREGROUND, # class: 'sc' - String.Doc: COMMENT, # class: 'sd' - like a comment - String.Double: "", # class: 's2' - String.Escape: ORANGE, # class: 'se' - String.Heredoc: "", # class: 'sh' - String.Interpol: ORANGE, # class: 'si' - String.Other: "", # class: 'sx' - String.Regex: "", # class: 'sr' - String.Single: "", # class: 's1' - String.Symbol: "", # class: 'ss' - - Generic: "", # class: 'g' - Generic.Deleted: RED, # class: 'gd', - Generic.Emph: "italic", # class: 'ge' - Generic.Error: "", # class: 'gr' - Generic.Heading: "bold " + FOREGROUND, # class: 'gh' - Generic.Inserted: GREEN, # class: 'gi' - Generic.Output: "", # class: 'go' - Generic.Prompt: "bold " + COMMENT, # class: 'gp' - Generic.Strong: "bold", # class: 'gs' - Generic.Subheading: "bold " + AQUA, # class: 'gu' - Generic.Traceback: "", # class: 'gt' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, Text, \ + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + + +BACKGROUND = "#e7e9db" +CURRENT_LINE = "#b9b6b0" +SELECTION = "#a39e9b" +FOREGROUND = "#2f1e2e" +COMMENT = "#8d8687" +RED = "#ef6155" +ORANGE = "#f99b15" +YELLOW = "#fec418" +GREEN = "#48b685" +AQUA = "#5bc4bf" +BLUE = "#06b6ef" +PURPLE = "#815ba4" + + +class ParaisoLightStyle(Style): + + default_style = '' + + background_color = BACKGROUND + highlight_color = SELECTION + + styles = { + # No corresponding class for the following: + Text: FOREGROUND, # class: '' + Whitespace: "", # class: 'w' + Error: RED, # class: 'err' + Other: "", # class 'x' + + Comment: COMMENT, # class: 'c' + Comment.Multiline: "", # class: 'cm' + Comment.Preproc: "", # class: 'cp' + Comment.Single: "", # class: 'c1' + Comment.Special: "", # class: 'cs' + + Keyword: PURPLE, # class: 'k' + Keyword.Constant: "", # class: 'kc' + Keyword.Declaration: "", # class: 'kd' + Keyword.Namespace: AQUA, # class: 'kn' + Keyword.Pseudo: "", # class: 'kp' + Keyword.Reserved: "", # class: 'kr' + Keyword.Type: YELLOW, # class: 'kt' + + Operator: AQUA, # class: 'o' + Operator.Word: "", # class: 'ow' - like keywords + + Punctuation: FOREGROUND, # class: 'p' + + Name: FOREGROUND, # class: 'n' + Name.Attribute: BLUE, # class: 'na' - to be revised + Name.Builtin: "", # class: 'nb' + Name.Builtin.Pseudo: "", # class: 'bp' + Name.Class: YELLOW, # class: 'nc' - to be revised + Name.Constant: RED, # class: 'no' - to be revised + Name.Decorator: AQUA, # class: 'nd' - to be revised + Name.Entity: "", # class: 'ni' + Name.Exception: RED, # class: 'ne' + Name.Function: BLUE, # class: 'nf' + Name.Property: "", # class: 'py' + Name.Label: "", # class: 'nl' + Name.Namespace: YELLOW, # class: 'nn' - to be revised + Name.Other: BLUE, # class: 'nx' + Name.Tag: AQUA, # class: 'nt' - like a keyword + Name.Variable: RED, # class: 'nv' - to be revised + Name.Variable.Class: "", # class: 'vc' - to be revised + Name.Variable.Global: "", # class: 'vg' - to be revised + Name.Variable.Instance: "", # class: 'vi' - to be revised + + Number: ORANGE, # class: 'm' + Number.Float: "", # class: 'mf' + Number.Hex: "", # class: 'mh' + Number.Integer: "", # class: 'mi' + Number.Integer.Long: "", # class: 'il' + Number.Oct: "", # class: 'mo' + + Literal: ORANGE, # class: 'l' + Literal.Date: GREEN, # class: 'ld' + + String: GREEN, # class: 's' + String.Backtick: "", # class: 'sb' + String.Char: FOREGROUND, # class: 'sc' + String.Doc: COMMENT, # class: 'sd' - like a comment + String.Double: "", # class: 's2' + String.Escape: ORANGE, # class: 'se' + String.Heredoc: "", # class: 'sh' + String.Interpol: ORANGE, # class: 'si' + String.Other: "", # class: 'sx' + String.Regex: "", # class: 'sr' + String.Single: "", # class: 's1' + String.Symbol: "", # class: 'ss' + + Generic: "", # class: 'g' + Generic.Deleted: RED, # class: 'gd', + Generic.Emph: "italic", # class: 'ge' + Generic.Error: "", # class: 'gr' + Generic.Heading: "bold " + FOREGROUND, # class: 'gh' + Generic.Inserted: GREEN, # class: 'gi' + Generic.Output: "", # class: 'go' + Generic.Prompt: "bold " + COMMENT, # class: 'gp' + Generic.Strong: "bold", # class: 'gs' + Generic.Subheading: "bold " + AQUA, # class: 'gu' + Generic.Traceback: "", # class: 'gt' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/pastie.py b/contrib/python/Pygments/py3/pygments/styles/pastie.py index 14ec7007f5..c4bea36ae1 100644 --- a/contrib/python/Pygments/py3/pygments/styles/pastie.py +++ b/contrib/python/Pygments/py3/pygments/styles/pastie.py @@ -1,74 +1,74 @@ -""" - pygments.styles.pastie - ~~~~~~~~~~~~~~~~~~~~~~ - - Style similar to the `pastie`_ default style. - - .. _pastie: http://pastie.caboo.se/ - +""" + pygments.styles.pastie + ~~~~~~~~~~~~~~~~~~~~~~ + + Style similar to the `pastie`_ default style. + + .. _pastie: http://pastie.caboo.se/ + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class PastieStyle(Style): - """ - Style similar to the pastie default style. - """ - - default_style = '' - - styles = { - Whitespace: '#bbbbbb', - Comment: '#888888', - Comment.Preproc: 'bold #cc0000', - Comment.Special: 'bg:#fff0f0 bold #cc0000', - - String: 'bg:#fff0f0 #dd2200', - String.Regex: 'bg:#fff0ff #008800', - String.Other: 'bg:#f0fff0 #22bb22', - String.Symbol: '#aa6600', - String.Interpol: '#3333bb', - String.Escape: '#0044dd', - - Operator.Word: '#008800', - - Keyword: 'bold #008800', - Keyword.Pseudo: 'nobold', - Keyword.Type: '#888888', - - Name.Class: 'bold #bb0066', - Name.Exception: 'bold #bb0066', - Name.Function: 'bold #0066bb', - Name.Property: 'bold #336699', - Name.Namespace: 'bold #bb0066', - Name.Builtin: '#003388', - Name.Variable: '#336699', - Name.Variable.Class: '#336699', - Name.Variable.Instance: '#3333bb', - Name.Variable.Global: '#dd7700', - Name.Constant: 'bold #003366', - Name.Tag: 'bold #bb0066', - Name.Attribute: '#336699', - Name.Decorator: '#555555', - Name.Label: 'italic #336699', - - Number: 'bold #0000DD', - - Generic.Heading: '#333', - Generic.Subheading: '#666', - Generic.Deleted: 'bg:#ffdddd #000000', - Generic.Inserted: 'bg:#ddffdd #000000', - Generic.Error: '#aa0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#555555', - Generic.Output: '#888888', - Generic.Traceback: '#aa0000', - - Error: 'bg:#e3d2d2 #a61717' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class PastieStyle(Style): + """ + Style similar to the pastie default style. + """ + + default_style = '' + + styles = { + Whitespace: '#bbbbbb', + Comment: '#888888', + Comment.Preproc: 'bold #cc0000', + Comment.Special: 'bg:#fff0f0 bold #cc0000', + + String: 'bg:#fff0f0 #dd2200', + String.Regex: 'bg:#fff0ff #008800', + String.Other: 'bg:#f0fff0 #22bb22', + String.Symbol: '#aa6600', + String.Interpol: '#3333bb', + String.Escape: '#0044dd', + + Operator.Word: '#008800', + + Keyword: 'bold #008800', + Keyword.Pseudo: 'nobold', + Keyword.Type: '#888888', + + Name.Class: 'bold #bb0066', + Name.Exception: 'bold #bb0066', + Name.Function: 'bold #0066bb', + Name.Property: 'bold #336699', + Name.Namespace: 'bold #bb0066', + Name.Builtin: '#003388', + Name.Variable: '#336699', + Name.Variable.Class: '#336699', + Name.Variable.Instance: '#3333bb', + Name.Variable.Global: '#dd7700', + Name.Constant: 'bold #003366', + Name.Tag: 'bold #bb0066', + Name.Attribute: '#336699', + Name.Decorator: '#555555', + Name.Label: 'italic #336699', + + Number: 'bold #0000DD', + + Generic.Heading: '#333', + Generic.Subheading: '#666', + Generic.Deleted: 'bg:#ffdddd #000000', + Generic.Inserted: 'bg:#ddffdd #000000', + Generic.Error: '#aa0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#555555', + Generic.Output: '#888888', + Generic.Traceback: '#aa0000', + + Error: 'bg:#e3d2d2 #a61717' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/perldoc.py b/contrib/python/Pygments/py3/pygments/styles/perldoc.py index 5eae210fd8..1be5ac1a02 100644 --- a/contrib/python/Pygments/py3/pygments/styles/perldoc.py +++ b/contrib/python/Pygments/py3/pygments/styles/perldoc.py @@ -1,68 +1,68 @@ -""" - pygments.styles.perldoc - ~~~~~~~~~~~~~~~~~~~~~~~ - - Style similar to the style used in the `perldoc`_ code blocks. - - .. _perldoc: http://perldoc.perl.org/ - +""" + pygments.styles.perldoc + ~~~~~~~~~~~~~~~~~~~~~~~ + + Style similar to the style used in the `perldoc`_ code blocks. + + .. _perldoc: http://perldoc.perl.org/ + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class PerldocStyle(Style): - """ - Style similar to the style used in the perldoc code blocks. - """ - - background_color = '#eeeedd' - default_style = '' - - styles = { - Whitespace: '#bbbbbb', - Comment: '#228B22', - Comment.Preproc: '#1e889b', - Comment.Special: '#8B008B bold', - - String: '#CD5555', - String.Heredoc: '#1c7e71 italic', - String.Regex: '#B452CD', - String.Other: '#cb6c20', - String.Regex: '#1c7e71', - - Number: '#B452CD', - - Operator.Word: '#8B008B', - - Keyword: '#8B008B bold', + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class PerldocStyle(Style): + """ + Style similar to the style used in the perldoc code blocks. + """ + + background_color = '#eeeedd' + default_style = '' + + styles = { + Whitespace: '#bbbbbb', + Comment: '#228B22', + Comment.Preproc: '#1e889b', + Comment.Special: '#8B008B bold', + + String: '#CD5555', + String.Heredoc: '#1c7e71 italic', + String.Regex: '#B452CD', + String.Other: '#cb6c20', + String.Regex: '#1c7e71', + + Number: '#B452CD', + + Operator.Word: '#8B008B', + + Keyword: '#8B008B bold', Keyword.Type: '#00688B', - - Name.Class: '#008b45 bold', - Name.Exception: '#008b45 bold', - Name.Function: '#008b45', - Name.Namespace: '#008b45 underline', - Name.Variable: '#00688B', - Name.Constant: '#00688B', - Name.Decorator: '#707a7c', - Name.Tag: '#8B008B bold', - Name.Attribute: '#658b00', - Name.Builtin: '#658b00', - - Generic.Heading: 'bold #000080', - Generic.Subheading: 'bold #800080', - Generic.Deleted: '#aa0000', - Generic.Inserted: '#00aa00', - Generic.Error: '#aa0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#555555', - Generic.Output: '#888888', - Generic.Traceback: '#aa0000', - - Error: 'bg:#e3d2d2 #a61717' - } + + Name.Class: '#008b45 bold', + Name.Exception: '#008b45 bold', + Name.Function: '#008b45', + Name.Namespace: '#008b45 underline', + Name.Variable: '#00688B', + Name.Constant: '#00688B', + Name.Decorator: '#707a7c', + Name.Tag: '#8B008B bold', + Name.Attribute: '#658b00', + Name.Builtin: '#658b00', + + Generic.Heading: 'bold #000080', + Generic.Subheading: 'bold #800080', + Generic.Deleted: '#aa0000', + Generic.Inserted: '#00aa00', + Generic.Error: '#aa0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#555555', + Generic.Output: '#888888', + Generic.Traceback: '#aa0000', + + Error: 'bg:#e3d2d2 #a61717' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/rrt.py b/contrib/python/Pygments/py3/pygments/styles/rrt.py index 0b58152d4c..7c69c1104a 100644 --- a/contrib/python/Pygments/py3/pygments/styles/rrt.py +++ b/contrib/python/Pygments/py3/pygments/styles/rrt.py @@ -1,33 +1,33 @@ -""" - pygments.styles.rrt - ~~~~~~~~~~~~~~~~~~~ - - pygments "rrt" theme, based on Zap and Emacs defaults. - +""" + pygments.styles.rrt + ~~~~~~~~~~~~~~~~~~~ + + pygments "rrt" theme, based on Zap and Emacs defaults. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style from pygments.token import Token, Comment, Name, Keyword, String - - -class RrtStyle(Style): - """ - Minimalistic "rrt" theme, based on Zap and Emacs defaults. - """ - - background_color = '#000000' - highlight_color = '#0000ff' - - styles = { + + +class RrtStyle(Style): + """ + Minimalistic "rrt" theme, based on Zap and Emacs defaults. + """ + + background_color = '#000000' + highlight_color = '#0000ff' + + styles = { Token: '#dddddd', - Comment: '#00ff00', - Name.Function: '#ffff00', - Name.Variable: '#eedd82', - Name.Constant: '#7fffd4', - Keyword: '#ff0000', - Comment.Preproc: '#e5e5e5', - String: '#87ceeb', - Keyword.Type: '#ee82ee', - } + Comment: '#00ff00', + Name.Function: '#ffff00', + Name.Variable: '#eedd82', + Name.Constant: '#7fffd4', + Keyword: '#ff0000', + Comment.Preproc: '#e5e5e5', + String: '#87ceeb', + Keyword.Type: '#ee82ee', + } diff --git a/contrib/python/Pygments/py3/pygments/styles/tango.py b/contrib/python/Pygments/py3/pygments/styles/tango.py index 7a2f005b6c..0f1c6e8610 100644 --- a/contrib/python/Pygments/py3/pygments/styles/tango.py +++ b/contrib/python/Pygments/py3/pygments/styles/tango.py @@ -1,140 +1,140 @@ -""" - pygments.styles.tango - ~~~~~~~~~~~~~~~~~~~~~ - - The Crunchy default Style inspired from the color palette from - the Tango Icon Theme Guidelines. - - http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines - - Butter: #fce94f #edd400 #c4a000 - Orange: #fcaf3e #f57900 #ce5c00 - Chocolate: #e9b96e #c17d11 #8f5902 - Chameleon: #8ae234 #73d216 #4e9a06 - Sky Blue: #729fcf #3465a4 #204a87 - Plum: #ad7fa8 #75507b #5c35cc - Scarlet Red:#ef2929 #cc0000 #a40000 - Aluminium: #eeeeec #d3d7cf #babdb6 - #888a85 #555753 #2e3436 - - Not all of the above colors are used; other colors added: - very light grey: #f8f8f8 (for background) - - This style can be used as a template as it includes all the known - Token types, unlike most (if not all) of the styles included in the - Pygments distribution. - - However, since Crunchy is intended to be used by beginners, we have strived - to create a style that gloss over subtle distinctions between different - categories. - - Taking Python for example, comments (Comment.*) and docstrings (String.Doc) - have been chosen to have the same style. Similarly, keywords (Keyword.*), - and Operator.Word (and, or, in) have been assigned the same style. - +""" + pygments.styles.tango + ~~~~~~~~~~~~~~~~~~~~~ + + The Crunchy default Style inspired from the color palette from + the Tango Icon Theme Guidelines. + + http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines + + Butter: #fce94f #edd400 #c4a000 + Orange: #fcaf3e #f57900 #ce5c00 + Chocolate: #e9b96e #c17d11 #8f5902 + Chameleon: #8ae234 #73d216 #4e9a06 + Sky Blue: #729fcf #3465a4 #204a87 + Plum: #ad7fa8 #75507b #5c35cc + Scarlet Red:#ef2929 #cc0000 #a40000 + Aluminium: #eeeeec #d3d7cf #babdb6 + #888a85 #555753 #2e3436 + + Not all of the above colors are used; other colors added: + very light grey: #f8f8f8 (for background) + + This style can be used as a template as it includes all the known + Token types, unlike most (if not all) of the styles included in the + Pygments distribution. + + However, since Crunchy is intended to be used by beginners, we have strived + to create a style that gloss over subtle distinctions between different + categories. + + Taking Python for example, comments (Comment.*) and docstrings (String.Doc) + have been chosen to have the same style. Similarly, keywords (Keyword.*), + and Operator.Word (and, or, in) have been assigned the same style. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - - -class TangoStyle(Style): - """ - The Crunchy default Style inspired from the color palette from - the Tango Icon Theme Guidelines. - """ - - # work in progress... - - background_color = "#f8f8f8" - default_style = "" - - styles = { - # No corresponding class for the following: - #Text: "", # class: '' + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace, Punctuation, Other, Literal + + +class TangoStyle(Style): + """ + The Crunchy default Style inspired from the color palette from + the Tango Icon Theme Guidelines. + """ + + # work in progress... + + background_color = "#f8f8f8" + default_style = "" + + styles = { + # No corresponding class for the following: + #Text: "", # class: '' Whitespace: "#f8f8f8", # class: 'w' - Error: "#a40000 border:#ef2929", # class: 'err' - Other: "#000000", # class 'x' - - Comment: "italic #8f5902", # class: 'c' - Comment.Multiline: "italic #8f5902", # class: 'cm' - Comment.Preproc: "italic #8f5902", # class: 'cp' - Comment.Single: "italic #8f5902", # class: 'c1' - Comment.Special: "italic #8f5902", # class: 'cs' - - Keyword: "bold #204a87", # class: 'k' - Keyword.Constant: "bold #204a87", # class: 'kc' - Keyword.Declaration: "bold #204a87", # class: 'kd' - Keyword.Namespace: "bold #204a87", # class: 'kn' - Keyword.Pseudo: "bold #204a87", # class: 'kp' - Keyword.Reserved: "bold #204a87", # class: 'kr' - Keyword.Type: "bold #204a87", # class: 'kt' - - Operator: "bold #ce5c00", # class: 'o' - Operator.Word: "bold #204a87", # class: 'ow' - like keywords - - Punctuation: "bold #000000", # class: 'p' - - # because special names such as Name.Class, Name.Function, etc. - # are not recognized as such later in the parsing, we choose them - # to look the same as ordinary variables. - Name: "#000000", # class: 'n' - Name.Attribute: "#c4a000", # class: 'na' - to be revised - Name.Builtin: "#204a87", # class: 'nb' - Name.Builtin.Pseudo: "#3465a4", # class: 'bp' - Name.Class: "#000000", # class: 'nc' - to be revised - Name.Constant: "#000000", # class: 'no' - to be revised - Name.Decorator: "bold #5c35cc", # class: 'nd' - to be revised - Name.Entity: "#ce5c00", # class: 'ni' - Name.Exception: "bold #cc0000", # class: 'ne' - Name.Function: "#000000", # class: 'nf' - Name.Property: "#000000", # class: 'py' - Name.Label: "#f57900", # class: 'nl' - Name.Namespace: "#000000", # class: 'nn' - to be revised - Name.Other: "#000000", # class: 'nx' - Name.Tag: "bold #204a87", # class: 'nt' - like a keyword - Name.Variable: "#000000", # class: 'nv' - to be revised - Name.Variable.Class: "#000000", # class: 'vc' - to be revised - Name.Variable.Global: "#000000", # class: 'vg' - to be revised - Name.Variable.Instance: "#000000", # class: 'vi' - to be revised - - # since the tango light blue does not show up well in text, we choose - # a pure blue instead. - Number: "bold #0000cf", # class: 'm' - Number.Float: "bold #0000cf", # class: 'mf' - Number.Hex: "bold #0000cf", # class: 'mh' - Number.Integer: "bold #0000cf", # class: 'mi' - Number.Integer.Long: "bold #0000cf", # class: 'il' - Number.Oct: "bold #0000cf", # class: 'mo' - - Literal: "#000000", # class: 'l' - Literal.Date: "#000000", # class: 'ld' - - String: "#4e9a06", # class: 's' - String.Backtick: "#4e9a06", # class: 'sb' - String.Char: "#4e9a06", # class: 'sc' - String.Doc: "italic #8f5902", # class: 'sd' - like a comment - String.Double: "#4e9a06", # class: 's2' - String.Escape: "#4e9a06", # class: 'se' - String.Heredoc: "#4e9a06", # class: 'sh' - String.Interpol: "#4e9a06", # class: 'si' - String.Other: "#4e9a06", # class: 'sx' - String.Regex: "#4e9a06", # class: 'sr' - String.Single: "#4e9a06", # class: 's1' - String.Symbol: "#4e9a06", # class: 'ss' - - Generic: "#000000", # class: 'g' - Generic.Deleted: "#a40000", # class: 'gd' - Generic.Emph: "italic #000000", # class: 'ge' - Generic.Error: "#ef2929", # class: 'gr' - Generic.Heading: "bold #000080", # class: 'gh' - Generic.Inserted: "#00A000", # class: 'gi' - Generic.Output: "italic #000000", # class: 'go' - Generic.Prompt: "#8f5902", # class: 'gp' - Generic.Strong: "bold #000000", # class: 'gs' - Generic.Subheading: "bold #800080", # class: 'gu' - Generic.Traceback: "bold #a40000", # class: 'gt' - } + Error: "#a40000 border:#ef2929", # class: 'err' + Other: "#000000", # class 'x' + + Comment: "italic #8f5902", # class: 'c' + Comment.Multiline: "italic #8f5902", # class: 'cm' + Comment.Preproc: "italic #8f5902", # class: 'cp' + Comment.Single: "italic #8f5902", # class: 'c1' + Comment.Special: "italic #8f5902", # class: 'cs' + + Keyword: "bold #204a87", # class: 'k' + Keyword.Constant: "bold #204a87", # class: 'kc' + Keyword.Declaration: "bold #204a87", # class: 'kd' + Keyword.Namespace: "bold #204a87", # class: 'kn' + Keyword.Pseudo: "bold #204a87", # class: 'kp' + Keyword.Reserved: "bold #204a87", # class: 'kr' + Keyword.Type: "bold #204a87", # class: 'kt' + + Operator: "bold #ce5c00", # class: 'o' + Operator.Word: "bold #204a87", # class: 'ow' - like keywords + + Punctuation: "bold #000000", # class: 'p' + + # because special names such as Name.Class, Name.Function, etc. + # are not recognized as such later in the parsing, we choose them + # to look the same as ordinary variables. + Name: "#000000", # class: 'n' + Name.Attribute: "#c4a000", # class: 'na' - to be revised + Name.Builtin: "#204a87", # class: 'nb' + Name.Builtin.Pseudo: "#3465a4", # class: 'bp' + Name.Class: "#000000", # class: 'nc' - to be revised + Name.Constant: "#000000", # class: 'no' - to be revised + Name.Decorator: "bold #5c35cc", # class: 'nd' - to be revised + Name.Entity: "#ce5c00", # class: 'ni' + Name.Exception: "bold #cc0000", # class: 'ne' + Name.Function: "#000000", # class: 'nf' + Name.Property: "#000000", # class: 'py' + Name.Label: "#f57900", # class: 'nl' + Name.Namespace: "#000000", # class: 'nn' - to be revised + Name.Other: "#000000", # class: 'nx' + Name.Tag: "bold #204a87", # class: 'nt' - like a keyword + Name.Variable: "#000000", # class: 'nv' - to be revised + Name.Variable.Class: "#000000", # class: 'vc' - to be revised + Name.Variable.Global: "#000000", # class: 'vg' - to be revised + Name.Variable.Instance: "#000000", # class: 'vi' - to be revised + + # since the tango light blue does not show up well in text, we choose + # a pure blue instead. + Number: "bold #0000cf", # class: 'm' + Number.Float: "bold #0000cf", # class: 'mf' + Number.Hex: "bold #0000cf", # class: 'mh' + Number.Integer: "bold #0000cf", # class: 'mi' + Number.Integer.Long: "bold #0000cf", # class: 'il' + Number.Oct: "bold #0000cf", # class: 'mo' + + Literal: "#000000", # class: 'l' + Literal.Date: "#000000", # class: 'ld' + + String: "#4e9a06", # class: 's' + String.Backtick: "#4e9a06", # class: 'sb' + String.Char: "#4e9a06", # class: 'sc' + String.Doc: "italic #8f5902", # class: 'sd' - like a comment + String.Double: "#4e9a06", # class: 's2' + String.Escape: "#4e9a06", # class: 'se' + String.Heredoc: "#4e9a06", # class: 'sh' + String.Interpol: "#4e9a06", # class: 'si' + String.Other: "#4e9a06", # class: 'sx' + String.Regex: "#4e9a06", # class: 'sr' + String.Single: "#4e9a06", # class: 's1' + String.Symbol: "#4e9a06", # class: 'ss' + + Generic: "#000000", # class: 'g' + Generic.Deleted: "#a40000", # class: 'gd' + Generic.Emph: "italic #000000", # class: 'ge' + Generic.Error: "#ef2929", # class: 'gr' + Generic.Heading: "bold #000080", # class: 'gh' + Generic.Inserted: "#00A000", # class: 'gi' + Generic.Output: "italic #000000", # class: 'go' + Generic.Prompt: "#8f5902", # class: 'gp' + Generic.Strong: "bold #000000", # class: 'gs' + Generic.Subheading: "bold #800080", # class: 'gu' + Generic.Traceback: "bold #a40000", # class: 'gt' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/trac.py b/contrib/python/Pygments/py3/pygments/styles/trac.py index b2a1fd4d2e..bcbf88bf52 100644 --- a/contrib/python/Pygments/py3/pygments/styles/trac.py +++ b/contrib/python/Pygments/py3/pygments/styles/trac.py @@ -1,62 +1,62 @@ -""" - pygments.styles.trac - ~~~~~~~~~~~~~~~~~~~~ - - Port of the default trac highlighter design. - +""" + pygments.styles.trac + ~~~~~~~~~~~~~~~~~~~~ + + Port of the default trac highlighter design. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace - - -class TracStyle(Style): - """ - Port of the default trac highlighter design. - """ - - default_style = '' - - styles = { - Whitespace: '#bbbbbb', - Comment: 'italic #999988', - Comment.Preproc: 'bold noitalic #999999', - Comment.Special: 'bold #999999', - - Operator: 'bold', - - String: '#bb8844', - String.Regex: '#808000', - - Number: '#009999', - - Keyword: 'bold', - Keyword.Type: '#445588', - - Name.Builtin: '#999999', - Name.Function: 'bold #990000', - Name.Class: 'bold #445588', - Name.Exception: 'bold #990000', - Name.Namespace: '#555555', - Name.Variable: '#008080', - Name.Constant: '#008080', - Name.Tag: '#000080', - Name.Attribute: '#008080', - Name.Entity: '#800080', - - Generic.Heading: '#999999', - Generic.Subheading: '#aaaaaa', - Generic.Deleted: 'bg:#ffdddd #000000', - Generic.Inserted: 'bg:#ddffdd #000000', - Generic.Error: '#aa0000', - Generic.Emph: 'italic', - Generic.Strong: 'bold', - Generic.Prompt: '#555555', - Generic.Output: '#888888', - Generic.Traceback: '#aa0000', - - Error: 'bg:#e3d2d2 #a61717' - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace + + +class TracStyle(Style): + """ + Port of the default trac highlighter design. + """ + + default_style = '' + + styles = { + Whitespace: '#bbbbbb', + Comment: 'italic #999988', + Comment.Preproc: 'bold noitalic #999999', + Comment.Special: 'bold #999999', + + Operator: 'bold', + + String: '#bb8844', + String.Regex: '#808000', + + Number: '#009999', + + Keyword: 'bold', + Keyword.Type: '#445588', + + Name.Builtin: '#999999', + Name.Function: 'bold #990000', + Name.Class: 'bold #445588', + Name.Exception: 'bold #990000', + Name.Namespace: '#555555', + Name.Variable: '#008080', + Name.Constant: '#008080', + Name.Tag: '#000080', + Name.Attribute: '#008080', + Name.Entity: '#800080', + + Generic.Heading: '#999999', + Generic.Subheading: '#aaaaaa', + Generic.Deleted: 'bg:#ffdddd #000000', + Generic.Inserted: 'bg:#ddffdd #000000', + Generic.Error: '#aa0000', + Generic.Emph: 'italic', + Generic.Strong: 'bold', + Generic.Prompt: '#555555', + Generic.Output: '#888888', + Generic.Traceback: '#aa0000', + + Error: 'bg:#e3d2d2 #a61717' + } diff --git a/contrib/python/Pygments/py3/pygments/styles/vim.py b/contrib/python/Pygments/py3/pygments/styles/vim.py index f498606bdb..4cceb1f995 100644 --- a/contrib/python/Pygments/py3/pygments/styles/vim.py +++ b/contrib/python/Pygments/py3/pygments/styles/vim.py @@ -1,62 +1,62 @@ -""" - pygments.styles.vim - ~~~~~~~~~~~~~~~~~~~ - - A highlighting style for Pygments, inspired by vim. - +""" + pygments.styles.vim + ~~~~~~~~~~~~~~~~~~~ + + A highlighting style for Pygments, inspired by vim. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace, Token - - -class VimStyle(Style): - """ - Styles somewhat like vim 7.0 - """ - - background_color = "#000000" - highlight_color = "#222222" - default_style = "#cccccc" - - styles = { - Token: "#cccccc", - Whitespace: "", - Comment: "#000080", - Comment.Preproc: "", - Comment.Special: "bold #cd0000", - - Keyword: "#cdcd00", - Keyword.Declaration: "#00cd00", - Keyword.Namespace: "#cd00cd", - Keyword.Pseudo: "", - Keyword.Type: "#00cd00", - - Operator: "#3399cc", - Operator.Word: "#cdcd00", - - Name: "", - Name.Class: "#00cdcd", - Name.Builtin: "#cd00cd", - Name.Exception: "bold #666699", - Name.Variable: "#00cdcd", - - String: "#cd0000", - Number: "#cd00cd", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#cd0000", - Generic.Inserted: "#00cd00", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #000080", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Generic, Whitespace, Token + + +class VimStyle(Style): + """ + Styles somewhat like vim 7.0 + """ + + background_color = "#000000" + highlight_color = "#222222" + default_style = "#cccccc" + + styles = { + Token: "#cccccc", + Whitespace: "", + Comment: "#000080", + Comment.Preproc: "", + Comment.Special: "bold #cd0000", + + Keyword: "#cdcd00", + Keyword.Declaration: "#00cd00", + Keyword.Namespace: "#cd00cd", + Keyword.Pseudo: "", + Keyword.Type: "#00cd00", + + Operator: "#3399cc", + Operator.Word: "#cdcd00", + + Name: "", + Name.Class: "#00cdcd", + Name.Builtin: "#cd00cd", + Name.Exception: "bold #666699", + Name.Variable: "#00cdcd", + + String: "#cd0000", + Number: "#cd00cd", + + Generic.Heading: "bold #000080", + Generic.Subheading: "bold #800080", + Generic.Deleted: "#cd0000", + Generic.Inserted: "#00cd00", + Generic.Error: "#FF0000", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold #000080", + Generic.Output: "#888", + Generic.Traceback: "#04D", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/vs.py b/contrib/python/Pygments/py3/pygments/styles/vs.py index a504f912a2..1ca38d8c38 100644 --- a/contrib/python/Pygments/py3/pygments/styles/vs.py +++ b/contrib/python/Pygments/py3/pygments/styles/vs.py @@ -1,37 +1,37 @@ -""" - pygments.styles.vs - ~~~~~~~~~~~~~~~~~~ - - Simple style with MS Visual Studio colors. - +""" + pygments.styles.vs + ~~~~~~~~~~~~~~~~~~ + + Simple style with MS Visual Studio colors. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Operator, Generic - - -class VisualStudioStyle(Style): - - background_color = "#ffffff" - default_style = "" - - styles = { - Comment: "#008000", - Comment.Preproc: "#0000ff", - Keyword: "#0000ff", - Operator.Word: "#0000ff", - Keyword.Type: "#2b91af", - Name.Class: "#2b91af", - String: "#a31515", - - Generic.Heading: "bold", - Generic.Subheading: "bold", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold", - - Error: "border:#FF0000" - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Operator, Generic + + +class VisualStudioStyle(Style): + + background_color = "#ffffff" + default_style = "" + + styles = { + Comment: "#008000", + Comment.Preproc: "#0000ff", + Keyword: "#0000ff", + Operator.Word: "#0000ff", + Keyword.Type: "#2b91af", + Name.Class: "#2b91af", + String: "#a31515", + + Generic.Heading: "bold", + Generic.Subheading: "bold", + Generic.Emph: "italic", + Generic.Strong: "bold", + Generic.Prompt: "bold", + + Error: "border:#FF0000" + } diff --git a/contrib/python/Pygments/py3/pygments/styles/xcode.py b/contrib/python/Pygments/py3/pygments/styles/xcode.py index fd8621e7d1..391a4c76d0 100644 --- a/contrib/python/Pygments/py3/pygments/styles/xcode.py +++ b/contrib/python/Pygments/py3/pygments/styles/xcode.py @@ -1,50 +1,50 @@ -""" - pygments.styles.xcode - ~~~~~~~~~~~~~~~~~~~~~ - - Style similar to the `Xcode` default theme. - +""" + pygments.styles.xcode + ~~~~~~~~~~~~~~~~~~~~~ + + Style similar to the `Xcode` default theme. + :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Literal - - -class XcodeStyle(Style): - """ - Style similar to the Xcode default colouring theme. - """ - - default_style = '' - - styles = { - Comment: '#177500', - Comment.Preproc: '#633820', - - String: '#C41A16', - String.Char: '#2300CE', - - Operator: '#000000', - - Keyword: '#A90D91', - - Name: '#000000', - Name.Attribute: '#836C28', - Name.Class: '#3F6E75', - Name.Function: '#000000', - Name.Builtin: '#A90D91', - # In Obj-C code this token is used to colour Cocoa types - Name.Builtin.Pseudo: '#5B269A', - Name.Variable: '#000000', - Name.Tag: '#000000', - Name.Decorator: '#000000', - # Workaround for a BUG here: lexer treats multiline method signatres as labels - Name.Label: '#000000', - - Literal: '#1C01CE', - Number: '#1C01CE', - Error: '#000000', - } + :license: BSD, see LICENSE for details. +""" + +from pygments.style import Style +from pygments.token import Keyword, Name, Comment, String, Error, \ + Number, Operator, Literal + + +class XcodeStyle(Style): + """ + Style similar to the Xcode default colouring theme. + """ + + default_style = '' + + styles = { + Comment: '#177500', + Comment.Preproc: '#633820', + + String: '#C41A16', + String.Char: '#2300CE', + + Operator: '#000000', + + Keyword: '#A90D91', + + Name: '#000000', + Name.Attribute: '#836C28', + Name.Class: '#3F6E75', + Name.Function: '#000000', + Name.Builtin: '#A90D91', + # In Obj-C code this token is used to colour Cocoa types + Name.Builtin.Pseudo: '#5B269A', + Name.Variable: '#000000', + Name.Tag: '#000000', + Name.Decorator: '#000000', + # Workaround for a BUG here: lexer treats multiline method signatres as labels + Name.Label: '#000000', + + Literal: '#1C01CE', + Number: '#1C01CE', + Error: '#000000', + } |