@djlint/linux-s390x-gnu 0.0.0-stage → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +675 -0
- package/README.md +4 -2
- package/package.json +23 -4
- package/python/bin/python3 +0 -0
- package/python/lib/python3.14/LICENSE.txt +277 -0
- package/python/lib/python3.14/__future__.py +147 -0
- package/python/lib/python3.14/__hello__.py +16 -0
- package/python/lib/python3.14/__phello__/__init__.py +7 -0
- package/python/lib/python3.14/__phello__/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__phello__/__pycache__/spam.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__phello__/spam.py +7 -0
- package/python/lib/python3.14/__pycache__/__future__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/__hello__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_aix_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_android_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_apple_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_ast_unparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_collections_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_colorize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_compat_pickle.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_ios_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_markupbase.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_opcode_metadata.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_osx_support.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_py_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_py_warnings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pydatetime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pydecimal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pyio.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_pylong.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_sitebuiltins.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_strptime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_sysconfigdata__linux_s390x-linux-gnu.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_threading_local.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/_weakrefset.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/annotationlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/antigravity.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/argparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ast.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/base64.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bdb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bisect.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/bz2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/cProfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/calendar.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/cmd.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/code.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/codecs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/codeop.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/colorsys.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/compileall.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/configparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/contextlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/contextvars.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/copy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/copyreg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/csv.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/dataclasses.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/datetime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/decimal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/difflib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/dis.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/doctest.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/enum.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/filecmp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fileinput.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fnmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/fractions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ftplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/functools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/genericpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/getopt.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/getpass.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/gettext.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/glob.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/graphlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/gzip.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/hashlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/heapq.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/hmac.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/imaplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/inspect.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/io.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ipaddress.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/keyword.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/linecache.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/locale.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/lzma.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/mailbox.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/mimetypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/modulefinder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/netrc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ntpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/nturl2path.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/numbers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/opcode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/operator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/optparse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/os.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pdb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pickle.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pickletools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pkgutil.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/platform.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/plistlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/poplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/posixpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pprint.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/profile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pstats.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pty.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/py_compile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pyclbr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/pydoc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/queue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/quopri.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/random.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/reprlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/rlcompleter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/runpy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sched.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/secrets.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/selectors.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shelve.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shlex.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/shutil.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/signal.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/site.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/smtplib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/socket.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/socketserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_compile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/sre_parse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/ssl.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/stat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/statistics.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/stringprep.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/struct.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/symtable.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tabnanny.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tarfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tempfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/textwrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/this.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/threading.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/timeit.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/token.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tokenize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/trace.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/traceback.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tracemalloc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/tty.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/typing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/uuid.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/warnings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/wave.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/weakref.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/webbrowser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/zipapp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/__pycache__/zipimport.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_aix_support.py +108 -0
- package/python/lib/python3.14/_android_support.py +192 -0
- package/python/lib/python3.14/_apple_support.py +66 -0
- package/python/lib/python3.14/_ast_unparse.py +1161 -0
- package/python/lib/python3.14/_collections_abc.py +1172 -0
- package/python/lib/python3.14/_colorize.py +355 -0
- package/python/lib/python3.14/_compat_pickle.py +251 -0
- package/python/lib/python3.14/_ios_support.py +74 -0
- package/python/lib/python3.14/_markupbase.py +396 -0
- package/python/lib/python3.14/_opcode_metadata.py +371 -0
- package/python/lib/python3.14/_osx_support.py +579 -0
- package/python/lib/python3.14/_py_abc.py +152 -0
- package/python/lib/python3.14/_py_warnings.py +869 -0
- package/python/lib/python3.14/_pydatetime.py +2734 -0
- package/python/lib/python3.14/_pydecimal.py +6503 -0
- package/python/lib/python3.14/_pyio.py +2764 -0
- package/python/lib/python3.14/_pylong.py +729 -0
- package/python/lib/python3.14/_pyrepl/__init__.py +19 -0
- package/python/lib/python3.14/_pyrepl/__main__.py +10 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/_module_completer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/_threading_handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/base_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/commands.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/completing_reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/fancy_termios.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/historical_reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/input.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/keymap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/pager.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/readline.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/simple_interact.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/terminfo.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/trace.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/unix_console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/unix_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/windows_console.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/__pycache__/windows_eventqueue.cpython-314.pyc +0 -0
- package/python/lib/python3.14/_pyrepl/_module_completer.py +426 -0
- package/python/lib/python3.14/_pyrepl/_threading_handler.py +74 -0
- package/python/lib/python3.14/_pyrepl/base_eventqueue.py +110 -0
- package/python/lib/python3.14/_pyrepl/commands.py +505 -0
- package/python/lib/python3.14/_pyrepl/completing_reader.py +299 -0
- package/python/lib/python3.14/_pyrepl/console.py +229 -0
- package/python/lib/python3.14/_pyrepl/fancy_termios.py +82 -0
- package/python/lib/python3.14/_pyrepl/historical_reader.py +424 -0
- package/python/lib/python3.14/_pyrepl/input.py +114 -0
- package/python/lib/python3.14/_pyrepl/keymap.py +213 -0
- package/python/lib/python3.14/_pyrepl/main.py +58 -0
- package/python/lib/python3.14/_pyrepl/mypy.ini +25 -0
- package/python/lib/python3.14/_pyrepl/pager.py +175 -0
- package/python/lib/python3.14/_pyrepl/reader.py +773 -0
- package/python/lib/python3.14/_pyrepl/readline.py +621 -0
- package/python/lib/python3.14/_pyrepl/simple_interact.py +186 -0
- package/python/lib/python3.14/_pyrepl/terminfo.py +488 -0
- package/python/lib/python3.14/_pyrepl/trace.py +34 -0
- package/python/lib/python3.14/_pyrepl/types.py +10 -0
- package/python/lib/python3.14/_pyrepl/unix_console.py +860 -0
- package/python/lib/python3.14/_pyrepl/unix_eventqueue.py +77 -0
- package/python/lib/python3.14/_pyrepl/utils.py +391 -0
- package/python/lib/python3.14/_pyrepl/windows_console.py +735 -0
- package/python/lib/python3.14/_pyrepl/windows_eventqueue.py +42 -0
- package/python/lib/python3.14/_sitebuiltins.py +91 -0
- package/python/lib/python3.14/_strptime.py +822 -0
- package/python/lib/python3.14/_sysconfig_vars__linux_s390x-linux-gnu.json +1166 -0
- package/python/lib/python3.14/_sysconfigdata__linux_s390x-linux-gnu.py +1152 -0
- package/python/lib/python3.14/_threading_local.py +120 -0
- package/python/lib/python3.14/_weakrefset.py +147 -0
- package/python/lib/python3.14/abc.py +188 -0
- package/python/lib/python3.14/annotationlib.py +1205 -0
- package/python/lib/python3.14/antigravity.py +17 -0
- package/python/lib/python3.14/argparse.py +2789 -0
- package/python/lib/python3.14/ast.py +680 -0
- package/python/lib/python3.14/asyncio/__init__.py +74 -0
- package/python/lib/python3.14/asyncio/__main__.py +248 -0
- package/python/lib/python3.14/asyncio/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_futures.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/base_tasks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/coroutines.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/format_helpers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/futures.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/graph.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/locks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/log.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/mixins.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/proactor_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/protocols.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/runners.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/selector_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/sslproto.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/staggered.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/streams.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/subprocess.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/taskgroups.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/tasks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/threads.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/timeouts.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/tools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/transports.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/trsock.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/unix_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/windows_events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/__pycache__/windows_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/asyncio/base_events.py +2089 -0
- package/python/lib/python3.14/asyncio/base_futures.py +67 -0
- package/python/lib/python3.14/asyncio/base_subprocess.py +327 -0
- package/python/lib/python3.14/asyncio/base_tasks.py +94 -0
- package/python/lib/python3.14/asyncio/constants.py +41 -0
- package/python/lib/python3.14/asyncio/coroutines.py +118 -0
- package/python/lib/python3.14/asyncio/events.py +881 -0
- package/python/lib/python3.14/asyncio/exceptions.py +62 -0
- package/python/lib/python3.14/asyncio/format_helpers.py +84 -0
- package/python/lib/python3.14/asyncio/futures.py +481 -0
- package/python/lib/python3.14/asyncio/graph.py +279 -0
- package/python/lib/python3.14/asyncio/locks.py +617 -0
- package/python/lib/python3.14/asyncio/log.py +7 -0
- package/python/lib/python3.14/asyncio/mixins.py +21 -0
- package/python/lib/python3.14/asyncio/proactor_events.py +923 -0
- package/python/lib/python3.14/asyncio/protocols.py +216 -0
- package/python/lib/python3.14/asyncio/queues.py +309 -0
- package/python/lib/python3.14/asyncio/runners.py +226 -0
- package/python/lib/python3.14/asyncio/selector_events.py +1337 -0
- package/python/lib/python3.14/asyncio/sslproto.py +937 -0
- package/python/lib/python3.14/asyncio/staggered.py +179 -0
- package/python/lib/python3.14/asyncio/streams.py +804 -0
- package/python/lib/python3.14/asyncio/subprocess.py +229 -0
- package/python/lib/python3.14/asyncio/taskgroups.py +280 -0
- package/python/lib/python3.14/asyncio/tasks.py +1145 -0
- package/python/lib/python3.14/asyncio/threads.py +26 -0
- package/python/lib/python3.14/asyncio/timeouts.py +183 -0
- package/python/lib/python3.14/asyncio/tools.py +278 -0
- package/python/lib/python3.14/asyncio/transports.py +337 -0
- package/python/lib/python3.14/asyncio/trsock.py +98 -0
- package/python/lib/python3.14/asyncio/unix_events.py +1031 -0
- package/python/lib/python3.14/asyncio/windows_events.py +906 -0
- package/python/lib/python3.14/asyncio/windows_utils.py +181 -0
- package/python/lib/python3.14/base64.py +625 -0
- package/python/lib/python3.14/bdb.py +1214 -0
- package/python/lib/python3.14/bisect.py +118 -0
- package/python/lib/python3.14/build-details.json +58 -0
- package/python/lib/python3.14/bz2.py +352 -0
- package/python/lib/python3.14/cProfile.py +207 -0
- package/python/lib/python3.14/calendar.py +926 -0
- package/python/lib/python3.14/cmd.py +414 -0
- package/python/lib/python3.14/code.py +396 -0
- package/python/lib/python3.14/codecs.py +1125 -0
- package/python/lib/python3.14/codeop.py +154 -0
- package/python/lib/python3.14/collections/__init__.py +1612 -0
- package/python/lib/python3.14/collections/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/colorsys.py +166 -0
- package/python/lib/python3.14/compileall.py +472 -0
- package/python/lib/python3.14/compression/__init__.py +0 -0
- package/python/lib/python3.14/compression/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/bz2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/gzip.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/lzma.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/__pycache__/zlib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/_common/__init__.py +0 -0
- package/python/lib/python3.14/compression/_common/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/_common/__pycache__/_streams.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/_common/_streams.py +162 -0
- package/python/lib/python3.14/compression/bz2.py +5 -0
- package/python/lib/python3.14/compression/gzip.py +5 -0
- package/python/lib/python3.14/compression/lzma.py +5 -0
- package/python/lib/python3.14/compression/zlib.py +5 -0
- package/python/lib/python3.14/compression/zstd/__init__.py +244 -0
- package/python/lib/python3.14/compression/zstd/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/zstd/__pycache__/_zstdfile.cpython-314.pyc +0 -0
- package/python/lib/python3.14/compression/zstd/_zstdfile.py +347 -0
- package/python/lib/python3.14/concurrent/__init__.py +1 -0
- package/python/lib/python3.14/concurrent/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__init__.py +65 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/interpreter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/process.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/__pycache__/thread.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/futures/_base.py +680 -0
- package/python/lib/python3.14/concurrent/futures/interpreter.py +123 -0
- package/python/lib/python3.14/concurrent/futures/process.py +1047 -0
- package/python/lib/python3.14/concurrent/futures/thread.py +274 -0
- package/python/lib/python3.14/concurrent/interpreters/__init__.py +253 -0
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/_crossinterp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/__pycache__/_queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/concurrent/interpreters/_crossinterp.py +107 -0
- package/python/lib/python3.14/concurrent/interpreters/_queues.py +290 -0
- package/python/lib/python3.14/configparser.py +1426 -0
- package/python/lib/python3.14/contextlib.py +814 -0
- package/python/lib/python3.14/contextvars.py +8 -0
- package/python/lib/python3.14/copy.py +286 -0
- package/python/lib/python3.14/copyreg.py +222 -0
- package/python/lib/python3.14/csv.py +527 -0
- package/python/lib/python3.14/ctypes/__init__.py +686 -0
- package/python/lib/python3.14/ctypes/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_aix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_endian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/_layout.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/__pycache__/wintypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/_aix.py +327 -0
- package/python/lib/python3.14/ctypes/_endian.py +78 -0
- package/python/lib/python3.14/ctypes/_layout.py +330 -0
- package/python/lib/python3.14/ctypes/macholib/README.ctypes +7 -0
- package/python/lib/python3.14/ctypes/macholib/__init__.py +9 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/dyld.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/dylib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/__pycache__/framework.cpython-314.pyc +0 -0
- package/python/lib/python3.14/ctypes/macholib/dyld.py +165 -0
- package/python/lib/python3.14/ctypes/macholib/dylib.py +42 -0
- package/python/lib/python3.14/ctypes/macholib/fetch_macholib +2 -0
- package/python/lib/python3.14/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python/lib/python3.14/ctypes/macholib/framework.py +42 -0
- package/python/lib/python3.14/ctypes/util.py +502 -0
- package/python/lib/python3.14/ctypes/wintypes.py +210 -0
- package/python/lib/python3.14/curses/__init__.py +101 -0
- package/python/lib/python3.14/curses/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/ascii.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/has_key.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/panel.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/__pycache__/textpad.cpython-314.pyc +0 -0
- package/python/lib/python3.14/curses/ascii.py +99 -0
- package/python/lib/python3.14/curses/has_key.py +192 -0
- package/python/lib/python3.14/curses/panel.py +6 -0
- package/python/lib/python3.14/curses/textpad.py +236 -0
- package/python/lib/python3.14/dataclasses.py +1813 -0
- package/python/lib/python3.14/datetime.py +13 -0
- package/python/lib/python3.14/dbm/__init__.py +194 -0
- package/python/lib/python3.14/dbm/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/dumb.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/gnu.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/ndbm.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/__pycache__/sqlite3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/dbm/dumb.py +319 -0
- package/python/lib/python3.14/dbm/gnu.py +3 -0
- package/python/lib/python3.14/dbm/ndbm.py +3 -0
- package/python/lib/python3.14/dbm/sqlite3.py +144 -0
- package/python/lib/python3.14/decimal.py +109 -0
- package/python/lib/python3.14/difflib.py +2066 -0
- package/python/lib/python3.14/dis.py +1157 -0
- package/python/lib/python3.14/doctest.py +2922 -0
- package/python/lib/python3.14/email/__init__.py +61 -0
- package/python/lib/python3.14/email/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_encoded_words.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_header_value_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_parseaddr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/_policybase.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/base64mime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/charset.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/contentmanager.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/encoders.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/errors.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/feedparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/generator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/header.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/headerregistry.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/iterators.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/message.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/policy.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/quoprimime.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/_encoded_words.py +233 -0
- package/python/lib/python3.14/email/_header_value_parser.py +3164 -0
- package/python/lib/python3.14/email/_parseaddr.py +563 -0
- package/python/lib/python3.14/email/_policybase.py +392 -0
- package/python/lib/python3.14/email/architecture.rst +216 -0
- package/python/lib/python3.14/email/base64mime.py +115 -0
- package/python/lib/python3.14/email/charset.py +396 -0
- package/python/lib/python3.14/email/contentmanager.py +254 -0
- package/python/lib/python3.14/email/encoders.py +65 -0
- package/python/lib/python3.14/email/errors.py +117 -0
- package/python/lib/python3.14/email/feedparser.py +536 -0
- package/python/lib/python3.14/email/generator.py +530 -0
- package/python/lib/python3.14/email/header.py +582 -0
- package/python/lib/python3.14/email/headerregistry.py +618 -0
- package/python/lib/python3.14/email/iterators.py +68 -0
- package/python/lib/python3.14/email/message.py +1217 -0
- package/python/lib/python3.14/email/mime/__init__.py +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/application.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/audio.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/image.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/message.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/multipart.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/nonmultipart.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/__pycache__/text.cpython-314.pyc +0 -0
- package/python/lib/python3.14/email/mime/application.py +37 -0
- package/python/lib/python3.14/email/mime/audio.py +97 -0
- package/python/lib/python3.14/email/mime/base.py +29 -0
- package/python/lib/python3.14/email/mime/image.py +152 -0
- package/python/lib/python3.14/email/mime/message.py +33 -0
- package/python/lib/python3.14/email/mime/multipart.py +47 -0
- package/python/lib/python3.14/email/mime/nonmultipart.py +21 -0
- package/python/lib/python3.14/email/mime/text.py +40 -0
- package/python/lib/python3.14/email/parser.py +127 -0
- package/python/lib/python3.14/email/policy.py +239 -0
- package/python/lib/python3.14/email/quoprimime.py +300 -0
- package/python/lib/python3.14/email/utils.py +489 -0
- package/python/lib/python3.14/encodings/__init__.py +182 -0
- package/python/lib/python3.14/encodings/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/_win_cp_codecs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/aliases.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/ascii.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/base64_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/big5.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/big5hkscs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/bz2_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/charmap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp037.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1006.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1026.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1125.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1140.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1250.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1251.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1252.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1253.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1254.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1255.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1256.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1257.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp1258.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp273.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp424.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp437.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp500.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp720.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp737.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp775.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp850.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp852.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp855.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp856.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp857.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp858.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp860.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp861.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp862.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp863.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp864.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp865.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp866.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp869.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp874.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp875.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp932.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp949.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/cp950.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jis_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jisx0213.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_jp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/euc_kr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gb18030.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gb2312.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/gbk.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hex_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hp_roman8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/hz.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/idna.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_jp_ext.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso2022_kr.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_10.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_11.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_13.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_14.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_15.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_16.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_3.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_4.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_5.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_6.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_7.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/iso8859_9.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/johab.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_r.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_t.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/koi8_u.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/kz1048.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/latin_1.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_arabic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_croatian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_cyrillic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_farsi.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_greek.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_iceland.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_latin2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_roman.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_romanian.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mac_turkish.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/mbcs.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/oem.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/palmos.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/ptcp154.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/punycode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/quopri_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/raw_unicode_escape.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/rot_13.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jis.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jis_2004.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/shift_jisx0213.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/tis_620.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/undefined.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/unicode_escape.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16_be.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_16_le.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32_be.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_32_le.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_7.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_8.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/utf_8_sig.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/uu_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/__pycache__/zlib_codec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/encodings/_win_cp_codecs.py +36 -0
- package/python/lib/python3.14/encodings/aliases.py +568 -0
- package/python/lib/python3.14/encodings/ascii.py +50 -0
- package/python/lib/python3.14/encodings/base64_codec.py +55 -0
- package/python/lib/python3.14/encodings/big5.py +39 -0
- package/python/lib/python3.14/encodings/big5hkscs.py +39 -0
- package/python/lib/python3.14/encodings/bz2_codec.py +78 -0
- package/python/lib/python3.14/encodings/charmap.py +69 -0
- package/python/lib/python3.14/encodings/cp037.py +307 -0
- package/python/lib/python3.14/encodings/cp1006.py +307 -0
- package/python/lib/python3.14/encodings/cp1026.py +307 -0
- package/python/lib/python3.14/encodings/cp1125.py +698 -0
- package/python/lib/python3.14/encodings/cp1140.py +307 -0
- package/python/lib/python3.14/encodings/cp1250.py +307 -0
- package/python/lib/python3.14/encodings/cp1251.py +307 -0
- package/python/lib/python3.14/encodings/cp1252.py +307 -0
- package/python/lib/python3.14/encodings/cp1253.py +307 -0
- package/python/lib/python3.14/encodings/cp1254.py +307 -0
- package/python/lib/python3.14/encodings/cp1255.py +307 -0
- package/python/lib/python3.14/encodings/cp1256.py +307 -0
- package/python/lib/python3.14/encodings/cp1257.py +307 -0
- package/python/lib/python3.14/encodings/cp1258.py +307 -0
- package/python/lib/python3.14/encodings/cp273.py +307 -0
- package/python/lib/python3.14/encodings/cp424.py +307 -0
- package/python/lib/python3.14/encodings/cp437.py +698 -0
- package/python/lib/python3.14/encodings/cp500.py +307 -0
- package/python/lib/python3.14/encodings/cp720.py +309 -0
- package/python/lib/python3.14/encodings/cp737.py +698 -0
- package/python/lib/python3.14/encodings/cp775.py +697 -0
- package/python/lib/python3.14/encodings/cp850.py +698 -0
- package/python/lib/python3.14/encodings/cp852.py +698 -0
- package/python/lib/python3.14/encodings/cp855.py +698 -0
- package/python/lib/python3.14/encodings/cp856.py +307 -0
- package/python/lib/python3.14/encodings/cp857.py +694 -0
- package/python/lib/python3.14/encodings/cp858.py +698 -0
- package/python/lib/python3.14/encodings/cp860.py +698 -0
- package/python/lib/python3.14/encodings/cp861.py +698 -0
- package/python/lib/python3.14/encodings/cp862.py +698 -0
- package/python/lib/python3.14/encodings/cp863.py +698 -0
- package/python/lib/python3.14/encodings/cp864.py +690 -0
- package/python/lib/python3.14/encodings/cp865.py +698 -0
- package/python/lib/python3.14/encodings/cp866.py +698 -0
- package/python/lib/python3.14/encodings/cp869.py +689 -0
- package/python/lib/python3.14/encodings/cp874.py +307 -0
- package/python/lib/python3.14/encodings/cp875.py +307 -0
- package/python/lib/python3.14/encodings/cp932.py +39 -0
- package/python/lib/python3.14/encodings/cp949.py +39 -0
- package/python/lib/python3.14/encodings/cp950.py +39 -0
- package/python/lib/python3.14/encodings/euc_jis_2004.py +39 -0
- package/python/lib/python3.14/encodings/euc_jisx0213.py +39 -0
- package/python/lib/python3.14/encodings/euc_jp.py +39 -0
- package/python/lib/python3.14/encodings/euc_kr.py +39 -0
- package/python/lib/python3.14/encodings/gb18030.py +39 -0
- package/python/lib/python3.14/encodings/gb2312.py +39 -0
- package/python/lib/python3.14/encodings/gbk.py +39 -0
- package/python/lib/python3.14/encodings/hex_codec.py +55 -0
- package/python/lib/python3.14/encodings/hp_roman8.py +314 -0
- package/python/lib/python3.14/encodings/hz.py +39 -0
- package/python/lib/python3.14/encodings/idna.py +387 -0
- package/python/lib/python3.14/encodings/iso2022_jp.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_jp_1.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_jp_2.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_jp_2004.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_jp_3.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_jp_ext.py +39 -0
- package/python/lib/python3.14/encodings/iso2022_kr.py +39 -0
- package/python/lib/python3.14/encodings/iso8859_1.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_10.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_11.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_13.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_14.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_15.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_16.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_2.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_3.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_4.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_5.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_6.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_7.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_8.py +307 -0
- package/python/lib/python3.14/encodings/iso8859_9.py +307 -0
- package/python/lib/python3.14/encodings/johab.py +39 -0
- package/python/lib/python3.14/encodings/koi8_r.py +307 -0
- package/python/lib/python3.14/encodings/koi8_t.py +308 -0
- package/python/lib/python3.14/encodings/koi8_u.py +307 -0
- package/python/lib/python3.14/encodings/kz1048.py +307 -0
- package/python/lib/python3.14/encodings/latin_1.py +50 -0
- package/python/lib/python3.14/encodings/mac_arabic.py +698 -0
- package/python/lib/python3.14/encodings/mac_croatian.py +307 -0
- package/python/lib/python3.14/encodings/mac_cyrillic.py +307 -0
- package/python/lib/python3.14/encodings/mac_farsi.py +307 -0
- package/python/lib/python3.14/encodings/mac_greek.py +307 -0
- package/python/lib/python3.14/encodings/mac_iceland.py +307 -0
- package/python/lib/python3.14/encodings/mac_latin2.py +312 -0
- package/python/lib/python3.14/encodings/mac_roman.py +307 -0
- package/python/lib/python3.14/encodings/mac_romanian.py +307 -0
- package/python/lib/python3.14/encodings/mac_turkish.py +307 -0
- package/python/lib/python3.14/encodings/mbcs.py +47 -0
- package/python/lib/python3.14/encodings/oem.py +41 -0
- package/python/lib/python3.14/encodings/palmos.py +308 -0
- package/python/lib/python3.14/encodings/ptcp154.py +312 -0
- package/python/lib/python3.14/encodings/punycode.py +253 -0
- package/python/lib/python3.14/encodings/quopri_codec.py +56 -0
- package/python/lib/python3.14/encodings/raw_unicode_escape.py +46 -0
- package/python/lib/python3.14/encodings/rot_13.py +113 -0
- package/python/lib/python3.14/encodings/shift_jis.py +39 -0
- package/python/lib/python3.14/encodings/shift_jis_2004.py +39 -0
- package/python/lib/python3.14/encodings/shift_jisx0213.py +39 -0
- package/python/lib/python3.14/encodings/tis_620.py +307 -0
- package/python/lib/python3.14/encodings/undefined.py +49 -0
- package/python/lib/python3.14/encodings/unicode_escape.py +46 -0
- package/python/lib/python3.14/encodings/utf_16.py +155 -0
- package/python/lib/python3.14/encodings/utf_16_be.py +42 -0
- package/python/lib/python3.14/encodings/utf_16_le.py +42 -0
- package/python/lib/python3.14/encodings/utf_32.py +150 -0
- package/python/lib/python3.14/encodings/utf_32_be.py +37 -0
- package/python/lib/python3.14/encodings/utf_32_le.py +37 -0
- package/python/lib/python3.14/encodings/utf_7.py +38 -0
- package/python/lib/python3.14/encodings/utf_8.py +42 -0
- package/python/lib/python3.14/encodings/utf_8_sig.py +130 -0
- package/python/lib/python3.14/encodings/uu_codec.py +103 -0
- package/python/lib/python3.14/encodings/zlib_codec.py +77 -0
- package/python/lib/python3.14/enum.py +2169 -0
- package/python/lib/python3.14/filecmp.py +320 -0
- package/python/lib/python3.14/fileinput.py +442 -0
- package/python/lib/python3.14/fnmatch.py +209 -0
- package/python/lib/python3.14/fractions.py +1078 -0
- package/python/lib/python3.14/ftplib.py +975 -0
- package/python/lib/python3.14/functools.py +1165 -0
- package/python/lib/python3.14/genericpath.py +200 -0
- package/python/lib/python3.14/getopt.py +232 -0
- package/python/lib/python3.14/getpass.py +256 -0
- package/python/lib/python3.14/gettext.py +660 -0
- package/python/lib/python3.14/glob.py +574 -0
- package/python/lib/python3.14/graphlib.py +254 -0
- package/python/lib/python3.14/gzip.py +724 -0
- package/python/lib/python3.14/hashlib.py +255 -0
- package/python/lib/python3.14/heapq.py +611 -0
- package/python/lib/python3.14/hmac.py +279 -0
- package/python/lib/python3.14/html/__init__.py +132 -0
- package/python/lib/python3.14/html/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/html/__pycache__/entities.cpython-314.pyc +0 -0
- package/python/lib/python3.14/html/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/html/entities.py +2513 -0
- package/python/lib/python3.14/html/parser.py +583 -0
- package/python/lib/python3.14/http/__init__.py +213 -0
- package/python/lib/python3.14/http/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/client.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/cookiejar.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/cookies.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/http/client.py +1598 -0
- package/python/lib/python3.14/http/cookiejar.py +2135 -0
- package/python/lib/python3.14/http/cookies.py +637 -0
- package/python/lib/python3.14/http/server.py +1445 -0
- package/python/lib/python3.14/imaplib.py +2090 -0
- package/python/lib/python3.14/importlib/__init__.py +136 -0
- package/python/lib/python3.14/importlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_bootstrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/_bootstrap_external.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/machinery.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/readers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/simple.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/_abc.py +39 -0
- package/python/lib/python3.14/importlib/_bootstrap.py +1570 -0
- package/python/lib/python3.14/importlib/_bootstrap_external.py +1566 -0
- package/python/lib/python3.14/importlib/abc.py +234 -0
- package/python/lib/python3.14/importlib/machinery.py +50 -0
- package/python/lib/python3.14/importlib/metadata/__init__.py +1093 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_collections.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_functools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_meta.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/_text.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/__pycache__/diagnose.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/metadata/_adapters.py +89 -0
- package/python/lib/python3.14/importlib/metadata/_collections.py +30 -0
- package/python/lib/python3.14/importlib/metadata/_functools.py +104 -0
- package/python/lib/python3.14/importlib/metadata/_itertools.py +73 -0
- package/python/lib/python3.14/importlib/metadata/_meta.py +67 -0
- package/python/lib/python3.14/importlib/metadata/_text.py +99 -0
- package/python/lib/python3.14/importlib/metadata/diagnose.py +21 -0
- package/python/lib/python3.14/importlib/readers.py +12 -0
- package/python/lib/python3.14/importlib/resources/__init__.py +43 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_adapters.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_common.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_functional.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/_itertools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/abc.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/readers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/__pycache__/simple.cpython-314.pyc +0 -0
- package/python/lib/python3.14/importlib/resources/_adapters.py +168 -0
- package/python/lib/python3.14/importlib/resources/_common.py +211 -0
- package/python/lib/python3.14/importlib/resources/_functional.py +81 -0
- package/python/lib/python3.14/importlib/resources/_itertools.py +38 -0
- package/python/lib/python3.14/importlib/resources/abc.py +173 -0
- package/python/lib/python3.14/importlib/resources/readers.py +203 -0
- package/python/lib/python3.14/importlib/resources/simple.py +106 -0
- package/python/lib/python3.14/importlib/simple.py +14 -0
- package/python/lib/python3.14/importlib/util.py +279 -0
- package/python/lib/python3.14/inspect.py +3425 -0
- package/python/lib/python3.14/io.py +150 -0
- package/python/lib/python3.14/ipaddress.py +2421 -0
- package/python/lib/python3.14/json/__init__.py +365 -0
- package/python/lib/python3.14/json/__main__.py +20 -0
- package/python/lib/python3.14/json/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/decoder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/encoder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/scanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/__pycache__/tool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/json/decoder.py +364 -0
- package/python/lib/python3.14/json/encoder.py +461 -0
- package/python/lib/python3.14/json/scanner.py +73 -0
- package/python/lib/python3.14/json/tool.py +122 -0
- package/python/lib/python3.14/keyword.py +64 -0
- package/python/lib/python3.14/lib-dynload/.empty +0 -0
- package/python/lib/python3.14/lib-dynload/_dbm.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/linecache.py +302 -0
- package/python/lib/python3.14/locale.py +1992 -0
- package/python/lib/python3.14/logging/__init__.py +2335 -0
- package/python/lib/python3.14/logging/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/__pycache__/config.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/__pycache__/handlers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/logging/config.py +1093 -0
- package/python/lib/python3.14/logging/handlers.py +1654 -0
- package/python/lib/python3.14/lzma.py +364 -0
- package/python/lib/python3.14/mailbox.py +2220 -0
- package/python/lib/python3.14/mimetypes.py +755 -0
- package/python/lib/python3.14/modulefinder.py +671 -0
- package/python/lib/python3.14/multiprocessing/__init__.py +37 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/context.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/forkserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/heap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/managers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/pool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_fork.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_forkserver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_posix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/popen_spawn_win32.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/process.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/queues.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/reduction.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/resource_sharer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/resource_tracker.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/shared_memory.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/sharedctypes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/spawn.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/synchronize.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/connection.py +1233 -0
- package/python/lib/python3.14/multiprocessing/context.py +405 -0
- package/python/lib/python3.14/multiprocessing/dummy/__init__.py +126 -0
- package/python/lib/python3.14/multiprocessing/dummy/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/dummy/__pycache__/connection.cpython-314.pyc +0 -0
- package/python/lib/python3.14/multiprocessing/dummy/connection.py +75 -0
- package/python/lib/python3.14/multiprocessing/forkserver.py +429 -0
- package/python/lib/python3.14/multiprocessing/heap.py +337 -0
- package/python/lib/python3.14/multiprocessing/managers.py +1438 -0
- package/python/lib/python3.14/multiprocessing/pool.py +957 -0
- package/python/lib/python3.14/multiprocessing/popen_fork.py +100 -0
- package/python/lib/python3.14/multiprocessing/popen_forkserver.py +74 -0
- package/python/lib/python3.14/multiprocessing/popen_spawn_posix.py +76 -0
- package/python/lib/python3.14/multiprocessing/popen_spawn_win32.py +147 -0
- package/python/lib/python3.14/multiprocessing/process.py +443 -0
- package/python/lib/python3.14/multiprocessing/queues.py +399 -0
- package/python/lib/python3.14/multiprocessing/reduction.py +281 -0
- package/python/lib/python3.14/multiprocessing/resource_sharer.py +154 -0
- package/python/lib/python3.14/multiprocessing/resource_tracker.py +495 -0
- package/python/lib/python3.14/multiprocessing/shared_memory.py +544 -0
- package/python/lib/python3.14/multiprocessing/sharedctypes.py +240 -0
- package/python/lib/python3.14/multiprocessing/spawn.py +307 -0
- package/python/lib/python3.14/multiprocessing/synchronize.py +411 -0
- package/python/lib/python3.14/multiprocessing/util.py +619 -0
- package/python/lib/python3.14/netrc.py +200 -0
- package/python/lib/python3.14/ntpath.py +889 -0
- package/python/lib/python3.14/nturl2path.py +82 -0
- package/python/lib/python3.14/numbers.py +427 -0
- package/python/lib/python3.14/opcode.py +122 -0
- package/python/lib/python3.14/operator.py +475 -0
- package/python/lib/python3.14/optparse.py +1664 -0
- package/python/lib/python3.14/os.py +1191 -0
- package/python/lib/python3.14/pathlib/__init__.py +1307 -0
- package/python/lib/python3.14/pathlib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/_local.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/_os.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/pathlib/_local.py +12 -0
- package/python/lib/python3.14/pathlib/_os.py +530 -0
- package/python/lib/python3.14/pathlib/types.py +430 -0
- package/python/lib/python3.14/pdb.py +3682 -0
- package/python/lib/python3.14/pickle.py +1925 -0
- package/python/lib/python3.14/pickletools.py +2887 -0
- package/python/lib/python3.14/pkgutil.py +474 -0
- package/python/lib/python3.14/platform.py +1515 -0
- package/python/lib/python3.14/plistlib.py +956 -0
- package/python/lib/python3.14/poplib.py +477 -0
- package/python/lib/python3.14/posixpath.py +592 -0
- package/python/lib/python3.14/pprint.py +675 -0
- package/python/lib/python3.14/profile.py +615 -0
- package/python/lib/python3.14/pstats.py +777 -0
- package/python/lib/python3.14/pty.py +182 -0
- package/python/lib/python3.14/py_compile.py +212 -0
- package/python/lib/python3.14/pyclbr.py +314 -0
- package/python/lib/python3.14/pydoc.py +2890 -0
- package/python/lib/python3.14/queue.py +385 -0
- package/python/lib/python3.14/quopri.py +235 -0
- package/python/lib/python3.14/random.py +1087 -0
- package/python/lib/python3.14/re/__init__.py +428 -0
- package/python/lib/python3.14/re/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_casefix.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_compiler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_constants.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/__pycache__/_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/re/_casefix.py +106 -0
- package/python/lib/python3.14/re/_compiler.py +782 -0
- package/python/lib/python3.14/re/_constants.py +224 -0
- package/python/lib/python3.14/re/_parser.py +1066 -0
- package/python/lib/python3.14/reprlib.py +230 -0
- package/python/lib/python3.14/rlcompleter.py +222 -0
- package/python/lib/python3.14/runpy.py +326 -0
- package/python/lib/python3.14/sched.py +167 -0
- package/python/lib/python3.14/secrets.py +71 -0
- package/python/lib/python3.14/selectors.py +603 -0
- package/python/lib/python3.14/shelve.py +250 -0
- package/python/lib/python3.14/shlex.py +351 -0
- package/python/lib/python3.14/shutil.py +1660 -0
- package/python/lib/python3.14/signal.py +94 -0
- package/python/lib/python3.14/site-packages/_yaml/__init__.py +33 -0
- package/python/lib/python3.14/site-packages/_yaml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__init__.py +144 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_compat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_termui_impl.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_textwrap.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/_winconsole.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/core.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/decorators.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/formatting.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/globals.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/shell_completion.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/termui.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/testing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/__pycache__/utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/click/_compat.py +590 -0
- package/python/lib/python3.14/site-packages/click/_termui_impl.py +970 -0
- package/python/lib/python3.14/site-packages/click/_textwrap.py +188 -0
- package/python/lib/python3.14/site-packages/click/_utils.py +45 -0
- package/python/lib/python3.14/site-packages/click/_winconsole.py +292 -0
- package/python/lib/python3.14/site-packages/click/core.py +3825 -0
- package/python/lib/python3.14/site-packages/click/decorators.py +625 -0
- package/python/lib/python3.14/site-packages/click/exceptions.py +378 -0
- package/python/lib/python3.14/site-packages/click/formatting.py +320 -0
- package/python/lib/python3.14/site-packages/click/globals.py +67 -0
- package/python/lib/python3.14/site-packages/click/parser.py +533 -0
- package/python/lib/python3.14/site-packages/click/py.typed +0 -0
- package/python/lib/python3.14/site-packages/click/shell_completion.py +796 -0
- package/python/lib/python3.14/site-packages/click/termui.py +1024 -0
- package/python/lib/python3.14/site-packages/click/testing.py +796 -0
- package/python/lib/python3.14/site-packages/click/types.py +1437 -0
- package/python/lib/python3.14/site-packages/click/utils.py +676 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/METADATA +83 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/RECORD +24 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/WHEEL +4 -0
- package/python/lib/python3.14/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt +28 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__init__.py +51 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__pycache__/_main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/__version__.py +1 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/_main.py +208 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/beautifier.py +559 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/css/options.py +60 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier/tests/generated/tests.py +11333 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/METADATA +19 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/RECORD +51 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/WHEEL +5 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.14/site-packages/cssbeautifier-2.0.3.dist-info/top_level.txt +1 -0
- package/python/lib/python3.14/site-packages/djlint/__init__.py +27 -0
- package/python/lib/python3.14/site-packages/djlint/__main__.py +8 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/_cli.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/api.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/const.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/github_output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/helpers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/lint.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/reformat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/sarif_output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/settings.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/__pycache__/src.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/_cli.py +1006 -0
- package/python/lib/python3.14/site-packages/djlint/api.py +106 -0
- package/python/lib/python3.14/site-packages/djlint/const.py +506 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__init__.py +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attribute_values.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/attributes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/class_attributes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/compress.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/condense.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/css.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/endblocks.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/entities.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/expand.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/indent.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/js.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/load_tags.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/mako.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/attribute_values.py +152 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/attributes.py +580 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/beautifier.py +144 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/class_attributes.py +318 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/compress.py +158 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/condense.py +503 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/css.py +28 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/endblocks.py +68 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/entities.py +39 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/expand.py +576 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/indent.py +1239 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/js.py +82 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/load_tags.py +60 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/mako.py +501 -0
- package/python/lib/python3.14/site-packages/djlint/formatter/tokenizer.py +359 -0
- package/python/lib/python3.14/site-packages/djlint/github_output.py +117 -0
- package/python/lib/python3.14/site-packages/djlint/helpers.py +979 -0
- package/python/lib/python3.14/site-packages/djlint/lint.py +246 -0
- package/python/lib/python3.14/site-packages/djlint/output.py +250 -0
- package/python/lib/python3.14/site-packages/djlint/py.typed +0 -0
- package/python/lib/python3.14/site-packages/djlint/reformat.py +130 -0
- package/python/lib/python3.14/site-packages/djlint/rules/D058.py +78 -0
- package/python/lib/python3.14/site-packages/djlint/rules/D059.py +139 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H009.py +54 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H012.py +240 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H014.py +68 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H016.py +83 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H022.py +161 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H025.py +141 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H036.py +183 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H037.py +138 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H041.py +113 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H042.py +199 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H044.py +119 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H047.py +118 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H048.py +82 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H051.py +98 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H053.py +361 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H054.py +264 -0
- package/python/lib/python3.14/site-packages/djlint/rules/H057.py +235 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T001.py +103 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T002.py +75 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T003.py +93 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T027.py +183 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T038.py +152 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T039.py +167 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T041.py +307 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T042.py +219 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T043.py +154 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T044.py +189 -0
- package/python/lib/python3.14/site-packages/djlint/rules/T045.py +281 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__init__.py +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D058.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/D059.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H009.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H012.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H014.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H016.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H022.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H025.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H036.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H037.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H041.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H042.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H044.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H047.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H048.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H051.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H053.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H054.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/H057.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T001.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T002.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T003.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T027.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T038.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T039.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T041.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T042.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T043.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T044.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/T045.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/djlint/rules.yaml +482 -0
- package/python/lib/python3.14/site-packages/djlint/sarif_output.py +171 -0
- package/python/lib/python3.14/site-packages/djlint/server.py +983 -0
- package/python/lib/python3.14/site-packages/djlint/settings.py +2381 -0
- package/python/lib/python3.14/site-packages/djlint/src.py +192 -0
- package/python/lib/python3.14/site-packages/djlint/types.pyi +20 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/METADATA +236 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/RECORD +73 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/WHEEL +4 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE +675 -0
- package/python/lib/python3.14/site-packages/djlint-1.54.0.dist-info/licenses/LICENSE-THIRD-PARTY +271 -0
- package/python/lib/python3.14/site-packages/editorconfig/__init__.py +20 -0
- package/python/lib/python3.14/site-packages/editorconfig/__main__.py +83 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/fnmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/ini.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/__pycache__/versiontools.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/exceptions.py +24 -0
- package/python/lib/python3.14/site-packages/editorconfig/fnmatch.py +224 -0
- package/python/lib/python3.14/site-packages/editorconfig/handler.py +128 -0
- package/python/lib/python3.14/site-packages/editorconfig/ini.py +173 -0
- package/python/lib/python3.14/site-packages/editorconfig/py.typed +0 -0
- package/python/lib/python3.14/site-packages/editorconfig/version.py +1 -0
- package/python/lib/python3.14/site-packages/editorconfig/versiontools.py +36 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/METADATA +116 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/RECORD +20 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/WHEEL +5 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/COPYING +11 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.BSD +22 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/licenses/LICENSE.PSF +192 -0
- package/python/lib/python3.14/site-packages/editorconfig-0.17.1.dist-info/top_level.txt +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/__init__.py +309 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/__pycache__/__version__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/__version__.py +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/cli/__init__.py +210 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/cli/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/directives.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/inputscanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/output.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/pattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/templatablepattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/token.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/tokenstream.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/__pycache__/whitespacepattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/directives.py +55 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/inputscanner.py +139 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/options.py +230 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/output.py +352 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/pattern.py +83 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/templatablepattern.py +192 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/token.py +38 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenizer.py +138 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/tokenstream.py +74 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/core/whitespacepattern.py +73 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/acorn.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/beautifier.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/options.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/__pycache__/tokenizer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/acorn.py +81 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/beautifier.py +1647 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/options.py +102 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/javascript/tokenizer.py +628 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/__pycache__/testindentation.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__init__.py +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/__pycache__/tests.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/generated/tests.py +10470 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/tests/testindentation.py +49 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__init__.py +73 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/evalbased.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/javascriptobfuscator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/myobfuscate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/packer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/__pycache__/urlencode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/evalbased.py +44 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/javascriptobfuscator.py +61 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/myobfuscate.py +83 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/packer.py +158 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__init__.py +2 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testjavascriptobfuscator.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testmyobfuscate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testpacker.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/__pycache__/testurlencode.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testjavascriptobfuscator.py +59 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testmyobfuscate.py +48 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testpacker.py +72 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/tests/testurlencode.py +46 -0
- package/python/lib/python3.14/site-packages/jsbeautifier/unpackers/urlencode.py +32 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/METADATA +18 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/RECORD +42 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/WHEEL +5 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.14/site-packages/jsbeautifier-2.0.3.dist-info/top_level.txt +1 -0
- package/python/lib/python3.14/site-packages/json5/__init__.py +30 -0
- package/python/lib/python3.14/site-packages/json5/__main__.py +22 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/host.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/lib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/tool.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/__pycache__/version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/json5/host.py +53 -0
- package/python/lib/python3.14/site-packages/json5/lib.py +1007 -0
- package/python/lib/python3.14/site-packages/json5/parser.py +1376 -0
- package/python/lib/python3.14/site-packages/json5/py.typed +0 -0
- package/python/lib/python3.14/site-packages/json5/tool.py +198 -0
- package/python/lib/python3.14/site-packages/json5/version.py +18 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/METADATA +585 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/RECORD +17 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/WHEEL +5 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/entry_points.txt +2 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/licenses/LICENSE +281 -0
- package/python/lib/python3.14/site-packages/json5-0.17.3.dist-info/top_level.txt +1 -0
- package/python/lib/python3.14/site-packages/pathspec/__init__.py +68 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_meta.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_typing.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/_version.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/backend.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/pattern.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__init__.py +4 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/_utils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/__pycache__/agg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/_utils.py +45 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/agg.py +104 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__init__.py +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/_base.py +78 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/base.py +24 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/gitignore.py +250 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/hyperscan/pathspec.py +257 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__init__.py +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/_base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/_base.py +95 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/base.py +18 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/gitignore.py +180 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/re2/pathspec.py +189 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__init__.py +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/gitignore.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/__pycache__/pathspec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/gitignore.py +104 -0
- package/python/lib/python3.14/site-packages/pathspec/_backends/simple/pathspec.py +76 -0
- package/python/lib/python3.14/site-packages/pathspec/_meta.py +70 -0
- package/python/lib/python3.14/site-packages/pathspec/_typing.py +64 -0
- package/python/lib/python3.14/site-packages/pathspec/_version.py +5 -0
- package/python/lib/python3.14/site-packages/pathspec/backend.py +51 -0
- package/python/lib/python3.14/site-packages/pathspec/gitignore.py +172 -0
- package/python/lib/python3.14/site-packages/pathspec/pathspec.py +527 -0
- package/python/lib/python3.14/site-packages/pathspec/pattern.py +259 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/__init__.py +12 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/__pycache__/gitwildmatch.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__init__.py +17 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/base.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/basic.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/__pycache__/spec.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/base.py +210 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/basic.py +320 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitignore/spec.py +344 -0
- package/python/lib/python3.14/site-packages/pathspec/patterns/gitwildmatch.py +52 -0
- package/python/lib/python3.14/site-packages/pathspec/py.typed +1 -0
- package/python/lib/python3.14/site-packages/pathspec/util.py +864 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/METADATA +392 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/RECORD +38 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/WHEEL +4 -0
- package/python/lib/python3.14/site-packages/pathspec-1.1.1.dist-info/licenses/LICENSE +373 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/METADATA +59 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/RECORD +26 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/WHEEL +7 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE +20 -0
- package/python/lib/python3.14/site-packages/pyyaml-6.0.3.dist-info/top_level.txt +2 -0
- package/python/lib/python3.14/site-packages/regex/__init__.py +3 -0
- package/python/lib/python3.14/site-packages/regex/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/__pycache__/_main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/__pycache__/_regex_core.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/_main.py +759 -0
- package/python/lib/python3.14/site-packages/regex/_regex.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/site-packages/regex/_regex_core.py +4689 -0
- package/python/lib/python3.14/site-packages/regex/tests/__pycache__/test_regex.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/regex/tests/test_regex.py +4557 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/INSTALLER +1 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/METADATA +1060 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/RECORD +12 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/REQUESTED +0 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/WHEEL +7 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/licenses/LICENSE.txt +208 -0
- package/python/lib/python3.14/site-packages/regex-2026.11.9.dist-info/top_level.txt +1 -0
- package/python/lib/python3.14/site-packages/yaml/__init__.py +390 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/composer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/constructor.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/cyaml.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/dumper.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/emitter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/error.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/events.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/loader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/nodes.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/reader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/representer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/resolver.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/scanner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/serializer.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/__pycache__/tokens.cpython-314.pyc +0 -0
- package/python/lib/python3.14/site-packages/yaml/_yaml.cpython-314-s390x-linux-gnu.so +0 -0
- package/python/lib/python3.14/site-packages/yaml/composer.py +139 -0
- package/python/lib/python3.14/site-packages/yaml/constructor.py +748 -0
- package/python/lib/python3.14/site-packages/yaml/cyaml.py +101 -0
- package/python/lib/python3.14/site-packages/yaml/dumper.py +62 -0
- package/python/lib/python3.14/site-packages/yaml/emitter.py +1137 -0
- package/python/lib/python3.14/site-packages/yaml/error.py +75 -0
- package/python/lib/python3.14/site-packages/yaml/events.py +86 -0
- package/python/lib/python3.14/site-packages/yaml/loader.py +63 -0
- package/python/lib/python3.14/site-packages/yaml/nodes.py +49 -0
- package/python/lib/python3.14/site-packages/yaml/parser.py +589 -0
- package/python/lib/python3.14/site-packages/yaml/reader.py +185 -0
- package/python/lib/python3.14/site-packages/yaml/representer.py +389 -0
- package/python/lib/python3.14/site-packages/yaml/resolver.py +227 -0
- package/python/lib/python3.14/site-packages/yaml/scanner.py +1435 -0
- package/python/lib/python3.14/site-packages/yaml/serializer.py +111 -0
- package/python/lib/python3.14/site-packages/yaml/tokens.py +104 -0
- package/python/lib/python3.14/site.py +779 -0
- package/python/lib/python3.14/smtplib.py +1121 -0
- package/python/lib/python3.14/socket.py +994 -0
- package/python/lib/python3.14/socketserver.py +863 -0
- package/python/lib/python3.14/sqlite3/__init__.py +57 -0
- package/python/lib/python3.14/sqlite3/__main__.py +139 -0
- package/python/lib/python3.14/sqlite3/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/dbapi2.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/__pycache__/dump.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sqlite3/dbapi2.py +96 -0
- package/python/lib/python3.14/sqlite3/dump.py +118 -0
- package/python/lib/python3.14/sre_compile.py +7 -0
- package/python/lib/python3.14/sre_constants.py +7 -0
- package/python/lib/python3.14/sre_parse.py +7 -0
- package/python/lib/python3.14/ssl.py +1552 -0
- package/python/lib/python3.14/stat.py +212 -0
- package/python/lib/python3.14/statistics.py +1879 -0
- package/python/lib/python3.14/string/__init__.py +332 -0
- package/python/lib/python3.14/string/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/string/__pycache__/templatelib.cpython-314.pyc +0 -0
- package/python/lib/python3.14/string/templatelib.py +33 -0
- package/python/lib/python3.14/stringprep.py +456 -0
- package/python/lib/python3.14/struct.py +15 -0
- package/python/lib/python3.14/subprocess.py +2257 -0
- package/python/lib/python3.14/symtable.py +451 -0
- package/python/lib/python3.14/sysconfig/__init__.py +798 -0
- package/python/lib/python3.14/sysconfig/__main__.py +276 -0
- package/python/lib/python3.14/sysconfig/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/sysconfig/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tabnanny.py +338 -0
- package/python/lib/python3.14/tarfile.py +3228 -0
- package/python/lib/python3.14/tempfile.py +1057 -0
- package/python/lib/python3.14/textwrap.py +475 -0
- package/python/lib/python3.14/this.py +28 -0
- package/python/lib/python3.14/threading.py +1643 -0
- package/python/lib/python3.14/timeit.py +378 -0
- package/python/lib/python3.14/token.py +144 -0
- package/python/lib/python3.14/tokenize.py +598 -0
- package/python/lib/python3.14/tomllib/__init__.py +10 -0
- package/python/lib/python3.14/tomllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_parser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_re.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/__pycache__/_types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/tomllib/_parser.py +765 -0
- package/python/lib/python3.14/tomllib/_re.py +113 -0
- package/python/lib/python3.14/tomllib/_types.py +10 -0
- package/python/lib/python3.14/tomllib/mypy.ini +15 -0
- package/python/lib/python3.14/trace.py +751 -0
- package/python/lib/python3.14/traceback.py +1751 -0
- package/python/lib/python3.14/tracemalloc.py +560 -0
- package/python/lib/python3.14/tty.py +73 -0
- package/python/lib/python3.14/types.py +345 -0
- package/python/lib/python3.14/typing.py +3866 -0
- package/python/lib/python3.14/unittest/__init__.py +80 -0
- package/python/lib/python3.14/unittest/__main__.py +18 -0
- package/python/lib/python3.14/unittest/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/_log.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/async_case.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/case.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/loader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/main.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/mock.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/result.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/runner.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/signals.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/suite.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/unittest/_log.py +86 -0
- package/python/lib/python3.14/unittest/async_case.py +158 -0
- package/python/lib/python3.14/unittest/case.py +1628 -0
- package/python/lib/python3.14/unittest/loader.py +491 -0
- package/python/lib/python3.14/unittest/main.py +280 -0
- package/python/lib/python3.14/unittest/mock.py +3208 -0
- package/python/lib/python3.14/unittest/result.py +259 -0
- package/python/lib/python3.14/unittest/runner.py +313 -0
- package/python/lib/python3.14/unittest/signals.py +71 -0
- package/python/lib/python3.14/unittest/suite.py +379 -0
- package/python/lib/python3.14/unittest/util.py +170 -0
- package/python/lib/python3.14/urllib/__init__.py +0 -0
- package/python/lib/python3.14/urllib/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/error.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/parse.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/request.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/response.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/__pycache__/robotparser.cpython-314.pyc +0 -0
- package/python/lib/python3.14/urllib/error.py +74 -0
- package/python/lib/python3.14/urllib/parse.py +1289 -0
- package/python/lib/python3.14/urllib/request.py +2175 -0
- package/python/lib/python3.14/urllib/response.py +84 -0
- package/python/lib/python3.14/urllib/robotparser.py +363 -0
- package/python/lib/python3.14/uuid.py +1013 -0
- package/python/lib/python3.14/venv/__init__.py +700 -0
- package/python/lib/python3.14/venv/__main__.py +10 -0
- package/python/lib/python3.14/venv/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/venv/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/venv/scripts/common/Activate.ps1 +248 -0
- package/python/lib/python3.14/venv/scripts/common/activate +76 -0
- package/python/lib/python3.14/venv/scripts/common/activate.fish +69 -0
- package/python/lib/python3.14/venv/scripts/posix/activate.csh +29 -0
- package/python/lib/python3.14/warnings.py +99 -0
- package/python/lib/python3.14/wave.py +665 -0
- package/python/lib/python3.14/weakref.py +574 -0
- package/python/lib/python3.14/webbrowser.py +763 -0
- package/python/lib/python3.14/wsgiref/__init__.py +25 -0
- package/python/lib/python3.14/wsgiref/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/handlers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/headers.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/simple_server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/types.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/util.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/__pycache__/validate.cpython-314.pyc +0 -0
- package/python/lib/python3.14/wsgiref/handlers.py +575 -0
- package/python/lib/python3.14/wsgiref/headers.py +192 -0
- package/python/lib/python3.14/wsgiref/simple_server.py +161 -0
- package/python/lib/python3.14/wsgiref/types.py +54 -0
- package/python/lib/python3.14/wsgiref/util.py +159 -0
- package/python/lib/python3.14/wsgiref/validate.py +438 -0
- package/python/lib/python3.14/xml/__init__.py +20 -0
- package/python/lib/python3.14/xml/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/NodeFilter.py +27 -0
- package/python/lib/python3.14/xml/dom/__init__.py +140 -0
- package/python/lib/python3.14/xml/dom/__pycache__/NodeFilter.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/domreg.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/expatbuilder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/minicompat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/minidom.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/pulldom.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/__pycache__/xmlbuilder.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/dom/domreg.py +99 -0
- package/python/lib/python3.14/xml/dom/expatbuilder.py +964 -0
- package/python/lib/python3.14/xml/dom/minicompat.py +109 -0
- package/python/lib/python3.14/xml/dom/minidom.py +2027 -0
- package/python/lib/python3.14/xml/dom/pulldom.py +350 -0
- package/python/lib/python3.14/xml/dom/xmlbuilder.py +389 -0
- package/python/lib/python3.14/xml/etree/ElementInclude.py +186 -0
- package/python/lib/python3.14/xml/etree/ElementPath.py +430 -0
- package/python/lib/python3.14/xml/etree/ElementTree.py +2093 -0
- package/python/lib/python3.14/xml/etree/__init__.py +33 -0
- package/python/lib/python3.14/xml/etree/__pycache__/ElementInclude.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/ElementPath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/ElementTree.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/__pycache__/cElementTree.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/etree/cElementTree.py +3 -0
- package/python/lib/python3.14/xml/parsers/__init__.py +8 -0
- package/python/lib/python3.14/xml/parsers/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/parsers/__pycache__/expat.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/parsers/expat.py +8 -0
- package/python/lib/python3.14/xml/sax/__init__.py +109 -0
- package/python/lib/python3.14/xml/sax/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/_exceptions.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/expatreader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/handler.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/saxutils.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/__pycache__/xmlreader.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xml/sax/_exceptions.py +127 -0
- package/python/lib/python3.14/xml/sax/expatreader.py +454 -0
- package/python/lib/python3.14/xml/sax/handler.py +387 -0
- package/python/lib/python3.14/xml/sax/saxutils.py +370 -0
- package/python/lib/python3.14/xml/sax/xmlreader.py +379 -0
- package/python/lib/python3.14/xmlrpc/__init__.py +1 -0
- package/python/lib/python3.14/xmlrpc/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xmlrpc/__pycache__/client.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xmlrpc/__pycache__/server.cpython-314.pyc +0 -0
- package/python/lib/python3.14/xmlrpc/client.py +1503 -0
- package/python/lib/python3.14/xmlrpc/server.py +1003 -0
- package/python/lib/python3.14/zipapp.py +231 -0
- package/python/lib/python3.14/zipfile/__init__.py +2488 -0
- package/python/lib/python3.14/zipfile/__main__.py +4 -0
- package/python/lib/python3.14/zipfile/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/__pycache__/__main__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/_path/__init__.py +455 -0
- package/python/lib/python3.14/zipfile/_path/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/_path/__pycache__/glob.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zipfile/_path/glob.py +113 -0
- package/python/lib/python3.14/zipimport.py +827 -0
- package/python/lib/python3.14/zoneinfo/__init__.py +34 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/__init__.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_common.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_tzpath.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/__pycache__/_zoneinfo.cpython-314.pyc +0 -0
- package/python/lib/python3.14/zoneinfo/_common.py +172 -0
- package/python/lib/python3.14/zoneinfo/_tzpath.py +189 -0
- package/python/lib/python3.14/zoneinfo/_zoneinfo.py +779 -0
- package/python/licenses/LICENSE.bdb.txt +126 -0
- package/python/licenses/LICENSE.bzip2.txt +37 -0
- package/python/licenses/LICENSE.cpython.txt +771 -0
- package/python/licenses/LICENSE.expat.txt +21 -0
- package/python/licenses/LICENSE.libX11.txt +942 -0
- package/python/licenses/LICENSE.libXau.txt +21 -0
- package/python/licenses/LICENSE.libedit.txt +29 -0
- package/python/licenses/LICENSE.libffi.txt +21 -0
- package/python/licenses/LICENSE.liblzma.txt +13 -0
- package/python/licenses/LICENSE.libuuid.txt +27 -0
- package/python/licenses/LICENSE.libxcb.txt +30 -0
- package/python/licenses/LICENSE.mpdecimal.txt +24 -0
- package/python/licenses/LICENSE.ncurses.txt +29 -0
- package/python/licenses/LICENSE.openssl-3.txt +177 -0
- package/python/licenses/LICENSE.sqlite.txt +23 -0
- package/python/licenses/LICENSE.tcl.txt +40 -0
- package/python/licenses/LICENSE.tix.txt +54 -0
- package/python/licenses/LICENSE.zlib-ng.txt +19 -0
- package/python/licenses/LICENSE.zlib.txt +22 -0
- package/python/licenses/LICENSE.zstd.txt +30 -0
|
@@ -0,0 +1,1239 @@
|
|
|
1
|
+
"""djLint add indentation to html."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import ast
|
|
6
|
+
import io
|
|
7
|
+
import sys
|
|
8
|
+
import tokenize
|
|
9
|
+
from bisect import bisect_right
|
|
10
|
+
from functools import cache, lru_cache, partial
|
|
11
|
+
from typing import TYPE_CHECKING, cast, final
|
|
12
|
+
|
|
13
|
+
import json5 as json
|
|
14
|
+
import regex as re
|
|
15
|
+
from json5.lib import QuoteStyle
|
|
16
|
+
|
|
17
|
+
from djlint.const import (
|
|
18
|
+
COLLAPSIBLE_WHITESPACE,
|
|
19
|
+
HTML_RAW_TEXT_ELEMENTS,
|
|
20
|
+
HTML_TAG_NAMES,
|
|
21
|
+
HTML_VOID_ELEMENTS,
|
|
22
|
+
TEMPLATE_TAG_NAME,
|
|
23
|
+
TEMPLATE_TAGS_WITH_QUOTED_ARGUMENTS,
|
|
24
|
+
TEMPLATE_TAGS_WITH_QUOTED_CONDITIONS,
|
|
25
|
+
)
|
|
26
|
+
from djlint.formatter.attributes import format_attributes
|
|
27
|
+
from djlint.formatter.class_attributes import (
|
|
28
|
+
VERBATIM_ATTRIBUTE_NEWLINE,
|
|
29
|
+
multiline_template_tag_spans,
|
|
30
|
+
restore_template_string_newlines,
|
|
31
|
+
)
|
|
32
|
+
from djlint.formatter.tokenizer import tokenize_tags
|
|
33
|
+
from djlint.helpers import (
|
|
34
|
+
RE_FLAGS_IMSX,
|
|
35
|
+
RE_FLAGS_IMX,
|
|
36
|
+
RE_FLAGS_IS,
|
|
37
|
+
RE_FLAGS_IX,
|
|
38
|
+
compile_pattern,
|
|
39
|
+
ignored_block_opening_start,
|
|
40
|
+
inside_html_attribute,
|
|
41
|
+
inside_ignored_block,
|
|
42
|
+
inside_ignored_linter_block,
|
|
43
|
+
is_ignored_block_closing,
|
|
44
|
+
is_raw_text_block_closing,
|
|
45
|
+
is_raw_text_block_opening,
|
|
46
|
+
is_safe_closing_tag,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
if sys.version_info >= (3, 13): # pragma: >=3.13 cover
|
|
50
|
+
from typing import NamedTuple
|
|
51
|
+
else: # pragma: <3.13 cover
|
|
52
|
+
from typing_extensions import NamedTuple
|
|
53
|
+
|
|
54
|
+
if TYPE_CHECKING:
|
|
55
|
+
from typing import Final
|
|
56
|
+
|
|
57
|
+
from djlint.settings import Config
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
_QUOTE_STYLES: Final = {"double": QuoteStyle.PREFER_DOUBLE, "single": QuoteStyle.PREFER_SINGLE}
|
|
61
|
+
_QUOTE_CHARACTERS: Final = {"double": '"', "single": "'"}
|
|
62
|
+
_ESCAPE: Final = "\\"
|
|
63
|
+
# The raw text elements whose bodies --format-js and --format-css lay out.
|
|
64
|
+
_RAW_TEXT_OPENINGS_SPREAD: Final = frozenset(("script", "style"))
|
|
65
|
+
|
|
66
|
+
# A tag left open ends at the next opener, as for the multiline patterns below,
|
|
67
|
+
# so a run of unclosed ones is read once rather than each to the end of the
|
|
68
|
+
# file; a pattern starting with indentation reads each run of it from its
|
|
69
|
+
# start only.
|
|
70
|
+
_QUOTED_ARGUMENT_TAG_PATTERN: Final = compile_pattern(
|
|
71
|
+
rf"\{{%[-+]?[ \t]*(?:{TEMPLATE_TAGS_WITH_QUOTED_ARGUMENTS}"
|
|
72
|
+
rf"|{TEMPLATE_TAGS_WITH_QUOTED_CONDITIONS})\b"
|
|
73
|
+
r"(?:(?![-+]?%\}|\{%).)*+[-+]?%\}",
|
|
74
|
+
RE_FLAGS_IS,
|
|
75
|
+
)
|
|
76
|
+
_TAG_STRING_PATTERN: Final = compile_pattern(r"\"(?:\\.|[^\"\\])*\"|'(?:\\.|[^'\\])*'")
|
|
77
|
+
|
|
78
|
+
_TAG_SPACING_PATTERN: Final = compile_pattern(r"({%[-+]?)[ ]*?(\w(?:(?!%}).)*?)[ ]*?([-+]?%})")
|
|
79
|
+
_INTERPOLATION_SPACING_PATTERN: Final = compile_pattern(r"({{)[ ]*?(\w(?:(?!}}).)*?)[ ]*?(\+?-?}})")
|
|
80
|
+
# Indentation after a preserved attribute line break is the author's layout,
|
|
81
|
+
# not padding inside the tag, so it is held whole rather than collapsed.
|
|
82
|
+
_EXTRA_TAG_WHITESPACE_PATTERN: Final = compile_pattern(
|
|
83
|
+
r"(\"(?:\\.|[^\"\\])*\"|'(?:\\.|[^'\\])*'"
|
|
84
|
+
rf"|{re.escape(VERBATIM_ATTRIBUTE_NEWLINE)}[ \t]*)|[ \t]{{2,}}"
|
|
85
|
+
)
|
|
86
|
+
_HANDLEBARS_BLOCK_END_PATTERN: Final = compile_pattern(r"({{#(?:each|if)(?:(?!}}).)+?[^ ])(}})")
|
|
87
|
+
_SET_CLOSE_PATTERN: Final = compile_pattern(r"^(?!.*\{\%).*%\}.*$", RE_FLAGS_IMX)
|
|
88
|
+
_SET_CLOSING_BRACE_PATTERN: Final = compile_pattern(r"^[ ]*}|^[ ]*]", RE_FLAGS_IMX)
|
|
89
|
+
_TAG_CLOSE_START_PATTERN: Final = compile_pattern(r"[ \t]*[-+]?%}")
|
|
90
|
+
_SINGLE_LINE_TEMPLATE_TAG_PATTERN: Final = compile_pattern(
|
|
91
|
+
r"^\s*\{%[-+]?(?:(?!%}).)*%}\s*$", RE_FLAGS_IMSX
|
|
92
|
+
)
|
|
93
|
+
_SET_OPEN_PATTERN: Final = compile_pattern(r"^([ ]*{%[ ]*?set)(?!.*%}).*$", RE_FLAGS_IMX)
|
|
94
|
+
_SET_OPENING_BRACE_PATTERN: Final = compile_pattern(
|
|
95
|
+
r"(\{(?![^{}]*%[}\s])(?=[^{}]*$)|\[(?=[^\]]*$))", RE_FLAGS_IMX
|
|
96
|
+
)
|
|
97
|
+
_TEMPLATE_TAG_CLOSE_PATTERN: Final = compile_pattern(r"\{%[-+]?\s*end|\{\{/", RE_FLAGS_IMX)
|
|
98
|
+
# Some opener is left unclosed exactly when the last one is, so each is only
|
|
99
|
+
# read up to the next, which keeps a line of unclosed ones to one pass.
|
|
100
|
+
_MULTILINE_TAG_OPEN_PATTERN: Final = compile_pattern(r"(?:\{\{|\{%)(?:(?!\}\}|%\}|\{\{|\{%).)*$")
|
|
101
|
+
_MULTILINE_TAG_CLOSE_PATTERN: Final = compile_pattern(r"^(?:(?!\{\{|\{%).)*?(?:\}\}|%\})")
|
|
102
|
+
_LEADING_CLOSE_BRACKET_PATTERN: Final = compile_pattern(r"[ ]*[)\]}]")
|
|
103
|
+
_MULTILINE_TAG_OPEN_PAREN_PATTERN: Final = compile_pattern(r"\((?=[^()]*$)")
|
|
104
|
+
_MULTILINE_TAG_CLOSE_PAREN_PATTERN: Final = compile_pattern(r"^[ ]*\)")
|
|
105
|
+
_TEXTAREA_CLOSE_PATTERN: Final = compile_pattern(r"^\s*</textarea\b", RE_FLAGS_IX)
|
|
106
|
+
_LINE_TEMPLATE_TAG_PATTERN: Final = compile_pattern(
|
|
107
|
+
r"\{\{(?:(?!\}\}|\{\{).)*\}\}|\{%(?:(?!%\}|\{%).)*%\}|\$\{[^{}]*\}"
|
|
108
|
+
)
|
|
109
|
+
_TRIMMED_TRANS_OPEN_PATTERN: Final = compile_pattern(
|
|
110
|
+
r"\{%[-+]?\s*blocktrans(?:late)?\b(?:(?!%\}).)*?\btrimmed\b(?:(?!%\}).)*?%\}", RE_FLAGS_IS
|
|
111
|
+
)
|
|
112
|
+
_TRANS_CLOSE_PATTERN: Final = compile_pattern(
|
|
113
|
+
r"\{%[-+]?\s*endblocktrans(?:late)?\b(?:(?!%\}).)*?%\}", RE_FLAGS_IS
|
|
114
|
+
)
|
|
115
|
+
_SET_CONTENT_PATTERN: Final = compile_pattern(
|
|
116
|
+
r"""
|
|
117
|
+
(?<![ ])([ ]*+) # 1: leading indentation, read from its start
|
|
118
|
+
({%[-+]?) # 2: tag open
|
|
119
|
+
[ ]*(set)[ ]+? # 3: the set keyword
|
|
120
|
+
((?:(?![-+]?%}|{%).)*+) # 4: assignment contents
|
|
121
|
+
([-+]?%}) # 5: tag close
|
|
122
|
+
""",
|
|
123
|
+
RE_FLAGS_IMSX,
|
|
124
|
+
)
|
|
125
|
+
_FUNCTION_CONTENT_PATTERN: Final = compile_pattern(
|
|
126
|
+
r"""
|
|
127
|
+
(?<![ ])(?P<indent>[ ]*+)
|
|
128
|
+
(?P<open>{{-?\+?)
|
|
129
|
+
[ ]*?
|
|
130
|
+
(?P<name>(?:(?!}}|{{).)*?\w)
|
|
131
|
+
(?P<paren>
|
|
132
|
+
\(
|
|
133
|
+
(?:\"(?:(?!{{)[^\"])*+\"|'(?:(?!{{)[^'])*+'|(?:(?!{{)[^()])++|(?&paren))*+
|
|
134
|
+
\)
|
|
135
|
+
)
|
|
136
|
+
(?P<index>(?:\[[^\]]*?\]|\.[^\s]+))?
|
|
137
|
+
(?P<gap>[ ]*)
|
|
138
|
+
(?P<close>(?:(?!}}|{{).)*?-?\+?}})
|
|
139
|
+
""",
|
|
140
|
+
RE_FLAGS_IMSX,
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
def _blank_quotes(match: re.Match[str]) -> str:
|
|
145
|
+
return match.group().replace('"', "_").replace("'", "_")
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def _without_template_quotes(line: str) -> str:
|
|
149
|
+
"""The line with the quotes inside its template tags blanked out.
|
|
150
|
+
|
|
151
|
+
The pattern for a tag on one line reads an attribute value as quote to
|
|
152
|
+
quote, so the value of `value="{{ _("it's") }}"` ended at the quote
|
|
153
|
+
inside the tag, and the apostrophe opened another that never closed.
|
|
154
|
+
"""
|
|
155
|
+
if ("{{" not in line and "{%" not in line and "${" not in line) or (
|
|
156
|
+
'"' not in line and "'" not in line
|
|
157
|
+
):
|
|
158
|
+
return line
|
|
159
|
+
return _LINE_TEMPLATE_TAG_PATTERN.sub(_blank_quotes, line)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def _attribute_quote_at(html: str, start: int) -> str | None:
|
|
163
|
+
"""Return the surrounding HTML attribute quote at start, if any."""
|
|
164
|
+
tag_start = html.rfind("<", 0, start)
|
|
165
|
+
if tag_start == -1:
|
|
166
|
+
return None
|
|
167
|
+
|
|
168
|
+
quote = None
|
|
169
|
+
|
|
170
|
+
for index in range(tag_start + 1, start):
|
|
171
|
+
char = html[index]
|
|
172
|
+
|
|
173
|
+
if quote is not None:
|
|
174
|
+
if char == quote:
|
|
175
|
+
quote = None
|
|
176
|
+
continue
|
|
177
|
+
|
|
178
|
+
if char == ">":
|
|
179
|
+
return None
|
|
180
|
+
|
|
181
|
+
if char not in {"'", '"'}:
|
|
182
|
+
continue
|
|
183
|
+
|
|
184
|
+
attr_index = index - 1
|
|
185
|
+
while attr_index > tag_start and html[attr_index].isspace():
|
|
186
|
+
attr_index -= 1
|
|
187
|
+
|
|
188
|
+
if attr_index > tag_start and html[attr_index] == "=":
|
|
189
|
+
quote = char
|
|
190
|
+
|
|
191
|
+
return quote
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
def _offset(line_offsets: list[int], position: tuple[int, int]) -> int:
|
|
195
|
+
row, column = position
|
|
196
|
+
return line_offsets[row - 1] + column
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
def _line_brackets(line: str, quote: str) -> tuple[int, int, int, str]:
|
|
200
|
+
"""Read the brackets of one line of a template tag's value.
|
|
201
|
+
|
|
202
|
+
Returns how many closing brackets the line starts with, how much it changes
|
|
203
|
+
the bracket depth, the lowest depth it reaches, whose negative is how many
|
|
204
|
+
brackets of earlier lines it closes, and the quote still open at its end. A
|
|
205
|
+
bracket inside a quoted string counts for nothing, also when the string
|
|
206
|
+
began on an earlier line, whose open quote is passed in.
|
|
207
|
+
"""
|
|
208
|
+
leading = depth = lowest = 0
|
|
209
|
+
at_start = not quote
|
|
210
|
+
escaped = False
|
|
211
|
+
for char in line:
|
|
212
|
+
if quote:
|
|
213
|
+
if escaped:
|
|
214
|
+
escaped = False
|
|
215
|
+
elif char == _ESCAPE:
|
|
216
|
+
escaped = True
|
|
217
|
+
elif char == quote:
|
|
218
|
+
quote = ""
|
|
219
|
+
elif char in "\"'":
|
|
220
|
+
quote = char
|
|
221
|
+
at_start = False
|
|
222
|
+
elif char in "([{":
|
|
223
|
+
depth += 1
|
|
224
|
+
at_start = False
|
|
225
|
+
elif char in ")]}":
|
|
226
|
+
depth -= 1
|
|
227
|
+
lowest = min(lowest, depth)
|
|
228
|
+
if at_start:
|
|
229
|
+
leading += 1
|
|
230
|
+
elif not char.isspace():
|
|
231
|
+
at_start = False
|
|
232
|
+
return leading, depth, lowest, quote
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
def _format_string_token(token_value: str, quote_style: QuoteStyle) -> str:
|
|
236
|
+
try:
|
|
237
|
+
value = ast.literal_eval(token_value)
|
|
238
|
+
except (SyntaxError, ValueError):
|
|
239
|
+
return token_value
|
|
240
|
+
|
|
241
|
+
if not isinstance(value, str):
|
|
242
|
+
return token_value
|
|
243
|
+
|
|
244
|
+
return cast("str", json.dumps(value, ensure_ascii=False, quote_style=quote_style))
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
def _format_string_tokens(contents: str, quote_style: QuoteStyle) -> str:
|
|
248
|
+
try:
|
|
249
|
+
tokens = tuple(tokenize.generate_tokens(io.StringIO(contents).readline))
|
|
250
|
+
except (IndentationError, tokenize.TokenError):
|
|
251
|
+
return contents
|
|
252
|
+
|
|
253
|
+
line_offsets = [0]
|
|
254
|
+
for line in contents.splitlines(keepends=True):
|
|
255
|
+
line_offsets.append(line_offsets[-1] + len(line))
|
|
256
|
+
|
|
257
|
+
replacements: list[tuple[int, int, str]] = []
|
|
258
|
+
|
|
259
|
+
for token in tokens:
|
|
260
|
+
if token.type != tokenize.STRING:
|
|
261
|
+
continue
|
|
262
|
+
|
|
263
|
+
replacements.append((
|
|
264
|
+
_offset(line_offsets, token.start),
|
|
265
|
+
_offset(line_offsets, token.end),
|
|
266
|
+
_format_string_token(token.string, quote_style),
|
|
267
|
+
))
|
|
268
|
+
|
|
269
|
+
if not replacements:
|
|
270
|
+
return contents
|
|
271
|
+
|
|
272
|
+
formatted: list[str] = []
|
|
273
|
+
last_offset = 0
|
|
274
|
+
|
|
275
|
+
for start, end, value in replacements:
|
|
276
|
+
formatted.extend((contents[last_offset:start], value))
|
|
277
|
+
last_offset = end
|
|
278
|
+
|
|
279
|
+
formatted.append(contents[last_offset:])
|
|
280
|
+
return "".join(formatted)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
@final
|
|
284
|
+
class _IndentPatterns(NamedTuple):
|
|
285
|
+
"""The patterns indenting builds out of the configuration."""
|
|
286
|
+
|
|
287
|
+
ignored_inline_start: re.Pattern[str]
|
|
288
|
+
single_line_tag: re.Pattern[str]
|
|
289
|
+
tag_unindent: re.Pattern[str]
|
|
290
|
+
inline_slt_no_attrs_end: re.Pattern[str]
|
|
291
|
+
inline_slt_no_attrs: re.Pattern[str]
|
|
292
|
+
inline_slt_attrs: re.Pattern[str]
|
|
293
|
+
tag_unindent_line: re.Pattern[str]
|
|
294
|
+
tag_indent: re.Pattern[str]
|
|
295
|
+
custom_html: re.Pattern[str] | None
|
|
296
|
+
template_start: re.Pattern[str]
|
|
297
|
+
prefixed_template_tag_indent: re.Pattern[str]
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
@lru_cache(maxsize=4)
|
|
301
|
+
def _indent_patterns(config: Config) -> _IndentPatterns:
|
|
302
|
+
"""Build the indenting patterns a configuration calls for.
|
|
303
|
+
|
|
304
|
+
Every one of them is settled by the configuration alone, so building
|
|
305
|
+
and looking them up once per file only asked the regex cache the same
|
|
306
|
+
long questions over again.
|
|
307
|
+
"""
|
|
308
|
+
slt_html = config.indent_html_tags
|
|
309
|
+
always_self_closing_html = config.always_self_closing_html_tags
|
|
310
|
+
slt_template = config.single_line_template_tags
|
|
311
|
+
ignored_inline_start_pattern = re.compile(
|
|
312
|
+
rf"^\s*?(?:{config.ignored_inline_blocks})", flags=RE_FLAGS_IMX
|
|
313
|
+
)
|
|
314
|
+
golang_slt = (
|
|
315
|
+
r"(?:\{\{-?[ ]*?(?:if|range|with|block|define)\b(?:(?!\}\}).)*?\}\})"
|
|
316
|
+
r"(?:.*?)(?:\{\{-?[ ]*?end[ ]*?-?\}\})"
|
|
317
|
+
if config.profile == "golang"
|
|
318
|
+
else r"(?!x)x"
|
|
319
|
+
)
|
|
320
|
+
single_line_tag_pattern = re.compile(
|
|
321
|
+
rf"""^(?:[^<\s].*?)? # start of a line, optionally with some text
|
|
322
|
+
(?:
|
|
323
|
+
<({slt_html})(?:(?:>|\b[^>]+?>)(?:.*?)(?:</(?:\1)>)|\b(?:[^>"']|"[^"]*"|'[^']*')*?\/>) # <span stuff-or-not>stuff</span> or <img stuff /> >>> match 1
|
|
324
|
+
|(?:<(?:{always_self_closing_html})\b(?:[^>"']|"[^"]*"|'[^']*')*?/?>) # <img stuff />
|
|
325
|
+
|(?:<(?:{TEMPLATE_TAG_NAME})(?:>|(?:[^>"']|"[^"]*"|'[^']*')*?>)(?:.*?)</(?:{TEMPLATE_TAG_NAME})>) # <{{ tag }}>stuff</{{ tag }}>
|
|
326
|
+
|(?:{{%[-+]?[ ]*?({slt_template})\b(?:(?!%}}).)*?%}})(?:.*?)(?:{{%[-+]?[ ]*?end(?:\2)\b(?:(?!%}}).)*?%}}) # >>> match 2
|
|
327
|
+
|{golang_slt}
|
|
328
|
+
|{config.ignored_inline_blocks}
|
|
329
|
+
)[ \t]*?
|
|
330
|
+
(?:
|
|
331
|
+
.* # anything, holding any number of tags
|
|
332
|
+
(?: # followed by another slt, the last of the line
|
|
333
|
+
<({slt_html})(?:(?:>|\b[^>]+?>)(?:.*?)(?:</(?:\3)>)|\b(?:[^>"']|"[^"]*"|'[^']*')*?\/>) # <span stuff-or-not>stuff</span> or <img stuff /> >>> match 3
|
|
334
|
+
|(?:<(?:{always_self_closing_html})\b(?:[^>"']|"[^"]*"|'[^']*')*?/?>) # <img stuff />
|
|
335
|
+
|(?:{{%[-+]?[ ]*?({slt_template})\b(?:(?!%}}).)*?%}})(?:.*?)(?:{{%[-+]?[ ]*?end(?:\4)\b(?:(?!%}}).)*?%}}) # >>> match 4
|
|
336
|
+
|{golang_slt}
|
|
337
|
+
|{config.ignored_inline_blocks}
|
|
338
|
+
)[ \t]*?
|
|
339
|
+
)? # optional of course. Repeated, it would match no more lines,
|
|
340
|
+
# but try every way to split one that fails.
|
|
341
|
+
[^<]*?$ # with no other tags following until end of line
|
|
342
|
+
""",
|
|
343
|
+
flags=RE_FLAGS_IMX,
|
|
344
|
+
)
|
|
345
|
+
tag_unindent_pattern = re.compile(config.tag_unindent, RE_FLAGS_IMX)
|
|
346
|
+
inline_slt_no_attrs_end_pattern = re.compile(
|
|
347
|
+
rf"(<({slt_html})>)(.*?)(</(\2)>[^<]*?$)", flags=RE_FLAGS_IMX
|
|
348
|
+
)
|
|
349
|
+
inline_slt_no_attrs_pattern = re.compile(
|
|
350
|
+
rf"(^<({slt_html})>)(.*?)(</(\2)>)", flags=RE_FLAGS_IMX
|
|
351
|
+
)
|
|
352
|
+
inline_slt_attrs_pattern = re.compile(
|
|
353
|
+
rf"(^<({slt_html})\b[^>]+?>)(.*?)(</(\2)>)", flags=RE_FLAGS_IMX
|
|
354
|
+
)
|
|
355
|
+
tag_unindent_line_pattern = re.compile(r"^" + str(config.tag_unindent_line), flags=RE_FLAGS_IMX)
|
|
356
|
+
tag_indent_pattern = re.compile(r"^(?:" + str(config.tag_indent) + r")", flags=RE_FLAGS_IMX)
|
|
357
|
+
custom_html_pattern = (
|
|
358
|
+
re.compile(rf"^(?:{config.custom_html})$", flags=RE_FLAGS_IX)
|
|
359
|
+
if config.custom_html
|
|
360
|
+
else None
|
|
361
|
+
)
|
|
362
|
+
template_start_pattern = re.compile(
|
|
363
|
+
r"(?:\{\{\#|\{%[-+]?)[ ]*?" + str(config.start_template_tags), flags=RE_FLAGS_IMX
|
|
364
|
+
)
|
|
365
|
+
prefixed_template_tag_indent_pattern = re.compile(
|
|
366
|
+
r"^[^\S\n]*[\(\[](?:(?:\{\{\#|\{%[-+]?)[ ]*?" + str(config.start_template_tags) + r")",
|
|
367
|
+
flags=RE_FLAGS_IMX,
|
|
368
|
+
)
|
|
369
|
+
|
|
370
|
+
return _IndentPatterns(
|
|
371
|
+
ignored_inline_start=ignored_inline_start_pattern,
|
|
372
|
+
single_line_tag=single_line_tag_pattern,
|
|
373
|
+
tag_unindent=tag_unindent_pattern,
|
|
374
|
+
inline_slt_no_attrs_end=inline_slt_no_attrs_end_pattern,
|
|
375
|
+
inline_slt_no_attrs=inline_slt_no_attrs_pattern,
|
|
376
|
+
inline_slt_attrs=inline_slt_attrs_pattern,
|
|
377
|
+
tag_unindent_line=tag_unindent_line_pattern,
|
|
378
|
+
tag_indent=tag_indent_pattern,
|
|
379
|
+
custom_html=custom_html_pattern,
|
|
380
|
+
template_start=template_start_pattern,
|
|
381
|
+
prefixed_template_tag_indent=prefixed_template_tag_indent_pattern,
|
|
382
|
+
)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
def indent_html(rawcode: str, config: Config) -> str:
|
|
386
|
+
"""Indent raw code.
|
|
387
|
+
|
|
388
|
+
`template_block_stack` holds, for each open template block, the level at
|
|
389
|
+
its opening tag, the depth delta of its first branch and whether the
|
|
390
|
+
branches agree. Closing a block restores its saved level, so html tags
|
|
391
|
+
left unclosed inside it, such as a conditionally rendered wrapper, do
|
|
392
|
+
not leak indentation to the siblings that follow.
|
|
393
|
+
|
|
394
|
+
`open_html_indents` holds one entry per html tag left open by an earlier
|
|
395
|
+
line, saying whether closing it gives an indent level back. A line is
|
|
396
|
+
only indented when it starts with the opening tag, so a tag opened after
|
|
397
|
+
text on its line owes nothing. A close with nothing to pair against,
|
|
398
|
+
from a tag opened before this file or from unbalanced markup, dedents
|
|
399
|
+
all the same.
|
|
400
|
+
|
|
401
|
+
A line closing more tags than it opens still owes a dedent, whatever
|
|
402
|
+
whole tag happens to end it, as in "</b><small></small>". A branch tag
|
|
403
|
+
such as `{% else %}` or `{% elif %}` instead aligns with its block,
|
|
404
|
+
whatever html the rest of its line closes.
|
|
405
|
+
|
|
406
|
+
A line starting with a template block it leaves open indents what
|
|
407
|
+
follows, even when the rest of it looks like a single-line tag, as in
|
|
408
|
+
`{% call modal("<b>" ~ n ~ "</b>") %}` or `{% if a %}<b>x</b>`.
|
|
409
|
+
|
|
410
|
+
Markup written after the end of a verbatim block, as in
|
|
411
|
+
"</pre> <span>x", is real markup: the line was skipped as raw, so what
|
|
412
|
+
it leaves open is tracked once the block ends, or the tags closing it
|
|
413
|
+
later take levels from tags opened before the block.
|
|
414
|
+
"""
|
|
415
|
+
if config.profile not in {"handlebars", "golang"}:
|
|
416
|
+
|
|
417
|
+
def fix_tag_spacing(html: str, match: re.Match[str]) -> str:
|
|
418
|
+
"""Respace a template tag, before line lengths are measured.
|
|
419
|
+
|
|
420
|
+
The contents of `{% verbatim %}` and `{% raw %}` render
|
|
421
|
+
literally, so only the tag edges are normalized there. Runs of
|
|
422
|
+
whitespace outside a string literal collapse to one (T032).
|
|
423
|
+
"""
|
|
424
|
+
if inside_ignored_block(config, html, match):
|
|
425
|
+
return match.group()
|
|
426
|
+
|
|
427
|
+
content = match.group(2)
|
|
428
|
+
if not inside_ignored_linter_block(config, html, match):
|
|
429
|
+
content = _EXTRA_TAG_WHITESPACE_PATTERN.sub(
|
|
430
|
+
lambda m: m.group(1) or " ", content
|
|
431
|
+
).strip()
|
|
432
|
+
# The indentation of a line the tag closes on, after a preserved
|
|
433
|
+
# line break, is held whole like that of any other such line.
|
|
434
|
+
closing_gap = " "
|
|
435
|
+
if content.endswith(VERBATIM_ATTRIBUTE_NEWLINE):
|
|
436
|
+
closing_gap = html[match.end(2) : match.start(3)]
|
|
437
|
+
return f"{match.group(1)} {content}{closing_gap}{match.group(3)}"
|
|
438
|
+
|
|
439
|
+
rawcode = _TAG_SPACING_PATTERN.sub(partial(fix_tag_spacing, rawcode), rawcode)
|
|
440
|
+
|
|
441
|
+
rawcode = _INTERPOLATION_SPACING_PATTERN.sub(partial(fix_tag_spacing, rawcode), rawcode)
|
|
442
|
+
|
|
443
|
+
def fix_tag_quotes(html: str, match: re.Match[str]) -> str:
|
|
444
|
+
"""Rewrite a tag's quoted arguments to the configured quote.
|
|
445
|
+
|
|
446
|
+
This is what T002 asks for, so the rule stays fixable by
|
|
447
|
+
running the formatter, and a condition is covered too, so one
|
|
448
|
+
file does not spell the same string both ways. A string is
|
|
449
|
+
left alone when it holds the quote it would be rewritten to,
|
|
450
|
+
and so is a tag written inside an html attribute, where the
|
|
451
|
+
attribute's own quotes decide. A quote escaped inside the
|
|
452
|
+
string loses its backslash, the delimiter it hid from having
|
|
453
|
+
gone.
|
|
454
|
+
|
|
455
|
+
The contents of `{% verbatim %}` and `{% raw %}` are shown as
|
|
456
|
+
they are written, so a tag quoted inside one is text on the
|
|
457
|
+
page rather than a tag to normalize.
|
|
458
|
+
"""
|
|
459
|
+
if (
|
|
460
|
+
inside_ignored_block(config, html, match)
|
|
461
|
+
or inside_ignored_linter_block(config, html, match)
|
|
462
|
+
or inside_html_attribute(html, match)
|
|
463
|
+
):
|
|
464
|
+
return match.group()
|
|
465
|
+
|
|
466
|
+
wanted = _QUOTE_CHARACTERS[config.quote_style]
|
|
467
|
+
|
|
468
|
+
def requote(string: re.Match[str]) -> str:
|
|
469
|
+
text = string.group()
|
|
470
|
+
quote, body = text[0], text[1:-1]
|
|
471
|
+
if quote == wanted or wanted in body:
|
|
472
|
+
return text
|
|
473
|
+
unescaped = body.replace(_ESCAPE + quote, quote)
|
|
474
|
+
return f"{wanted}{unescaped}{wanted}"
|
|
475
|
+
|
|
476
|
+
return _TAG_STRING_PATTERN.sub(requote, match.group())
|
|
477
|
+
|
|
478
|
+
rawcode = _QUOTED_ARGUMENT_TAG_PATTERN.sub(partial(fix_tag_quotes, rawcode), rawcode)
|
|
479
|
+
|
|
480
|
+
elif config.profile == "handlebars":
|
|
481
|
+
|
|
482
|
+
def fix_handlebars_template_tags(html: str, match: re.Match[str]) -> str:
|
|
483
|
+
if inside_ignored_block(config, html, match):
|
|
484
|
+
return match.group()
|
|
485
|
+
|
|
486
|
+
return f"{match.group(1)} {match.group(2)}"
|
|
487
|
+
|
|
488
|
+
rawcode = _HANDLEBARS_BLOCK_END_PATTERN.sub(
|
|
489
|
+
partial(fix_handlebars_template_tags, rawcode), rawcode
|
|
490
|
+
)
|
|
491
|
+
|
|
492
|
+
rawcode_flat_list = rawcode.split("\n")
|
|
493
|
+
|
|
494
|
+
# A line inside a template tag written across lines holds template code,
|
|
495
|
+
# where `"<a href='x'>"` is a string: spreading its attributes put line
|
|
496
|
+
# breaks into the string, a syntax error in mako. The markup may still
|
|
497
|
+
# render, as with `{{ "<b>"|safe }}` or mako's `HTML()`, so its tags are
|
|
498
|
+
# still counted for indentation. Each such line maps to where markup may
|
|
499
|
+
# start on it, -1 for none, as on a line the tag covers.
|
|
500
|
+
markup_starts: dict[int, int] = {}
|
|
501
|
+
tag_spans = multiline_template_tag_spans(rawcode)
|
|
502
|
+
if tag_spans:
|
|
503
|
+
line_starts = [0]
|
|
504
|
+
for line in rawcode_flat_list[:-1]:
|
|
505
|
+
line_starts.append(line_starts[-1] + len(line) + 1)
|
|
506
|
+
for span_start, span_end in tag_spans:
|
|
507
|
+
first = bisect_right(line_starts, span_start) - 1
|
|
508
|
+
last = bisect_right(line_starts, span_end - 1) - 1
|
|
509
|
+
for line_index in range(first + 1, last):
|
|
510
|
+
markup_starts[line_index] = -1
|
|
511
|
+
markup_starts[last] = span_end - line_starts[last]
|
|
512
|
+
|
|
513
|
+
indent = config.indent
|
|
514
|
+
|
|
515
|
+
beautified_lines: list[str] = []
|
|
516
|
+
indent_level = 0
|
|
517
|
+
in_set_tag = False
|
|
518
|
+
# The level of the line that opened the set tag, which its closing line returns to
|
|
519
|
+
# however many brackets the lines between left open.
|
|
520
|
+
set_tag_level = 0
|
|
521
|
+
# The quote of a string in the set tag's value that a line left open.
|
|
522
|
+
set_quote = ""
|
|
523
|
+
in_multiline_tag = False
|
|
524
|
+
multiline_tag_level = 0
|
|
525
|
+
multiline_tag_is_block = False
|
|
526
|
+
# For each bracket the multiline tag's value has open, the indentation of the line
|
|
527
|
+
# that opened it, and the quote of a string a line left open.
|
|
528
|
+
multiline_brackets: list[str] = []
|
|
529
|
+
multiline_quote = ""
|
|
530
|
+
is_raw_first_line = False
|
|
531
|
+
in_raw_text_tag = False
|
|
532
|
+
is_block_raw = False
|
|
533
|
+
|
|
534
|
+
ignored_level = 0
|
|
535
|
+
# Trimmed blocktrans blocks opened inside the current ignored block.
|
|
536
|
+
open_trimmed_trans = 0
|
|
537
|
+
|
|
538
|
+
template_block_stack: list[tuple[int, int | None, bool]] = []
|
|
539
|
+
# How many template blocks are open. The tags inside an ignored block
|
|
540
|
+
# are not counted, but the ones that open and close it are, as a pair.
|
|
541
|
+
# At zero an end tag closes nothing.
|
|
542
|
+
open_template_blocks = 0
|
|
543
|
+
|
|
544
|
+
open_html_indents: list[bool] = []
|
|
545
|
+
|
|
546
|
+
patterns = _indent_patterns(config)
|
|
547
|
+
ignored_inline_start_pattern = patterns.ignored_inline_start
|
|
548
|
+
single_line_tag_pattern = patterns.single_line_tag
|
|
549
|
+
tag_unindent_pattern = patterns.tag_unindent
|
|
550
|
+
inline_slt_no_attrs_end_pattern = patterns.inline_slt_no_attrs_end
|
|
551
|
+
inline_slt_no_attrs_pattern = patterns.inline_slt_no_attrs
|
|
552
|
+
inline_slt_attrs_pattern = patterns.inline_slt_attrs
|
|
553
|
+
tag_unindent_line_pattern = patterns.tag_unindent_line
|
|
554
|
+
tag_indent_pattern = patterns.tag_indent
|
|
555
|
+
custom_html_pattern = patterns.custom_html
|
|
556
|
+
template_start_pattern = patterns.template_start
|
|
557
|
+
prefixed_template_tag_indent_pattern = patterns.prefixed_template_tag_indent
|
|
558
|
+
template_indent_pattern = config.template_indent_imx_pattern
|
|
559
|
+
template_unindent_pattern = config.template_unindent_imx_pattern
|
|
560
|
+
|
|
561
|
+
def is_html_tag(name: str) -> bool:
|
|
562
|
+
return name.lower() in HTML_TAG_NAMES or bool(
|
|
563
|
+
custom_html_pattern and custom_html_pattern.match(name)
|
|
564
|
+
)
|
|
565
|
+
|
|
566
|
+
def format_html_attributes(value: str) -> str:
|
|
567
|
+
output: list[str] = []
|
|
568
|
+
previous_end = 0
|
|
569
|
+
for token in tokenize_tags(value):
|
|
570
|
+
if token.closing or token.declaration or not is_html_tag(token.name):
|
|
571
|
+
continue
|
|
572
|
+
leading_start = token.start
|
|
573
|
+
while leading_start and value[leading_start - 1] in " \t":
|
|
574
|
+
leading_start -= 1
|
|
575
|
+
written = "".join(output) + value[previous_end : token.start]
|
|
576
|
+
replacement = format_attributes(
|
|
577
|
+
config, value, token, written[written.rfind("\n") + 1 :]
|
|
578
|
+
)
|
|
579
|
+
replacement_start = (
|
|
580
|
+
token.start if replacement == value[token.start : token.end] else leading_start
|
|
581
|
+
)
|
|
582
|
+
output.extend((value[previous_end:replacement_start], replacement))
|
|
583
|
+
previous_end = token.end
|
|
584
|
+
output.append(value[previous_end:])
|
|
585
|
+
return "".join(output)
|
|
586
|
+
|
|
587
|
+
def format_raw_text_opening(line: str, start: int) -> str:
|
|
588
|
+
"""Spread the attributes of a raw text element opening at start.
|
|
589
|
+
|
|
590
|
+
Its body is left as written, but its opening tag is markup like any
|
|
591
|
+
other. Left alone, a long one stayed on one line while its body was
|
|
592
|
+
written on lines of its own, and was spread once the body was
|
|
593
|
+
joined to it, so formatting the script a second time changed it.
|
|
594
|
+
"""
|
|
595
|
+
for token in tokenize_tags(line):
|
|
596
|
+
if token.start >= start:
|
|
597
|
+
break
|
|
598
|
+
else:
|
|
599
|
+
return line
|
|
600
|
+
if (
|
|
601
|
+
token.start != start
|
|
602
|
+
or token.closing
|
|
603
|
+
or token.name.lower() not in _RAW_TEXT_OPENINGS_SPREAD
|
|
604
|
+
):
|
|
605
|
+
return line
|
|
606
|
+
return format_html_attributes(line[: token.end]) + line[token.end :]
|
|
607
|
+
|
|
608
|
+
@cache
|
|
609
|
+
def starts_unclosed_html_tag(item: str) -> bool:
|
|
610
|
+
stripped_item = item.lstrip()
|
|
611
|
+
tokens = tokenize_tags(stripped_item)
|
|
612
|
+
opening = next(tokens, None)
|
|
613
|
+
if (
|
|
614
|
+
opening is None
|
|
615
|
+
or opening.start != 0
|
|
616
|
+
or opening.closing
|
|
617
|
+
or opening.declaration
|
|
618
|
+
or opening.self_closing
|
|
619
|
+
or opening.name.lower() in HTML_VOID_ELEMENTS
|
|
620
|
+
):
|
|
621
|
+
return False
|
|
622
|
+
|
|
623
|
+
tag = opening.name.lower()
|
|
624
|
+
depth = 1
|
|
625
|
+
for token in tokens:
|
|
626
|
+
if token.name.lower() != tag:
|
|
627
|
+
continue
|
|
628
|
+
if token.closing:
|
|
629
|
+
depth -= 1
|
|
630
|
+
elif not token.self_closing and token.name.lower() not in HTML_VOID_ELEMENTS:
|
|
631
|
+
depth += 1
|
|
632
|
+
|
|
633
|
+
return depth > 0
|
|
634
|
+
|
|
635
|
+
def formatted_item(item: str) -> str:
|
|
636
|
+
return item.lstrip() if config.preserve_leading_space else item
|
|
637
|
+
|
|
638
|
+
def output_ends_with(suffixes: tuple[str, ...]) -> bool:
|
|
639
|
+
for written in reversed(beautified_lines):
|
|
640
|
+
stripped = written.rstrip()
|
|
641
|
+
if stripped:
|
|
642
|
+
return stripped.endswith(suffixes)
|
|
643
|
+
return False
|
|
644
|
+
|
|
645
|
+
def scan_html_tags(text: str) -> tuple[int, int]:
|
|
646
|
+
"""Count tags left open, and closes of tags opened before this.
|
|
647
|
+
|
|
648
|
+
A raw text element holds text, so a "<" inside it opens no tag and
|
|
649
|
+
only its own end tag leaves the element.
|
|
650
|
+
"""
|
|
651
|
+
opened = 0
|
|
652
|
+
unclosed_closes = 0
|
|
653
|
+
raw_text_element = ""
|
|
654
|
+
for token in tokenize_tags(text):
|
|
655
|
+
name = token.name.lower()
|
|
656
|
+
if raw_text_element:
|
|
657
|
+
if not (token.closing and name == raw_text_element):
|
|
658
|
+
continue
|
|
659
|
+
raw_text_element = ""
|
|
660
|
+
elif not token.closing and not token.self_closing and name in HTML_RAW_TEXT_ELEMENTS:
|
|
661
|
+
raw_text_element = name
|
|
662
|
+
if token.self_closing:
|
|
663
|
+
continue
|
|
664
|
+
if name in HTML_VOID_ELEMENTS or not is_html_tag(name):
|
|
665
|
+
continue
|
|
666
|
+
if not token.closing:
|
|
667
|
+
opened += 1
|
|
668
|
+
elif opened:
|
|
669
|
+
opened -= 1
|
|
670
|
+
else:
|
|
671
|
+
unclosed_closes += 1
|
|
672
|
+
return opened, unclosed_closes
|
|
673
|
+
|
|
674
|
+
for line_index, item in enumerate(rawcode_flat_list):
|
|
675
|
+
markup_start = markup_starts.get(line_index, 0)
|
|
676
|
+
no_template_block_open = open_template_blocks == 0
|
|
677
|
+
is_safe_closing_tag_ = is_safe_closing_tag(config, item)
|
|
678
|
+
ignored_block_opening_start_ = ignored_block_opening_start(config, item)
|
|
679
|
+
is_ignored_block_opening_ = ignored_block_opening_start_ >= 0
|
|
680
|
+
was_block_raw = is_block_raw
|
|
681
|
+
dedent_after = 0
|
|
682
|
+
indent_level_before = indent_level
|
|
683
|
+
opened_html = 0
|
|
684
|
+
unclosed_closes = 0
|
|
685
|
+
html_dedent = 0
|
|
686
|
+
indented_closes = 0
|
|
687
|
+
closes_nothing_indented = False
|
|
688
|
+
closed_a_template_block = False
|
|
689
|
+
|
|
690
|
+
if not is_block_raw and is_ignored_block_opening_:
|
|
691
|
+
is_raw_first_line = True
|
|
692
|
+
|
|
693
|
+
if is_ignored_block_opening_:
|
|
694
|
+
is_block_raw = True
|
|
695
|
+
ignored_level += 1
|
|
696
|
+
|
|
697
|
+
if is_raw_text_block_opening(config, item):
|
|
698
|
+
in_raw_text_tag = True
|
|
699
|
+
|
|
700
|
+
marker_is_shown_as_text = (
|
|
701
|
+
is_safe_closing_tag_ and in_raw_text_tag and not is_raw_text_block_closing(config, item)
|
|
702
|
+
)
|
|
703
|
+
if marker_is_shown_as_text:
|
|
704
|
+
is_safe_closing_tag_ = False
|
|
705
|
+
|
|
706
|
+
if (
|
|
707
|
+
not is_block_raw
|
|
708
|
+
and ("{%" in item or "{{" in item)
|
|
709
|
+
and not template_unindent_pattern.match(item.lstrip())
|
|
710
|
+
):
|
|
711
|
+
close_count = len(template_unindent_pattern.findall(item))
|
|
712
|
+
if close_count:
|
|
713
|
+
open_count = len(template_start_pattern.findall(item))
|
|
714
|
+
dedent_after = max(close_count - open_count, 0)
|
|
715
|
+
if dedent_after:
|
|
716
|
+
del template_block_stack[-dedent_after:]
|
|
717
|
+
|
|
718
|
+
if not is_block_raw and "<" in item:
|
|
719
|
+
opened_html, unclosed_closes = scan_html_tags(item)
|
|
720
|
+
|
|
721
|
+
if unclosed_closes:
|
|
722
|
+
popped = min(unclosed_closes, len(open_html_indents))
|
|
723
|
+
indented_closes = 0
|
|
724
|
+
for _ in range(popped):
|
|
725
|
+
indented_closes += open_html_indents.pop()
|
|
726
|
+
closes_nothing_indented = bool(popped) and not indented_closes
|
|
727
|
+
html_dedent = max(unclosed_closes - opened_html, 0)
|
|
728
|
+
|
|
729
|
+
if is_safe_closing_tag_:
|
|
730
|
+
ignored_level = max(ignored_level - 1, 0)
|
|
731
|
+
if is_block_raw and ignored_level == 0:
|
|
732
|
+
is_block_raw = False
|
|
733
|
+
|
|
734
|
+
set_leading_closes = set_depth_change = 0
|
|
735
|
+
starts_in_set_string = False
|
|
736
|
+
if in_set_tag:
|
|
737
|
+
starts_in_set_string = bool(set_quote)
|
|
738
|
+
set_leading_closes, set_depth_change, _, set_quote = _line_brackets(item, set_quote)
|
|
739
|
+
# A line that starts with a bracket of the multiline tag's value, not with the
|
|
740
|
+
# tag's own close, lines up with the line that opened that bracket.
|
|
741
|
+
multiline_close_indent = None
|
|
742
|
+
multiline_opened = 0
|
|
743
|
+
if in_multiline_tag:
|
|
744
|
+
leading, depth_change, lowest, multiline_quote = _line_brackets(item, multiline_quote)
|
|
745
|
+
if leading and multiline_brackets:
|
|
746
|
+
multiline_close_indent = multiline_brackets[-1]
|
|
747
|
+
del multiline_brackets[max(len(multiline_brackets) + lowest, 0) :]
|
|
748
|
+
multiline_opened = depth_change - lowest
|
|
749
|
+
|
|
750
|
+
if (not is_block_raw and ignored_inline_start_pattern.search(item)) or (
|
|
751
|
+
not is_block_raw
|
|
752
|
+
and single_line_tag_pattern.search(_without_template_quotes(item.lstrip()))
|
|
753
|
+
and not starts_unclosed_html_tag(item)
|
|
754
|
+
and not template_unindent_pattern.match(item.lstrip())
|
|
755
|
+
and not tag_unindent_line_pattern.match(item.lstrip())
|
|
756
|
+
and not (
|
|
757
|
+
template_indent_pattern.match(item.lstrip())
|
|
758
|
+
and not template_unindent_pattern.search(item)
|
|
759
|
+
)
|
|
760
|
+
):
|
|
761
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
762
|
+
|
|
763
|
+
elif (
|
|
764
|
+
not config.no_set_formatting
|
|
765
|
+
and not is_block_raw
|
|
766
|
+
and in_set_tag
|
|
767
|
+
and _SET_CLOSE_PATTERN.search(item)
|
|
768
|
+
):
|
|
769
|
+
in_set_tag = False
|
|
770
|
+
# A line that starts with a closing bracket lines up with what that bracket
|
|
771
|
+
# closes, the bare tag close with the tag; anything else is one more line of
|
|
772
|
+
# the value. A line that goes on with a string gets no indentation, which
|
|
773
|
+
# would become part of the string.
|
|
774
|
+
if starts_in_set_string:
|
|
775
|
+
line_level = 0
|
|
776
|
+
elif set_leading_closes:
|
|
777
|
+
line_level = max(indent_level - 1, set_tag_level)
|
|
778
|
+
elif _TAG_CLOSE_START_PATTERN.match(item):
|
|
779
|
+
line_level = set_tag_level
|
|
780
|
+
else:
|
|
781
|
+
line_level = indent_level
|
|
782
|
+
tmp = (indent * line_level) + formatted_item(item) + "\n"
|
|
783
|
+
indent_level = set_tag_level
|
|
784
|
+
set_quote = ""
|
|
785
|
+
|
|
786
|
+
elif (
|
|
787
|
+
not config.no_set_formatting
|
|
788
|
+
and not is_block_raw
|
|
789
|
+
and in_set_tag
|
|
790
|
+
and (set_leading_closes or set_depth_change or starts_in_set_string)
|
|
791
|
+
):
|
|
792
|
+
# A line that starts with a closing bracket lines up with what that bracket
|
|
793
|
+
# closes; the next line follows every bracket this one opens or closes, and
|
|
794
|
+
# stays a level inside the tag, as the rest of the value.
|
|
795
|
+
line_level = max(indent_level - (1 if set_leading_closes else 0), set_tag_level)
|
|
796
|
+
if starts_in_set_string:
|
|
797
|
+
line_level = 0
|
|
798
|
+
tmp = (indent * line_level) + formatted_item(item) + "\n"
|
|
799
|
+
indent_level = max(indent_level + set_depth_change, set_tag_level + 1)
|
|
800
|
+
|
|
801
|
+
elif not is_block_raw and in_multiline_tag and _MULTILINE_TAG_CLOSE_PATTERN.search(item):
|
|
802
|
+
if multiline_close_indent is None:
|
|
803
|
+
tmp_level = (
|
|
804
|
+
multiline_tag_level
|
|
805
|
+
if _LEADING_CLOSE_BRACKET_PATTERN.match(item)
|
|
806
|
+
else multiline_tag_level + 1
|
|
807
|
+
)
|
|
808
|
+
multiline_close_indent = indent * tmp_level
|
|
809
|
+
tmp = multiline_close_indent + formatted_item(item) + "\n"
|
|
810
|
+
# Brackets of a tag the line opens are counted from that tag's opener.
|
|
811
|
+
multiline_opened = 0
|
|
812
|
+
indent_level = multiline_tag_level + (1 if multiline_tag_is_block else 0)
|
|
813
|
+
if multiline_tag_is_block:
|
|
814
|
+
template_block_stack.append((multiline_tag_level, None, True))
|
|
815
|
+
closes_an_html_tag_too = bool(tag_unindent_pattern.search(item.lstrip()))
|
|
816
|
+
if closes_an_html_tag_too:
|
|
817
|
+
indent_level = max(indent_level - 1, 0)
|
|
818
|
+
if multiline_open := _MULTILINE_TAG_OPEN_PATTERN.search(item):
|
|
819
|
+
multiline_tag_level = indent_level
|
|
820
|
+
_, opened, lowest, multiline_quote = _line_brackets(
|
|
821
|
+
item[multiline_open.start() + 2 :], ""
|
|
822
|
+
)
|
|
823
|
+
multiline_brackets = [indent * multiline_tag_level] * (opened - lowest)
|
|
824
|
+
multiline_tag_is_block = len(template_start_pattern.findall(item)) > len(
|
|
825
|
+
template_unindent_pattern.findall(item)
|
|
826
|
+
)
|
|
827
|
+
indent_level += 1
|
|
828
|
+
else:
|
|
829
|
+
in_multiline_tag = False
|
|
830
|
+
|
|
831
|
+
elif (
|
|
832
|
+
not is_block_raw
|
|
833
|
+
and in_multiline_tag
|
|
834
|
+
and (
|
|
835
|
+
_SET_CLOSING_BRACE_PATTERN.search(item)
|
|
836
|
+
or _MULTILINE_TAG_CLOSE_PAREN_PATTERN.search(item)
|
|
837
|
+
)
|
|
838
|
+
):
|
|
839
|
+
indent_level = max(indent_level - 1, 0)
|
|
840
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
841
|
+
|
|
842
|
+
elif (
|
|
843
|
+
not is_block_raw
|
|
844
|
+
and in_multiline_tag
|
|
845
|
+
and (
|
|
846
|
+
_SET_OPENING_BRACE_PATTERN.search(item)
|
|
847
|
+
or _MULTILINE_TAG_OPEN_PAREN_PATTERN.search(item)
|
|
848
|
+
)
|
|
849
|
+
):
|
|
850
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
851
|
+
indent_level += 1
|
|
852
|
+
|
|
853
|
+
elif (
|
|
854
|
+
not is_block_raw
|
|
855
|
+
and not is_safe_closing_tag_
|
|
856
|
+
and tag_unindent_pattern.search(item.lstrip())
|
|
857
|
+
and (unclosed_closes > opened_html or not inline_slt_no_attrs_end_pattern.search(item))
|
|
858
|
+
and not starts_unclosed_html_tag(item)
|
|
859
|
+
and not tag_unindent_line_pattern.match(item.lstrip())
|
|
860
|
+
):
|
|
861
|
+
if inline_slt_no_attrs_pattern.search(item) or inline_slt_attrs_pattern.search(item):
|
|
862
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
863
|
+
indent_level = max(indent_level - 1, 0)
|
|
864
|
+
elif template_block_stack and template_unindent_pattern.match(item.lstrip()):
|
|
865
|
+
saved_level, branch_delta, consistent = template_block_stack.pop()
|
|
866
|
+
closed_a_template_block = True
|
|
867
|
+
delta = indent_level - saved_level - 1
|
|
868
|
+
target = (
|
|
869
|
+
saved_level + delta if consistent and branch_delta == delta else saved_level
|
|
870
|
+
)
|
|
871
|
+
indent_level = min(max(indent_level - 1, 0), max(target, 0))
|
|
872
|
+
tmp = (indent * min(indent_level, saved_level)) + formatted_item(item) + "\n"
|
|
873
|
+
if config.profile == "golang":
|
|
874
|
+
glued_openers = len(template_start_pattern.findall(item)) - (
|
|
875
|
+
len(template_unindent_pattern.findall(item)) - 1
|
|
876
|
+
)
|
|
877
|
+
for _ in range(max(glued_openers, 0)):
|
|
878
|
+
template_block_stack.append((indent_level, None, True))
|
|
879
|
+
indent_level += 1
|
|
880
|
+
elif closes_nothing_indented or (
|
|
881
|
+
no_template_block_open
|
|
882
|
+
and not unclosed_closes
|
|
883
|
+
and template_unindent_pattern.match(item.lstrip())
|
|
884
|
+
):
|
|
885
|
+
# An end tag with no block open to close, as an unknown
|
|
886
|
+
# `{% endtoc %}` or a stray `{% endif %}`, closes nothing, so
|
|
887
|
+
# it stays at the level of what it is written in.
|
|
888
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
889
|
+
|
|
890
|
+
else:
|
|
891
|
+
floor = template_block_stack[-1][0] + 1 if template_block_stack else 0
|
|
892
|
+
floor_held = indent_level - 1 < floor
|
|
893
|
+
if floor_held:
|
|
894
|
+
html_dedent = 0
|
|
895
|
+
indent_level = max(indent_level - 1, floor)
|
|
896
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
897
|
+
|
|
898
|
+
elif not is_block_raw and tag_unindent_line_pattern.search(item):
|
|
899
|
+
if template_block_stack:
|
|
900
|
+
saved_level, branch_delta, consistent = template_block_stack[-1]
|
|
901
|
+
delta = indent_level - saved_level - 1
|
|
902
|
+
if branch_delta is None:
|
|
903
|
+
branch_delta = delta
|
|
904
|
+
elif branch_delta != delta:
|
|
905
|
+
consistent = False
|
|
906
|
+
template_block_stack[-1] = (saved_level, branch_delta, consistent)
|
|
907
|
+
tmp = (indent * saved_level) + formatted_item(item) + "\n"
|
|
908
|
+
indent_level = saved_level + 1
|
|
909
|
+
else:
|
|
910
|
+
tmp = (indent * (indent_level - 1)) + formatted_item(item) + "\n"
|
|
911
|
+
|
|
912
|
+
elif (
|
|
913
|
+
not config.no_set_formatting
|
|
914
|
+
and not is_block_raw
|
|
915
|
+
and not in_set_tag
|
|
916
|
+
and (set_open := _SET_OPEN_PATTERN.search(item))
|
|
917
|
+
):
|
|
918
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
919
|
+
set_tag_level = indent_level
|
|
920
|
+
# The value starts a level in, or one per bracket it leaves open, as in
|
|
921
|
+
# `outer(inner(`.
|
|
922
|
+
_, opened, _, set_quote = _line_brackets(item[set_open.end(1) :], "")
|
|
923
|
+
indent_level += max(opened, 1)
|
|
924
|
+
in_set_tag = True
|
|
925
|
+
|
|
926
|
+
elif (
|
|
927
|
+
not is_block_raw
|
|
928
|
+
and not config.preserve_leading_space
|
|
929
|
+
and not in_set_tag
|
|
930
|
+
and not in_multiline_tag
|
|
931
|
+
and (multiline_open := _MULTILINE_TAG_OPEN_PATTERN.search(item))
|
|
932
|
+
and not starts_unclosed_html_tag(item)
|
|
933
|
+
):
|
|
934
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
935
|
+
in_multiline_tag = True
|
|
936
|
+
multiline_tag_level = indent_level
|
|
937
|
+
# The opener's own braces are not part of the value.
|
|
938
|
+
_, opened, lowest, multiline_quote = _line_brackets(
|
|
939
|
+
item[multiline_open.start() + 2 :], ""
|
|
940
|
+
)
|
|
941
|
+
multiline_brackets = [indent * multiline_tag_level] * (opened - lowest)
|
|
942
|
+
multiline_tag_is_block = len(template_start_pattern.findall(item)) > len(
|
|
943
|
+
template_unindent_pattern.findall(item)
|
|
944
|
+
)
|
|
945
|
+
indent_level += 1
|
|
946
|
+
|
|
947
|
+
elif not is_block_raw and (
|
|
948
|
+
tag_indent_pattern.search(item.lstrip())
|
|
949
|
+
or (
|
|
950
|
+
prefixed_template_tag_indent_pattern.search(item.lstrip())
|
|
951
|
+
and not _TEMPLATE_TAG_CLOSE_PATTERN.search(item)
|
|
952
|
+
)
|
|
953
|
+
):
|
|
954
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
955
|
+
if template_indent_pattern.match(item.lstrip()) and len(
|
|
956
|
+
template_indent_pattern.findall(item)
|
|
957
|
+
) > len(template_unindent_pattern.findall(item)):
|
|
958
|
+
template_block_stack.append((indent_level, None, True))
|
|
959
|
+
indent_level += 1
|
|
960
|
+
|
|
961
|
+
elif is_raw_first_line or (is_safe_closing_tag_ and not is_block_raw):
|
|
962
|
+
if is_raw_first_line and "<" in item:
|
|
963
|
+
# A tag closed before the block opens, as in
|
|
964
|
+
# `</noscript><script>`, closes what it closes as on any other
|
|
965
|
+
# line. Left open, it indented the rest of the file a level
|
|
966
|
+
# deeper once the script was written over several lines.
|
|
967
|
+
_, closes = scan_html_tags(item[:ignored_block_opening_start_])
|
|
968
|
+
popped = min(closes, len(open_html_indents))
|
|
969
|
+
indented_closes = sum(open_html_indents.pop() for _ in range(popped))
|
|
970
|
+
floor = template_block_stack[-1][0] + 1 if template_block_stack else 0
|
|
971
|
+
indent_level = max(indent_level - indented_closes, min(floor, indent_level))
|
|
972
|
+
tmp = (indent * indent_level) + formatted_item(item) + "\n"
|
|
973
|
+
|
|
974
|
+
elif is_block_raw or not item.strip():
|
|
975
|
+
if (
|
|
976
|
+
config.profile in {"jinja", "askama", "tera", "liquid", "nunjucks"}
|
|
977
|
+
and is_block_raw
|
|
978
|
+
and _TEXTAREA_CLOSE_PATTERN.search(item)
|
|
979
|
+
and output_ends_with(("-}}", "-%}"))
|
|
980
|
+
):
|
|
981
|
+
tmp = (indent * indent_level) + item.lstrip() + "\n"
|
|
982
|
+
else:
|
|
983
|
+
tmp = item + "\n"
|
|
984
|
+
|
|
985
|
+
elif config.preserve_leading_space and _SINGLE_LINE_TEMPLATE_TAG_PATTERN.search(item):
|
|
986
|
+
tmp = (indent * indent_level) + item.lstrip() + "\n"
|
|
987
|
+
|
|
988
|
+
elif not config.preserve_leading_space:
|
|
989
|
+
tmp = (indent * indent_level) + item + "\n"
|
|
990
|
+
else:
|
|
991
|
+
tmp = item + "\n"
|
|
992
|
+
|
|
993
|
+
# Whichever branch indented the line, the brackets it leaves open remember how.
|
|
994
|
+
if multiline_opened:
|
|
995
|
+
line_indent = tmp[: len(tmp) - len(tmp.lstrip(" "))]
|
|
996
|
+
multiline_brackets.extend([line_indent] * multiline_opened)
|
|
997
|
+
|
|
998
|
+
if html_dedent:
|
|
999
|
+
stripped_item = item.lstrip()
|
|
1000
|
+
already_given_back = indent_level < indent_level_before
|
|
1001
|
+
took_no_level_of_its_own = indent_level == indent_level_before or not (
|
|
1002
|
+
stripped_item.startswith("<") and not stripped_item.startswith("</")
|
|
1003
|
+
)
|
|
1004
|
+
if already_given_back and not closed_a_template_block:
|
|
1005
|
+
html_dedent = 0
|
|
1006
|
+
elif took_no_level_of_its_own:
|
|
1007
|
+
html_dedent = min(html_dedent, indented_closes)
|
|
1008
|
+
dedent_after += html_dedent
|
|
1009
|
+
|
|
1010
|
+
if opened_html:
|
|
1011
|
+
if indent_level > indent_level_before:
|
|
1012
|
+
open_html_indents.append(True)
|
|
1013
|
+
opened_html -= 1
|
|
1014
|
+
elif indent_level < indent_level_before:
|
|
1015
|
+
indent_level += 1
|
|
1016
|
+
open_html_indents.append(True)
|
|
1017
|
+
opened_html -= 1
|
|
1018
|
+
open_html_indents.extend([False] * opened_html)
|
|
1019
|
+
|
|
1020
|
+
if dedent_after:
|
|
1021
|
+
indent_level = max(indent_level - dedent_after, 0)
|
|
1022
|
+
|
|
1023
|
+
if is_ignored_block_opening_:
|
|
1024
|
+
opening_tail = item[ignored_block_opening_start_:] + "\n"
|
|
1025
|
+
# As for any other tag, one inside a template tag written across
|
|
1026
|
+
# lines is part of its text, and spreading it would change that.
|
|
1027
|
+
in_template_text = markup_start < 0 or "<" in item[:markup_start]
|
|
1028
|
+
if is_raw_first_line and not in_template_text and tmp.endswith(opening_tail):
|
|
1029
|
+
tmp = format_raw_text_opening(tmp, len(tmp) - len(opening_tail))
|
|
1030
|
+
is_block_raw = True
|
|
1031
|
+
is_raw_first_line = False
|
|
1032
|
+
if "<" in item:
|
|
1033
|
+
opened, _ = scan_html_tags(item[:ignored_block_opening_start_])
|
|
1034
|
+
if opened:
|
|
1035
|
+
indent_level += 1
|
|
1036
|
+
open_html_indents.append(True)
|
|
1037
|
+
open_html_indents.extend([False] * (opened - 1))
|
|
1038
|
+
|
|
1039
|
+
elif not is_block_raw and (
|
|
1040
|
+
markup_start == 0 or (markup_start > 0 and "<" not in item[:markup_start])
|
|
1041
|
+
):
|
|
1042
|
+
tmp = format_html_attributes(tmp)
|
|
1043
|
+
|
|
1044
|
+
# A trimmed blocktrans is formatted rather than left alone, so it
|
|
1045
|
+
# opens no ignored block, but its endblocktrans looks like the close
|
|
1046
|
+
# of one: inside a `{% filter %}` it ended the filter early. Each one
|
|
1047
|
+
# opened in an ignored block claims the next endblocktrans there.
|
|
1048
|
+
closing_item = item
|
|
1049
|
+
if is_block_raw:
|
|
1050
|
+
trimmed_trans_opens = len(_TRIMMED_TRANS_OPEN_PATTERN.findall(item))
|
|
1051
|
+
trans_closes = len(_TRANS_CLOSE_PATTERN.findall(item))
|
|
1052
|
+
claimed = min(trans_closes, open_trimmed_trans + trimmed_trans_opens)
|
|
1053
|
+
open_trimmed_trans += trimmed_trans_opens - claimed
|
|
1054
|
+
if claimed:
|
|
1055
|
+
closing_item = _TRANS_CLOSE_PATTERN.sub("", item, count=claimed)
|
|
1056
|
+
|
|
1057
|
+
if (
|
|
1058
|
+
not in_raw_text_tag or is_raw_text_block_closing(config, item)
|
|
1059
|
+
) and is_ignored_block_closing(config, closing_item):
|
|
1060
|
+
in_raw_text_tag = False
|
|
1061
|
+
if not is_safe_closing_tag_:
|
|
1062
|
+
ignored_level = max(ignored_level - 1, 0)
|
|
1063
|
+
if ignored_level == 0:
|
|
1064
|
+
is_block_raw = False
|
|
1065
|
+
open_trimmed_trans = 0
|
|
1066
|
+
if was_block_raw and "<" in item:
|
|
1067
|
+
tail = ""
|
|
1068
|
+
for close in config.ignored_block_closing_pattern.finditer(item):
|
|
1069
|
+
tail = item[close.end() :]
|
|
1070
|
+
opened, closed = scan_html_tags(tail)
|
|
1071
|
+
if closed:
|
|
1072
|
+
kept = max(len(open_html_indents) - closed, 0)
|
|
1073
|
+
indent_level = max(indent_level - sum(open_html_indents[kept:]), 0)
|
|
1074
|
+
del open_html_indents[kept:]
|
|
1075
|
+
open_html_indents.extend([False] * opened)
|
|
1076
|
+
|
|
1077
|
+
if "{" in item and not (was_block_raw and is_block_raw):
|
|
1078
|
+
opened = 0 if was_block_raw else len(template_indent_pattern.findall(item))
|
|
1079
|
+
closed = len(template_unindent_pattern.findall(item))
|
|
1080
|
+
open_template_blocks = max(open_template_blocks + opened - closed, 0)
|
|
1081
|
+
|
|
1082
|
+
beautified_lines.append(tmp)
|
|
1083
|
+
|
|
1084
|
+
# The strings are whole again before sets and calls are laid out, which
|
|
1085
|
+
# read their values as data.
|
|
1086
|
+
beautified_code = restore_template_string_newlines("".join(beautified_lines))
|
|
1087
|
+
|
|
1088
|
+
def format_data(
|
|
1089
|
+
config: Config,
|
|
1090
|
+
contents: str,
|
|
1091
|
+
tag_size: int,
|
|
1092
|
+
leading_space: str,
|
|
1093
|
+
*,
|
|
1094
|
+
quote_style: QuoteStyle = QuoteStyle.ALWAYS_DOUBLE,
|
|
1095
|
+
normalize_string_quotes: bool = False,
|
|
1096
|
+
) -> str:
|
|
1097
|
+
"""Lay out the contents of a set assignment or function call.
|
|
1098
|
+
|
|
1099
|
+
json.dumps produces relative indentation, which has to be shifted
|
|
1100
|
+
by leading_space. The fallback keeps the absolute indentation the
|
|
1101
|
+
indent pass already applied, so its lines are joined unshifted.
|
|
1102
|
+
Contents spread over several lines that are neither data nor a
|
|
1103
|
+
literal have no layout to give them, so they are left as written.
|
|
1104
|
+
"""
|
|
1105
|
+
joiner = "\n"
|
|
1106
|
+
try:
|
|
1107
|
+
data = json.loads(contents)
|
|
1108
|
+
contents = json.dumps(
|
|
1109
|
+
data,
|
|
1110
|
+
trailing_commas=False,
|
|
1111
|
+
ensure_ascii=False,
|
|
1112
|
+
quote_keys=True,
|
|
1113
|
+
quote_style=quote_style,
|
|
1114
|
+
)
|
|
1115
|
+
|
|
1116
|
+
if tag_size + len(contents) >= config.max_line_length:
|
|
1117
|
+
contents = json.dumps(
|
|
1118
|
+
data,
|
|
1119
|
+
indent=config.indent_size,
|
|
1120
|
+
trailing_commas=False,
|
|
1121
|
+
ensure_ascii=False,
|
|
1122
|
+
quote_keys=True,
|
|
1123
|
+
quote_style=quote_style,
|
|
1124
|
+
)
|
|
1125
|
+
joiner = f"\n{leading_space}"
|
|
1126
|
+
|
|
1127
|
+
except Exception:
|
|
1128
|
+
try:
|
|
1129
|
+
literal = ast.literal_eval(contents)
|
|
1130
|
+
# A string json cannot read, as `"a" "b"`, is left as written
|
|
1131
|
+
# too: str() would drop its quotes and leave a name.
|
|
1132
|
+
evaluated = None if isinstance(literal, str) else str(literal)
|
|
1133
|
+
except Exception:
|
|
1134
|
+
evaluated = None
|
|
1135
|
+
if evaluated is None:
|
|
1136
|
+
if "\n" in contents:
|
|
1137
|
+
return contents.strip(" \t")
|
|
1138
|
+
contents = contents.strip()
|
|
1139
|
+
else:
|
|
1140
|
+
added_parentheses = contents[:1] != "(" and evaluated[:1] == "("
|
|
1141
|
+
contents = evaluated[1:-1] if added_parentheses else evaluated
|
|
1142
|
+
|
|
1143
|
+
if normalize_string_quotes:
|
|
1144
|
+
contents = _format_string_tokens(contents, quote_style)
|
|
1145
|
+
|
|
1146
|
+
# split on "\n" alone: str.splitlines() also breaks on U+2028, U+0085
|
|
1147
|
+
# and form feed, which are content, as in a string argument
|
|
1148
|
+
return joiner.join(contents.removesuffix("\n").split("\n"))
|
|
1149
|
+
|
|
1150
|
+
def format_set(config: Config, html: str, match: re.Match[str]) -> str:
|
|
1151
|
+
if inside_ignored_block(config, html, match):
|
|
1152
|
+
return match.group()
|
|
1153
|
+
|
|
1154
|
+
leading_space = match.group(1)
|
|
1155
|
+
open_bracket = match.group(2)
|
|
1156
|
+
tag = match.group(3)
|
|
1157
|
+
close_bracket = match.group(5)
|
|
1158
|
+
contents = match.group(4).strip()
|
|
1159
|
+
contents_split = contents.split("=", 1)
|
|
1160
|
+
|
|
1161
|
+
if len(contents_split) > 1:
|
|
1162
|
+
contents = (
|
|
1163
|
+
contents_split[0].strip()
|
|
1164
|
+
+ " = "
|
|
1165
|
+
+ format_data(
|
|
1166
|
+
config,
|
|
1167
|
+
contents_split[-1],
|
|
1168
|
+
len(f"{open_bracket} {tag} {close_bracket}"),
|
|
1169
|
+
leading_space,
|
|
1170
|
+
quote_style=_QUOTE_STYLES[config.quote_style],
|
|
1171
|
+
)
|
|
1172
|
+
)
|
|
1173
|
+
|
|
1174
|
+
return f"{leading_space}{open_bracket} {tag} {contents} {close_bracket}"
|
|
1175
|
+
|
|
1176
|
+
def format_function(config: Config, html: str, match: re.Match[str]) -> str:
|
|
1177
|
+
if inside_ignored_block(config, html, match):
|
|
1178
|
+
return match.group()
|
|
1179
|
+
|
|
1180
|
+
indent = leading_space = match["indent"]
|
|
1181
|
+
open_bracket = match["open"]
|
|
1182
|
+
name = match["name"]
|
|
1183
|
+
tag = name.strip()
|
|
1184
|
+
# A call written on a line of its own after the "{{" stays there, as
|
|
1185
|
+
# the closing "}}" does: its lines were indented for that layout, and
|
|
1186
|
+
# lifting the call onto the "{{" line left them a level too deep
|
|
1187
|
+
# until the next run. They are laid out from the call's own line.
|
|
1188
|
+
opening_gap = " "
|
|
1189
|
+
name_gap = name[: len(name) - len(name.lstrip())]
|
|
1190
|
+
if "\n" in name_gap:
|
|
1191
|
+
opening_gap = name_gap[name_gap.find("\n") :]
|
|
1192
|
+
leading_space = opening_gap[opening_gap.rfind("\n") + 1 :]
|
|
1193
|
+
index = match["index"] or ""
|
|
1194
|
+
close_bracket = match["close"]
|
|
1195
|
+
quote_style = _QUOTE_STYLES[config.quote_style]
|
|
1196
|
+
normalize_string_quotes = False
|
|
1197
|
+
|
|
1198
|
+
if config.profile == "jinja":
|
|
1199
|
+
outer_quote = _attribute_quote_at(html, match.start("open"))
|
|
1200
|
+
match outer_quote:
|
|
1201
|
+
case '"':
|
|
1202
|
+
quote_style = QuoteStyle.ALWAYS_SINGLE
|
|
1203
|
+
normalize_string_quotes = True
|
|
1204
|
+
case "'":
|
|
1205
|
+
quote_style = QuoteStyle.ALWAYS_DOUBLE
|
|
1206
|
+
normalize_string_quotes = True
|
|
1207
|
+
case _:
|
|
1208
|
+
pass
|
|
1209
|
+
|
|
1210
|
+
contents = format_data(
|
|
1211
|
+
config,
|
|
1212
|
+
match["paren"][1:-1],
|
|
1213
|
+
len(f"{open_bracket} {tag}() {close_bracket}"),
|
|
1214
|
+
leading_space,
|
|
1215
|
+
quote_style=quote_style,
|
|
1216
|
+
normalize_string_quotes=normalize_string_quotes,
|
|
1217
|
+
)
|
|
1218
|
+
|
|
1219
|
+
separator = " " if close_bracket.lstrip("-+").startswith("}}") else match["gap"]
|
|
1220
|
+
closing_space = leading_space if contents.endswith("\n") else ""
|
|
1221
|
+
return (
|
|
1222
|
+
f"{indent}{open_bracket}{opening_gap}{tag}({contents}{closing_space})"
|
|
1223
|
+
f"{index}{separator}{close_bracket}"
|
|
1224
|
+
)
|
|
1225
|
+
|
|
1226
|
+
if not config.no_set_formatting:
|
|
1227
|
+
beautified_code = _SET_CONTENT_PATTERN.sub(
|
|
1228
|
+
partial(format_set, config, beautified_code), beautified_code
|
|
1229
|
+
)
|
|
1230
|
+
|
|
1231
|
+
if not config.no_function_formatting:
|
|
1232
|
+
beautified_code = _FUNCTION_CONTENT_PATTERN.sub(
|
|
1233
|
+
partial(format_function, config, beautified_code), beautified_code
|
|
1234
|
+
)
|
|
1235
|
+
|
|
1236
|
+
if not config.preserve_blank_lines:
|
|
1237
|
+
beautified_code = beautified_code.lstrip(COLLAPSIBLE_WHITESPACE)
|
|
1238
|
+
|
|
1239
|
+
return beautified_code.rstrip(COLLAPSIBLE_WHITESPACE) + "\n"
|