jinja2_workarounds offers an extension for jinja2 that works around a long standing issue1 where include does not preserve correct indentation for multi-line includes. Simply add the jinja2_workarounds.MultiLineInclude extension to your environment and use the indent content directive to correctly in...
This is an example of code, not totally illogic, created one time with a source code size of 60, the python specification and the alphabet '01': (indentation can miss) if parameter1 == parameter2 and haveThat: do_that if have_that: say_this do_that if know_that and have_many_thin...
the first YAML example has an offset of two in an indent of four. the second example forformats(https://docs.readthedocs.io/en/stable/config-file/v2.html#formats), has an offset of three in an indent of five the value for `extra_requirements forpython(https://docs.readthedocs.io/en/s...
File "c:\Users\XXXX\AppData\Local\Programs\Python\Python311\Lib\site-packages\yt_dlp\extractor\tiktok.py", line 1029 info['duration'] = int_or_none(info.get('duration'), 1000) TabError: inconsistent use of tabs and spaces in indentation ...
It often doesn't matter, but there are cases where **indentation** is a part of the Markdown syntax. This is particularly true with the [Admonition](https://python-markdown.github.io/extensions/admonition/) syntax extension, used for defining notes, warnings, etc. (see also the [descrip...
Python indentations are assumed to occur at multiples of the value of the shiftwidth setting. Usually set shiftwidth=4 is used for Python code.These commands can go into your .vimrc to always be set. Python files should then appear in Vim with Cyfolds folding, set to the default ...
Users with dict objects using non-str keys should specify option=orjson.OPT_NON_STR_KEYS. sort_keys is replaced by option=orjson.OPT_SORT_KEYS. indent is replaced by option=orjson.OPT_INDENT_2 and other levels of indentation are not supported....
Type: Bug Returning with another diff view issue after #204948 (cc @hediet ) Steps to Reproduce: Playground link The await along with indentation on line 16/30 should not be marked as diff, should it? The incorrect marking disappears if ...
If displayed, the indentation and linebreaks appear like this:{ "a": "b", "c": { "d": true }, "e": [ 1, 2 ] }This measures serializing the github.json fixture as compact (52KiB) or pretty (64KiB):Librarycompact (ms)pretty (ms)vs. orjson orjson 0.01 0.02 1 json 0.13 0.54...
What context is your variable defined in? I'm seeing some indentation, so it'd be helpful to know what scope it's being defined in. Copy link Member jakebailey commented Nov 5, 2019 Ah, sorry, I forgot you linked the code. I'll have to go test this on the real thing. Copy...