diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-27 09:16:03 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-27 09:16:03 +0100 |
commit | fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c (patch) | |
tree | 3e508c94d5ac69869aa69fc686cd54e02bfcad27 /searx/plugins | |
parent | c849731eb1df23b8509a947fcc2807adb34dc730 (diff) | |
download | searxng-fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c.tar.gz searxng-fcdc2c2cd26e24c2aa3f064d93cee3e29dc2a30c.zip |
[format.python] disable py code formatting for some hunks of code
Disable the python code formatting from python-black, where the readability of
code suffers by formatting.
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/plugins')
-rw-r--r-- | searx/plugins/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 91636fe33..4c824da28 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -17,15 +17,19 @@ from searx import logger, settings logger = logger.getChild("plugins") required_attrs = ( + # fmt: off ("name", str), ("description", str), ("default_on", bool) + # fmt: on ) optional_attrs = ( + # fmt: off ("js_dependencies", tuple), ("css_dependencies", tuple), ("preference_section", str), + # fmt: on ) |