Add a primitive lexer for Typst by jvoisin · Pull Request #2596 · pygments/pygments
jvoisin@home 20:49 (tyspt) ~/dev/pygments tox -- --update-goldens ~/text.typ
Traceback (most recent call last):
File "/usr/bin/tox", line 33, in <module>
sys.exit(load_entry_point('tox==3.21.4', 'console_scripts', 'tox')())
File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 44, in cmdline
main(args)
File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 65, in main
config = load_config(args)
File "/usr/lib/python3/dist-packages/tox/session/__init__.py", line 81, in load_config
config = parseconfig(args)
File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 280, in parseconfig
ParseIni(config, config_file, content)
File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1276, in __init__
raise tox.exception.ConfigError(
tox.exception.ConfigError: ConfigError: pylint failed with ConfigError: skip_install: boolean value "True # doesn't need installing Pygments into the venv" needs to be 'True' or 'False' at Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1252, in run
results[name] = cur_self.make_envconfig(name, section, subs, config)
File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1407, in make_envconfig
res = meth(env_attr.name, env_attr.default, replace=replace)
File "/usr/lib/python3/dist-packages/tox/config/__init__.py", line 1696, in getbool
raise tox.exception.ConfigError(
tox.exception.ConfigError: ConfigError: skip_install: boolean value "True # doesn't need installing Pygments into the venv" needs to be 'True' or 'False'
[1]
jvoisin@home 20:49 (tyspt) ~/dev/pygments
Also, while the lexer is working ~ok, there is still a lot of space for improvements.