New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Replace use of pkg_resources
with importlib.metadata
#2116
Comments
importlib.metadata is a standard library replacement for pkg_resources, available starting with Python 3.8. It is faster than pkg_resources. This lets the plugin interface use it when available, i.e. on Python 3.8 and later. On earlier Python, it uses the importlib_metadata PyPI backport if available, and finally falls back on pkg_resources. setup.cfg gains an extra called plugins, which can allow a project to install "pygments[plugins]" in order to ensure that plugins support is present even if installed with older Python versions. Timings for lexing an empty file with a lexer from a random plugin: Before: real 0m0,238s user 0m0,210s sys 0m0,029s After: real 0m0,141s user 0m0,125s sys 0m0,017s Fixes pygments#2116, pygments#2126
importlib.metadata is a standard library replacement for pkg_resources, available starting with Python 3.8. It is faster than pkg_resources. This lets the plugin interface use it when available, i.e. on Python 3.8 and later. On earlier Python, it uses the importlib_metadata PyPI backport if available, and finally falls back on pkg_resources. setup.cfg gains an extra called plugins, which can allow a project to install "pygments[plugins]" in order to ensure that plugins support is present even if installed with older Python versions. Timings for lexing an empty file with a lexer from a random plugin: Before: real 0m0,238s user 0m0,210s sys 0m0,029s After: real 0m0,141s user 0m0,125s sys 0m0,017s Fixes pygments#2116, pygments#2126
Tested and it builds correctly with passing test suite. warning: Downloading https://github.com/pygments/pygments//archive/2.12.0/python-pygments-2.12.0.tar.gz to /home/tkloczko/rpmbuild/SOURCES/python-pygments-2.12.0.tar.gz
warning: Downloading https://github.com/pygments/pygments//pull/2155.patch#/python-pygments-Switch-from-pkg_resources-to-importlib.metadata.patch to /home/tkloczko/rpmbuild/SOURCES/python-pygments-Switch-from-pkg_resources-to-importlib.metadata.patch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z6GMkm
+ umask 022
+ cd /home/tkloczko/rpmbuild/BUILD
+ cd /home/tkloczko/rpmbuild/BUILD
+ rm -rf pygments-2.12.0
+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/python-pygments-2.12.0.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pygments-2.12.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-pygments-man3_level.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-pygments-fix_doc_CHHANGES_path.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-pygments-Switch-from-pkg_resources-to-importlib.metadata.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ RPM_EC=0
++ jobs -p
+ exit 0
[..]
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pygments-2.12.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pygments-2.12.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/pygments-2.12.0, configfile: pytest.ini
collected 4006 items
tests/test_basic_api.py ............................................................................................................................................ [ 3%]
.................................................................................................................................................................... [ 7%]
.................................................................................................................................................................... [ 11%]
.................................................................................................................................................................... [ 15%]
.................................................................................................................................................................... [ 19%]
.................................................................................................................................................................... [ 23%]
.................................................................................................................................................................... [ 28%]
.................................................................................................................................................................... [ 32%]
.................................................................................................................................................................... [ 36%]
.................................................................................................................................................................... [ 40%]
.................................................................................................................................................................... [ 44%]
.................................................................................................................................................................... [ 48%]
.................................................................................................................................................................... [ 52%]
........................................................................ [ 54%]
tests/test_cmdline.py .............................. [ 55%]
tests/test_coffeescript.py .................... [ 55%]
tests/test_crystal.py ..... [ 55%]
tests/test_data.py .............................................................................................................................................. [ 59%]
tests/test_devicetree_lexer.py ... [ 59%]
tests/test_groff_formatter.py . [ 59%]
tests/test_guess.py s..ss............... [ 59%]
tests/test_html_formatter.py ................... [ 60%]
tests/test_html_formatter_linenos_elements.py ...................................................................................................................... [ 63%]
.......... [ 63%]
tests/test_html_lexer.py ..... [ 63%]
tests/test_inherit.py ..... [ 63%]
tests/test_irc_formatter.py . [ 63%]
tests/test_java.py ....... [ 64%]
tests/test_javascript.py ................................................... [ 65%]
tests/test_latex_formatter.py .s. [ 65%]
tests/test_markdown_lexer.py ............ [ 65%]
tests/test_modeline.py . [ 65%]
tests/test_mysql.py ................................................................................................................................................ [ 69%]
............. [ 69%]
tests/test_pangomarkup_formatter.py . [ 69%]
tests/test_perllexer.py ....................... [ 70%]
tests/test_procfile.py .. [ 70%]
tests/test_raw_token.py .. [ 70%]
tests/test_regexlexer.py ..... [ 70%]
tests/test_regexopt.py ....... [ 70%]
tests/test_robotframework_lexer.py ... [ 70%]
tests/test_rtf_formatter.py ...... [ 70%]
tests/test_ruby.py ........................................................ [ 72%]
tests/test_sql.py ....... [ 72%]
tests/test_templates.py ...... [ 72%]
tests/test_terminal_formatter.py ..... [ 72%]
tests/test_thingsdb.py .. [ 72%]
tests/test_tnt.py ..................................................................... [ 74%]
tests/test_token.py .... [ 74%]
tests/test_unistring.py .. [ 74%]
tests/test_usd.py .. [ 74%]
tests/test_using_api.py .. [ 74%]
tests/test_util.py ................. [ 75%]
tests/test_words.py ..... [ 75%]
tests/contrast/test_contrasts.py . [ 75%]
tests/examplefiles/abnf/abnf_example1.abnf . [ 75%]
tests/examplefiles/abnf/abnf_example2.abnf . [ 75%]
tests/examplefiles/ada/test.adb . [ 75%]
tests/examplefiles/adl/test.adls . [ 75%]
tests/examplefiles/adl/test_basic.adls . [ 75%]
tests/examplefiles/agda/test.agda . [ 75%]
tests/examplefiles/aheui/durexmania.aheui . [ 75%]
tests/examplefiles/aheui/fibonacci.tokigun.aheui . [ 75%]
tests/examplefiles/aheui/hello-world.puzzlet.aheui . [ 75%]
tests/examplefiles/ahk/demo.ahk . [ 75%]
tests/examplefiles/alloy/example.als . [ 75%]
tests/examplefiles/amdgpu/amdgpu.isa . [ 75%]
tests/examplefiles/antlr/antlr_ANTLRv3.g . [ 75%]
tests/examplefiles/antlr/antlr_throws . [ 75%]
tests/examplefiles/apacheconf/apache2.conf . [ 75%]
tests/examplefiles/apdl/example1apdl.ans . [ 75%]
tests/examplefiles/apdl/example2apdl.ans . [ 75%]
tests/examplefiles/apl/test.apl . [ 75%]
tests/examplefiles/applescript/pppoe.applescript . [ 75%]
tests/examplefiles/applescript/unicode.applescript . [ 75%]
tests/examplefiles/arduino/Blink.ino . [ 75%]
tests/examplefiles/arrow/primesieve.arw . [ 75%]
tests/examplefiles/as3/as3_test.as . [ 75%]
tests/examplefiles/as3/as3_test2.as . [ 75%]
tests/examplefiles/as3/as3_test3.as . [ 75%]
tests/examplefiles/asc/id_ecdsa . [ 75%]
tests/examplefiles/aspx-cs/aspx-cs_example . [ 75%]
tests/examplefiles/aspx-vb/example2.aspx . [ 76%]
tests/examplefiles/asy/test.asy . [ 76%]
tests/examplefiles/at/hello.at . [ 76%]
tests/examplefiles/autoit/autoit_submit.au3 . [ 76%]
tests/examplefiles/awk/test.awk . [ 76%]
tests/examplefiles/bare/bare.bare . [ 76%]
tests/examplefiles/bash/example.sh . [ 76%]
tests/examplefiles/bash/ltmain.sh . [ 76%]
tests/examplefiles/bash/stripheredoc.sh . [ 76%]
tests/examplefiles/bat/example.bat . [ 76%]
tests/examplefiles/bbcbasic/example.bbc . [ 76%]
tests/examplefiles/bc/example.bc . [ 76%]
tests/examplefiles/bdd/example.feature . [ 76%]
tests/examplefiles/berry/berry.be . [ 76%]
tests/examplefiles/bib/test.bib . [ 76%]
tests/examplefiles/blitzbasic/test.bb . [ 76%]
tests/examplefiles/blitzmax/test.bmx . [ 76%]
tests/examplefiles/bnf/bnf_example1.bnf . [ 76%]
tests/examplefiles/boa/example.boa . [ 76%]
tests/examplefiles/boo/test.boo . [ 76%]
tests/examplefiles/boogie/test.bpl . [ 76%]
tests/examplefiles/bst/plain.bst . [ 76%]
tests/examplefiles/bugs/example.bug . [ 76%]
tests/examplefiles/c/ceval.c . [ 76%]
tests/examplefiles/c/example.c . [ 76%]
tests/examplefiles/c/labels.c . [ 76%]
tests/examplefiles/c/numbers.c . [ 76%]
tests/examplefiles/ca65/ca65_example . [ 76%]
tests/examplefiles/cadl/example1.cadl . [ 76%]
tests/examplefiles/cadl/test.cadl . [ 76%]
tests/examplefiles/camkes/simple.camkes . [ 76%]
tests/examplefiles/capdl/capdl_example.cdl . [ 76%]
tests/examplefiles/capnp/pets.capnp . [ 76%]
tests/examplefiles/cbmbas/cbmbas_example . [ 76%]
tests/examplefiles/cddl/example.cddl . [ 76%]
tests/examplefiles/ceylon/example.ceylon . [ 76%]
tests/examplefiles/cfc/exampleScript.cfc . [ 76%]
tests/examplefiles/cfc/exampleTag.cfc . [ 76%]
tests/examplefiles/cfm/demo.cfm . [ 76%]
tests/examplefiles/chai/example.chai . [ 76%]
tests/examplefiles/chapel/99_bottles_of_beer.chpl . [ 77%]
tests/examplefiles/charmci/Charmci.ci . [ 77%]
tests/examplefiles/cheetah/cheetah_example.html . [ 77%]
tests/examplefiles/cirru/scope.cirru . [ 77%]
tests/examplefiles/clay/example.clay . [ 77%]
tests/examplefiles/clean/StdGeneric.icl . [ 77%]
tests/examplefiles/clojure/clojure-weird-keywords.clj . [ 77%]
tests/examplefiles/clojure/escape_semicolon.clj . [ 77%]
tests/examplefiles/clojure/genclass.clj . [ 77%]
tests/examplefiles/clojure/loggers.cljc . [ 77%]
tests/examplefiles/clojurescript/core.cljs . [ 77%]
tests/examplefiles/cmake/main.cmake . [ 77%]
tests/examplefiles/cobol/example.cob . [ 77%]
tests/examplefiles/coffee-script/example.coffee . [ 77%]
tests/examplefiles/coffee-script/underscore.coffee . [ 77%]
tests/examplefiles/common-lisp/type.lisp . [ 77%]
tests/examplefiles/console/example.sh-session . [ 77%]
tests/examplefiles/console/example.shell-session . [ 77%]
tests/examplefiles/control/control . [ 77%]
tests/examplefiles/coq/coq_RelationClasses . [ 77%]
tests/examplefiles/cplint/bag_game_mpe.pl . [ 77%]
tests/examplefiles/cplint/coin.pl . [ 77%]
tests/examplefiles/cplint/dt_umbrella.pl . [ 77%]
tests/examplefiles/cplint/gaussian_mixture.pl . [ 77%]
tests/examplefiles/cplint/indian_gpadc.pl . [ 77%]
tests/examplefiles/cpp/example.cpp . [ 77%]
tests/examplefiles/cpp/example2.cpp . [ 77%]
tests/examplefiles/cpp/functions.cpp . [ 77%]
tests/examplefiles/cpp/namespace.cpp . [ 77%]
tests/examplefiles/cpp/noexcept.cpp . [ 77%]
tests/examplefiles/cpsa/yahalom.cpsa . [ 77%]
tests/examplefiles/cr/test.cr . [ 77%]
tests/examplefiles/crmsh/example.pcmk . [ 77%]
tests/examplefiles/croc/simple.croc . [ 77%]
tests/examplefiles/csharp/test.cs . [ 77%]
tests/examplefiles/csound/test.orc . [ 77%]
tests/examplefiles/csound-document/test.csd . [ 77%]
tests/examplefiles/csound-score/test.sco . [ 77%]
tests/examplefiles/css/test.css . [ 77%]
tests/examplefiles/css/webkit-transition.css . [ 77%]
tests/examplefiles/css+mozpreproc/demo.css.in . [ 78%]
tests/examplefiles/cucumber/example.feature . [ 78%]
tests/examplefiles/cuda/test.cu . [ 78%]
tests/examplefiles/cypher/test.cyp . [ 78%]
tests/examplefiles/d/string_delimiters.d . [ 78%]
tests/examplefiles/d/test.d . [ 78%]
tests/examplefiles/dart/test.dart . [ 78%]
tests/examplefiles/delphi/example.pas . [ 78%]
tests/examplefiles/delphi/test.pas . [ 78%]
tests/examplefiles/devicetree/example.dts . [ 78%]
tests/examplefiles/dg/inet_pton6.dg . [ 78%]
tests/examplefiles/django/django_sample.html+django . [ 78%]
tests/examplefiles/docker/docker.docker . [ 78%]
tests/examplefiles/dtd/test.dtd . [ 78%]
tests/examplefiles/duel/jbst_example1.jbst . [ 78%]
tests/examplefiles/duel/jbst_example2.jbst . [ 78%]
tests/examplefiles/dylan/classes.dylan . [ 78%]
tests/examplefiles/dylan/nanomsg.intr . [ 78%]
tests/examplefiles/dylan-console/session.dylan-console . [ 78%]
tests/examplefiles/dylan-lid/unix-io.lid . [ 78%]
tests/examplefiles/earl-grey/eg_example1.eg . [ 78%]
tests/examplefiles/easytrieve/example.ezt . [ 78%]
tests/examplefiles/easytrieve/example.mac . [ 78%]
tests/examplefiles/ebnf/test.ebnf . [ 78%]
tests/examplefiles/ec/test.ec . [ 78%]
tests/examplefiles/ec/test.eh . [ 78%]
tests/examplefiles/eiffel/example.e . [ 78%]
tests/examplefiles/elixir/example_elixir.ex . [ 78%]
tests/examplefiles/elm/example.elm . [ 78%]
tests/examplefiles/emacs/subr.el . [ 78%]
tests/examplefiles/email/example.eml . [ 78%]
tests/examplefiles/erl/erl_session . [ 78%]
tests/examplefiles/erlang/test.erl . [ 78%]
tests/examplefiles/erlang/test.escript . [ 78%]
tests/examplefiles/evoque/test.evoque . [ 78%]
tests/examplefiles/execline/example.exec . [ 78%]
tests/examplefiles/extempore/example.xtm . [ 78%]
tests/examplefiles/ezhil/ezhil_primefactors.n . [ 78%]
tests/examplefiles/factor/wiki.factor . [ 78%]
tests/examplefiles/fan/test.fan . [ 78%]
tests/examplefiles/fancy/example_file.fy . [ 79%]
tests/examplefiles/felix/test.flx . [ 79%]
tests/examplefiles/fennel/fennelview.fnl . [ 79%]
tests/examplefiles/fish/example.fish . [ 79%]
tests/examplefiles/flatline/flatline_example . [ 79%]
tests/examplefiles/floscript/example.flo . [ 79%]
tests/examplefiles/forth/demo.frt . [ 79%]
tests/examplefiles/fortran/example.f90 . [ 79%]
tests/examplefiles/fortran/zmlrpc.f90 . [ 79%]
tests/examplefiles/fortranfixed/ahcon.f . [ 79%]
tests/examplefiles/foxpro/example.prg . [ 79%]
tests/examplefiles/freefem/freefem.edp . [ 79%]
tests/examplefiles/fsharp/Deflate.fs . [ 79%]
tests/examplefiles/fstar/example.fst . [ 79%]
tests/examplefiles/futhark/example.fut . [ 79%]
tests/examplefiles/gap/example.gd . [ 79%]
tests/examplefiles/gap/example.gi . [ 79%]
tests/examplefiles/gcode/SupportLogo.gcode . [ 79%]
tests/examplefiles/gcode/boomerangv4.gcode . [ 79%]
tests/examplefiles/gdscript/gdscript_example.gd . [ 79%]
tests/examplefiles/genshi/genshi_example.xml+genshi . [ 79%]
tests/examplefiles/genshitext/genshitext_example.genshitext . [ 79%]
tests/examplefiles/glsl/glsl.frag . [ 79%]
tests/examplefiles/glsl/glsl.vert . [ 79%]
tests/examplefiles/gnuplot/test.plot . [ 79%]
tests/examplefiles/go/unicode.go . [ 79%]
tests/examplefiles/golo/example.golo . [ 79%]
tests/examplefiles/golo/hello.golo . [ 79%]
tests/examplefiles/gooddata-cl/test.gdc . [ 79%]
tests/examplefiles/gosu/example.gs . [ 79%]
tests/examplefiles/graphviz/graphviz-dot.gv . [ 79%]
tests/examplefiles/groff/perlfunc.1 . [ 79%]
tests/examplefiles/groovy/example.groovy . [ 79%]
tests/examplefiles/groovy/quoted.groovy . [ 79%]
tests/examplefiles/groovy/test.gradle . [ 79%]
tests/examplefiles/groovy/test.groovy . [ 79%]
tests/examplefiles/gsql/test.gsql . [ 79%]
tests/examplefiles/gst/example.gst . [ 79%]
tests/examplefiles/haskell/AcidStateAdvanced.hs . [ 79%]
tests/examplefiles/haskell/SmallCheck.hs . [ 79%]
tests/examplefiles/haskell/example.hs . [ 80%]
tests/examplefiles/hexdump/hexdump_debugexe . [ 80%]
tests/examplefiles/hexdump/hexdump_hd . [ 80%]
tests/examplefiles/hexdump/hexdump_hexcat . [ 80%]
tests/examplefiles/hexdump/hexdump_hexdump . [ 80%]
tests/examplefiles/hexdump/hexdump_od . [ 80%]
tests/examplefiles/hexdump/hexdump_xxd . [ 80%]
tests/examplefiles/hlsl/example.hlsl . [ 80%]
tests/examplefiles/hsail/test.hsail . [ 80%]
tests/examplefiles/html/example.xhtml . [ 80%]
tests/examplefiles/html/test.html . [ 80%]
tests/examplefiles/html+handlebars/demo.hbs . [ 80%]
tests/examplefiles/html+handlebars/ember.handlebars . [ 80%]
tests/examplefiles/html+ng2/example.ng2 . [ 80%]
tests/examplefiles/html+php/html+php_faulty.php . [ 80%]
tests/examplefiles/http/http_request_example . [ 80%]
tests/examplefiles/http/http_response_example . [ 80%]
tests/examplefiles/hx/OrderedMap.hx . [ 80%]
tests/examplefiles/hx/example.hx . [ 80%]
tests/examplefiles/hybris/hybris_File.hy . [ 80%]
tests/examplefiles/hylang/language.hy . [ 80%]
tests/examplefiles/i6t/example.i6t . [ 80%]
tests/examplefiles/icon/example.icon . [ 80%]
tests/examplefiles/idl/idl_sample.pro . [ 80%]
tests/examplefiles/idris/test.idr . [ 80%]
tests/examplefiles/iex/iex_example . [ 80%]
tests/examplefiles/inform6/inform6_example . [ 80%]
tests/examplefiles/inform7/example.i7x . [ 80%]
tests/examplefiles/inform7/example.ni . [ 80%]
tests/examplefiles/ini/test.ini . [ 80%]
tests/examplefiles/ioke/intro.ik . [ 80%]
tests/examplefiles/irc/example.weechatlog . [ 80%]
tests/examplefiles/isabelle/example.thy . [ 80%]
tests/examplefiles/j/pacman.ijs . [ 80%]
tests/examplefiles/jags/example.jag . [ 80%]
tests/examplefiles/jasmin/example.j . [ 80%]
tests/examplefiles/java/badcase.java . [ 80%]
tests/examplefiles/java/example.java . [ 80%]
tests/examplefiles/java/test.java . [ 80%]
tests/examplefiles/javascript+mozpreproc/demo.js.in . [ 80%]
tests/examplefiles/jcl/example.jcl . [ 81%]
tests/examplefiles/js/BOM.js . [ 81%]
tests/examplefiles/js/evil_regex.js . [ 81%]
tests/examplefiles/js/general.js . [ 81%]
tests/examplefiles/js/regex.js . [ 81%]
tests/examplefiles/js/unicode.js . [ 81%]
tests/examplefiles/jsgf/example.jsgf . [ 81%]
tests/examplefiles/json/json-with-spaces.json . [ 81%]
tests/examplefiles/json/pypi-dump.json . [ 81%]
tests/examplefiles/jsonld/example.jsonld . [ 81%]
tests/examplefiles/jsp/test.jsp . [ 81%]
tests/examplefiles/julia/string.jl . [ 81%]
tests/examplefiles/juttle/example.juttle . [ 81%]
tests/examplefiles/kal/example.kal . [ 81%]
tests/examplefiles/kconfig/Config.in.cache . [ 81%]
tests/examplefiles/kmsg/example.dmesg . [ 81%]
tests/examplefiles/koka/garcia-wachs.kk . [ 81%]
tests/examplefiles/kotlin/example.kt . [ 81%]
tests/examplefiles/kuin/example.kn . [ 81%]
tests/examplefiles/lagda/example.lagda . [ 81%]
tests/examplefiles/lasso/json.lasso . [ 81%]
tests/examplefiles/lasso/json.lasso9 . [ 81%]
tests/examplefiles/lean/test.lean . [ 81%]
tests/examplefiles/lhs/DancingSudoku.lhs . [ 81%]
tests/examplefiles/lhs/Sudoku.lhs . [ 81%]
tests/examplefiles/lighty/lighttpd_config.conf . [ 81%]
tests/examplefiles/lilypond/example.ly . [ 81%]
tests/examplefiles/limbo/limbo.b . [ 81%]
tests/examplefiles/liquid/example.liquid . [ 81%]
tests/examplefiles/live-script/livescript-demo.ls . [ 81%]
tests/examplefiles/llvm-mir/llvm-mir.mir . [ 81%]
tests/examplefiles/logos/logos_example.xm . [ 81%]
tests/examplefiles/logtalk/source.lgt . [ 81%]
tests/examplefiles/lsl/hello.lsl . [ 81%]
tests/examplefiles/lua/example.lua . [ 81%]
tests/examplefiles/macaulay2/test.m2 . [ 81%]
tests/examplefiles/make/Makefile . [ 81%]
tests/examplefiles/make/automake.mk . [ 81%]
tests/examplefiles/make/firefox.mak . [ 81%]
tests/examplefiles/make/python25-bsd.mak . [ 81%]
tests/examplefiles/make/vpath.mk . [ 82%]
tests/examplefiles/mako/test.mao . [ 82%]
tests/examplefiles/maql/test.maql . [ 82%]
tests/examplefiles/mask/test.mask . [ 82%]
tests/examplefiles/mathematica/example.ma . [ 82%]
tests/examplefiles/matlab/matlab_noreturn . [ 82%]
tests/examplefiles/matlab/matlab_sample . [ 82%]
tests/examplefiles/matlabsession/matlabsession_sample.txt . [ 82%]
tests/examplefiles/maxima/foo.mac . [ 82%]
tests/examplefiles/mcfunction/main.mcfunction . [ 82%]
tests/examplefiles/md/example.md . [ 82%]
tests/examplefiles/meson/meson.build . [ 82%]
tests/examplefiles/mime/MIME_example.eml . [ 82%]
tests/examplefiles/modelica/Constants.mo . [ 82%]
tests/examplefiles/modula2/Sorting.mod . [ 82%]
tests/examplefiles/modula2/modula2_test_cases.def . [ 82%]
tests/examplefiles/modula2/test.mod . [ 82%]
tests/examplefiles/monkey/example.monkey . [ 82%]
tests/examplefiles/monte/test.mt . [ 82%]
tests/examplefiles/moocode/example.moo . [ 82%]
tests/examplefiles/moocode/test.moo . [ 82%]
tests/examplefiles/moon/example.moon . [ 82%]
tests/examplefiles/mosel/test.mos . [ 82%]
tests/examplefiles/mql/example.mq4 . [ 82%]
tests/examplefiles/mql/example.mqh . [ 82%]
tests/examplefiles/ms/example.ms . [ 82%]
tests/examplefiles/mscgen/example.msc . [ 82%]
tests/examplefiles/mscgen/example2.msc . [ 82%]
tests/examplefiles/mupad/AlternatingGroup.mu . [ 82%]
tests/examplefiles/mupad/function.mu . [ 82%]
tests/examplefiles/myghty/test.myt . [ 82%]
tests/examplefiles/nasm/nasm_aoutso.asm . [ 82%]
tests/examplefiles/nasm/nasm_objexe.asm . [ 82%]
tests/examplefiles/ncl/test.ncl . [ 82%]
tests/examplefiles/nemerle/nemerle_sample.n . [ 82%]
tests/examplefiles/nesc/IPDispatchC.nc . [ 82%]
tests/examplefiles/nesc/IPDispatchP.nc . [ 82%]
tests/examplefiles/newlisp/irc.lsp . [ 82%]
tests/examplefiles/newlisp/markdown.lsp . [ 82%]
tests/examplefiles/newlisp/reversi.lsp . [ 82%]
tests/examplefiles/newspeak/example.ns2 . [ 83%]
tests/examplefiles/newspeak/minimal.ns2 . [ 83%]
tests/examplefiles/nginx/nginx_nginx.conf . [ 83%]
tests/examplefiles/nim/example.nim . [ 83%]
tests/examplefiles/nim/test.nim . [ 83%]
tests/examplefiles/nit/all.nit . [ 83%]
tests/examplefiles/nixos/example.nix . [ 83%]
tests/examplefiles/nodejsrepl/nodejsrepl_test.nodejsrepl . [ 83%]
tests/examplefiles/notmuch/notmuch_example . [ 83%]
tests/examplefiles/nsis/bigtest.nsi . [ 83%]
tests/examplefiles/nt/test.nt . [ 83%]
tests/examplefiles/nusmv/guidance.smv . [ 83%]
tests/examplefiles/objdump-nasm/no-show-raw-isns.dump . [ 83%]
tests/examplefiles/objective-c/objc_example.m . [ 83%]
tests/examplefiles/objective-j/CPDictionary.j . [ 83%]
tests/examplefiles/ocaml/format.ml . [ 83%]
tests/examplefiles/odin/test.odin . [ 83%]
tests/examplefiles/odin/test2.odin . [ 83%]
tests/examplefiles/omg-idl/example.idl . [ 83%]
tests/examplefiles/opa/test.opa . [ 83%]
tests/examplefiles/openedge/example.cls . [ 83%]
tests/examplefiles/openedge/openedge_example . [ 83%]
tests/examplefiles/pacmanconf/pacman.conf . [ 83%]
tests/examplefiles/pan/test.pan . [ 83%]
tests/examplefiles/parasail/test.psl . [ 83%]
tests/examplefiles/pawn/pawn_example . [ 83%]
tests/examplefiles/pawn/test.pwn . [ 83%]
tests/examplefiles/perl/perl_misc . [ 83%]
tests/examplefiles/perl/perl_perl5db . [ 83%]
tests/examplefiles/perl/perl_regex-delims . [ 83%]
tests/examplefiles/perl6/RoleQ.pm6 . [ 83%]
tests/examplefiles/perl6/grammar-test.p6 . [ 83%]
tests/examplefiles/perl6/test.p6 . [ 83%]
tests/examplefiles/php/ints.php . [ 83%]
tests/examplefiles/php/test.php . [ 83%]
tests/examplefiles/pig/test.pig . [ 83%]
tests/examplefiles/pike/Error.pmod . [ 83%]
tests/examplefiles/pike/FakeFile.pike . [ 83%]
tests/examplefiles/pkgconfig/pkgconfig_example.pc . [ 83%]
tests/examplefiles/pointless/example.ptls . [ 83%]
tests/examplefiles/pony/example.pony . [ 83%]
tests/examplefiles/postgresql/postgresql_test.txt . [ 84%]
tests/examplefiles/postscript/cells.ps . [ 84%]
tests/examplefiles/pot/de.MoinMoin.po . [ 84%]
tests/examplefiles/pov/sphere.pov . [ 84%]
tests/examplefiles/pov/while.pov . [ 84%]
tests/examplefiles/powershell/Get-CommandDefinitionHtml.ps1 . [ 84%]
tests/examplefiles/powershell/test.ps1 . [ 84%]
tests/examplefiles/praat/example.praat . [ 84%]
tests/examplefiles/procfile/Procfile . [ 84%]
tests/examplefiles/prolog/qsort.prolog . [ 84%]
tests/examplefiles/prolog/sibling.prolog . [ 84%]
tests/examplefiles/prolog/strings.prolog . [ 84%]
tests/examplefiles/promql/example.promql . [ 84%]
tests/examplefiles/properties/java.properties . [ 84%]
tests/examplefiles/protobuf/addressbook.proto . [ 84%]
tests/examplefiles/psql/psql_session.txt . [ 84%]
tests/examplefiles/psysh/psysh_test.psysh . [ 84%]
tests/examplefiles/puppet/example.pp . [ 84%]
tests/examplefiles/pycon/pycon_ctrlc_traceback . [ 84%]
tests/examplefiles/pycon/pycon_test.pycon . [ 84%]
tests/examplefiles/pypylog/test.pypylog . [ 84%]
tests/examplefiles/pypylog/test2.pypylog . [ 84%]
tests/examplefiles/pytb/database.pytb . [ 84%]
tests/examplefiles/pytb/error_locations.pytb . [ 84%]
tests/examplefiles/pytb/py3tb_test.py3tb . [ 84%]
tests/examplefiles/pytb/pytb_test2.pytb . [ 84%]
tests/examplefiles/pytb/pytb_test3.pytb . [ 84%]
tests/examplefiles/pytb/syntax_error.py2tb . [ 84%]
tests/examplefiles/pytb/syntax_error.pytb . [ 84%]
tests/examplefiles/pytb/syntax_error_caret_code.py2tb . [ 84%]
tests/examplefiles/pytb/syntax_error_caret_code.pytb . [ 84%]
tests/examplefiles/pytb/truncated.pytb . [ 84%]
tests/examplefiles/python/linecontinuation.py . [ 84%]
tests/examplefiles/python/py3_test.txt . [ 84%]
tests/examplefiles/python/switch_case.txt . [ 84%]
tests/examplefiles/python/unicodedoc.py . [ 84%]
tests/examplefiles/q/example.q . [ 84%]
tests/examplefiles/qbasic/qbasic_example . [ 84%]
tests/examplefiles/qlik/example.qvs . [ 84%]
tests/examplefiles/qml/minehunt.qml . [ 84%]
tests/examplefiles/qvto/sample.qvto . [ 85%]
tests/examplefiles/racket/example.rkt . [ 85%]
tests/examplefiles/ragel-cpp/ragel-cpp_rlscan . [ 85%]
tests/examplefiles/ragel-cpp/ragel-cpp_snippet . [ 85%]
tests/examplefiles/rb/condensed_ruby.rb . [ 85%]
tests/examplefiles/rb/example.rb . [ 85%]
tests/examplefiles/rb/fucked_up.rb . [ 85%]
tests/examplefiles/rb/hash_syntax.rb . [ 85%]
tests/examplefiles/rb/multiline_regexes.rb . [ 85%]
tests/examplefiles/rb/pleac.in.rb . [ 85%]
tests/examplefiles/rb/ruby_func_def.rb . [ 85%]
tests/examplefiles/rb/test.rb . [ 85%]
tests/examplefiles/rbcon/irb_heredoc . [ 85%]
tests/examplefiles/rconsole/r-console-transcript.Rout . [ 85%]
tests/examplefiles/rd/example.Rd . [ 85%]
tests/examplefiles/reason/test.re . [ 85%]
tests/examplefiles/rebol/test.r3 . [ 85%]
tests/examplefiles/red/example.red . [ 85%]
tests/examplefiles/red/example.reds . [ 85%]
tests/examplefiles/redcode/dwarf.cw . [ 85%]
tests/examplefiles/registry/example.reg . [ 85%]
tests/examplefiles/resource/resourcebundle_demo . [ 85%]
tests/examplefiles/rexx/example.rexx . [ 85%]
tests/examplefiles/rhtml/example.rhtml . [ 85%]
tests/examplefiles/rhtml/test.rhtml . [ 85%]
tests/examplefiles/ride/auction.ride . [ 85%]
tests/examplefiles/rita/example.rita . [ 85%]
tests/examplefiles/rnc/rnc_example.rnc . [ 85%]
tests/examplefiles/roboconf-graph/roboconf.graph . [ 85%]
tests/examplefiles/roboconf-instances/roboconf.instances . [ 85%]
tests/examplefiles/robotframework/robotframework_test.txt . [ 85%]
tests/examplefiles/rql/rql-queries.rql . [ 85%]
tests/examplefiles/rsl/test.rsl . [ 85%]
tests/examplefiles/rst/functional.rst . [ 85%]
tests/examplefiles/rst/jinjadesignerdoc.rst . [ 85%]
tests/examplefiles/rts/example.rts . [ 85%]
tests/examplefiles/rust/eval.rs . [ 85%]
tests/examplefiles/savi/example.savi . [ 85%]
tests/examplefiles/sc/example.scd . [ 85%]
tests/examplefiles/scala/char.scala . [ 85%]
tests/examplefiles/scala/comments.scala . [ 86%]
tests/examplefiles/scala/constants.scala . [ 86%]
tests/examplefiles/scala/declarations.scala . [ 86%]
tests/examplefiles/scala/dependent-types.scala . [ 86%]
tests/examplefiles/scala/end-soft-keyword.scala . [ 86%]
tests/examplefiles/scala/end.scala . [ 86%]
tests/examplefiles/scala/exports.scala . [ 86%]
tests/examplefiles/scala/extensions.scala . [ 86%]
tests/examplefiles/scala/for-comprehension.scala . [ 86%]
tests/examplefiles/scala/imports.scala . [ 86%]
tests/examplefiles/scala/inheritance.scala . [ 86%]
tests/examplefiles/scala/inline.scala . [ 86%]
tests/examplefiles/scala/interpolated-string.scala . [ 86%]
tests/examplefiles/scala/match-types.scala . [ 86%]
tests/examplefiles/scala/new.scala . [ 86%]
tests/examplefiles/scala/operators.scala . [ 86%]
tests/examplefiles/scala/package.scala . [ 86%]
tests/examplefiles/scala/pattern-matching.scala . [ 86%]
tests/examplefiles/scala/quoted.scala . [ 86%]
tests/examplefiles/scala/singleton-types.scala . [ 86%]
tests/examplefiles/scala/soft-keywords.scala . [ 86%]
tests/examplefiles/scala/storage-modifiers.scala . [ 86%]
tests/examplefiles/scala/symbols.scala . [ 86%]
tests/examplefiles/scala/type-operators.scala . [ 86%]
tests/examplefiles/scala/using.scala . [ 86%]
tests/examplefiles/scaml/test.scaml . [ 86%]
tests/examplefiles/scdoc/scdoc_manual.scd . [ 86%]
tests/examplefiles/scheme/boot-9.scm . [ 86%]
tests/examplefiles/scheme/r6rs-comments.scm . [ 86%]
tests/examplefiles/scilab/foo.sce . [ 86%]
tests/examplefiles/scilab/scilab.sci . [ 86%]
tests/examplefiles/sed/all_sorts_of_syntax.sed . [ 86%]
tests/examplefiles/sed/count_words.sed . [ 86%]
tests/examplefiles/sed/increment_number.sed . [ 86%]
tests/examplefiles/sed/reverse.sed . [ 86%]
tests/examplefiles/sgf/example.sgf . [ 86%]
tests/examplefiles/shen/test.shen . [ 86%]
tests/examplefiles/shexc/example.shex . [ 86%]
tests/examplefiles/sieve/example.sieve . [ 86%]
tests/examplefiles/silver/test.sil . [ 86%]
tests/examplefiles/singularity/Singularity . [ 87%]
tests/examplefiles/slim/example.slim . [ 87%]
tests/examplefiles/slurm/example.sl . [ 87%]
tests/examplefiles/smali/hello.smali . [ 87%]
tests/examplefiles/smalltalk/Object.st . [ 87%]
tests/examplefiles/smarty/smarty_example.html . [ 87%]
tests/examplefiles/smithy/test.smithy . [ 87%]
tests/examplefiles/sml/example.sml . [ 87%]
tests/examplefiles/sml/intsyn.fun . [ 87%]
tests/examplefiles/sml/intsyn.sig . [ 87%]
tests/examplefiles/snbt/main.snbt . [ 87%]
tests/examplefiles/snobol/example.snobol . [ 87%]
tests/examplefiles/snowball/example.sbl . [ 87%]
tests/examplefiles/solidity/test.sol . [ 87%]
tests/examplefiles/sophia/test.aes . [ 87%]
tests/examplefiles/sourceslist/sources.list . [ 87%]
tests/examplefiles/sp/hello.sp . [ 87%]
tests/examplefiles/sparql/sparql.rq . [ 87%]
tests/examplefiles/spec/phpMyAdmin.spec . [ 87%]
tests/examplefiles/spice/example.spice . [ 87%]
tests/examplefiles/splus/test.R . [ 87%]
tests/examplefiles/sqlite3/sqlite3.sqlite3-console . [ 87%]
tests/examplefiles/squidconf/squid.conf . [ 87%]
tests/examplefiles/srcinfo/c-intercal.SRCINFO . [ 87%]
tests/examplefiles/srcinfo/compiler-rt.SRCINFO . [ 87%]
tests/examplefiles/srcinfo/hunspell.SRCINFO . [ 87%]
tests/examplefiles/srcinfo/thunderbird.SRCINFO . [ 87%]
tests/examplefiles/ssp/test.ssp . [ 87%]
tests/examplefiles/stan/example.stan . [ 87%]
tests/examplefiles/swift/test.swift . [ 87%]
tests/examplefiles/swig/swig_java.swg . [ 87%]
tests/examplefiles/swig/swig_std_vector.i . [ 87%]
tests/examplefiles/systemverilog/flipflop.sv . [ 87%]
tests/examplefiles/tads3/tads3_example.t . [ 87%]
tests/examplefiles/tal/piano.tal . [ 87%]
tests/examplefiles/tap/example.tap . [ 87%]
tests/examplefiles/tasm/example.tasm . [ 87%]
tests/examplefiles/tcsh/test.tcsh . [ 87%]
tests/examplefiles/tea/example.tea . [ 87%]
tests/examplefiles/teal/example.teal . [ 87%]
tests/examplefiles/termcap/termcap . [ 88%]
tests/examplefiles/terminfo/terminfo . [ 88%]
tests/examplefiles/text/mysql.txt . [ 88%]
tests/examplefiles/thingsdb/test.ti . [ 88%]
tests/examplefiles/thrift/demo.thrift . [ 88%]
tests/examplefiles/tid/TiddlyWiki5.tid . [ 88%]
tests/examplefiles/tnt/example.tnt . [ 88%]
tests/examplefiles/todotxt/example.todotxt . [ 88%]
tests/examplefiles/toml/example.toml . [ 88%]
tests/examplefiles/trac-wiki/moin_SyntaxReference.txt . [ 88%]
tests/examplefiles/treetop/metagrammar.treetop . [ 88%]
tests/examplefiles/ts/typescript_example . [ 88%]
tests/examplefiles/tsql/tsql_example.sql . [ 88%]
tests/examplefiles/ttl/teraterm.ttl . [ 88%]
tests/examplefiles/turtle/example.ttl . [ 88%]
tests/examplefiles/twig/twig_test . [ 88%]
tests/examplefiles/typoscript/typoscript_example . [ 88%]
tests/examplefiles/ucode/example.u1 . [ 88%]
tests/examplefiles/ul4/example_operators.ul4 . [ 88%]
tests/examplefiles/ul4/example_tags.ul4 . [ 88%]
tests/examplefiles/ul4/example_template.ul4 . [ 88%]
tests/examplefiles/ul4/example_types.ul4 . [ 88%]
tests/examplefiles/unicon/example.icn . [ 88%]
tests/examplefiles/urbiscript/example.u . [ 88%]
tests/examplefiles/usd/example.usd . [ 88%]
tests/examplefiles/vb.net/test.vb . [ 88%]
tests/examplefiles/vb.net/vbnet_test.bas . [ 88%]
tests/examplefiles/vbscript/example.vbs . [ 88%]
tests/examplefiles/vcl/varnish.vcl . [ 88%]
tests/examplefiles/vctreestatus/vctreestatus_hg . [ 88%]
tests/examplefiles/verilog/example_coq.v . [ 88%]
tests/examplefiles/vgl/example.rpf . [ 88%]
tests/examplefiles/vhdl/test.vhdl . [ 88%]
tests/examplefiles/vim/phpcomplete.vim . [ 88%]
tests/examplefiles/vim/vimrc . [ 88%]
tests/examplefiles/wat/fib.wat . [ 88%]
tests/examplefiles/wdiff/wdiff_example1.wdiff . [ 88%]
tests/examplefiles/wdiff/wdiff_example3.wdiff . [ 88%]
tests/examplefiles/webidl/example.webidl . [ 88%]
tests/examplefiles/whiley/example.whiley . [ 88%]
tests/examplefiles/x10/example.x10 . [ 89%]
tests/examplefiles/xml/xml_example . [ 89%]
tests/examplefiles/xorg.conf/xorg.conf . [ 89%]
tests/examplefiles/xquery/test-3.0.xq . [ 89%]
tests/examplefiles/xquery/test-exist-update.xq . [ 89%]
tests/examplefiles/xquery/test.xqy . [ 89%]
tests/examplefiles/xslt/test.xsl . [ 89%]
tests/examplefiles/xtend/example.xtend . [ 89%]
tests/examplefiles/xul+mozpreproc/demo.xul.in . [ 89%]
tests/examplefiles/yaml/example.yaml . [ 89%]
tests/examplefiles/yaml+jinja/example.sls . [ 89%]
tests/examplefiles/yang/test.yang . [ 89%]
tests/examplefiles/zeek/test.bro . [ 89%]
tests/examplefiles/zeek/test.zeek . [ 89%]
tests/examplefiles/zephir/test.zep . [ 89%]
tests/examplefiles/zig/example.zig . [ 89%]
tests/snippets/apacheconf/test_directive_no_args.txt . [ 89%]
tests/snippets/apacheconf/test_fix_lock_absolute_path.txt . [ 89%]
tests/snippets/apacheconf/test_include_globs.txt . [ 89%]
tests/snippets/apacheconf/test_malformed_scoped_directive_closing_tag.txt . [ 89%]
tests/snippets/apacheconf/test_multi_include_globs.txt . [ 89%]
tests/snippets/apacheconf/test_multi_include_globs_root.txt . [ 89%]
tests/snippets/apacheconf/test_multiline_argument.txt . [ 89%]
tests/snippets/apacheconf/test_multiline_comment.txt . [ 89%]
tests/snippets/apacheconf/test_normal_scoped_directive.txt . [ 89%]
tests/snippets/apl/test_leading_underscore.txt . [ 89%]
tests/snippets/asm/test_cpuid.txt . [ 89%]
tests/snippets/bibtex/test_basic_bst.txt . [ 89%]
tests/snippets/bibtex/test_comment.txt . [ 89%]
tests/snippets/bibtex/test_entry.txt . [ 89%]
tests/snippets/bibtex/test_mismatched_brace.txt . [ 89%]
tests/snippets/bibtex/test_missing_body.txt . [ 89%]
tests/snippets/bibtex/test_preamble.txt . [ 89%]
tests/snippets/bibtex/test_string.txt . [ 89%]
tests/snippets/c/test_comment_end.txt . [ 89%]
tests/snippets/c/test_label.txt . [ 89%]
tests/snippets/c/test_label_followed_by_statement.txt . [ 89%]
tests/snippets/c/test_label_space_before_colon.txt . [ 89%]
tests/snippets/c/test_numbers.txt . [ 89%]
tests/snippets/c/test_preproc_file.txt . [ 89%]
tests/snippets/c/test_preproc_file2.txt . [ 90%]
tests/snippets/c/test_preproc_file3.txt . [ 90%]
tests/snippets/c/test_preproc_file4.txt . [ 90%]
tests/snippets/c/test_preproc_file5.txt . [ 90%]
tests/snippets/c/test_switch.txt . [ 90%]
tests/snippets/c/test_switch_space_before_colon.txt . [ 90%]
tests/snippets/cfm/test_basic_comment.txt . [ 90%]
tests/snippets/cfm/test_nested_comment.txt . [ 90%]
tests/snippets/coffeescript/test_beware_infinite_loop.txt . [ 90%]
tests/snippets/coffeescript/test_mixed_slashes.txt . [ 90%]
tests/snippets/console/fake_ps2_prompt.txt . [ 90%]
tests/snippets/console/prompt_in_output.txt . [ 90%]
tests/snippets/console/ps2_prompt.txt . [ 90%]
tests/snippets/console/test_comment_after_prompt.txt . [ 90%]
tests/snippets/console/test_newline_in_echo_no_ps2.txt . [ 90%]
tests/snippets/console/test_newline_in_echo_ps2.txt . [ 90%]
tests/snippets/console/test_newline_in_ls_no_ps2.txt . [ 90%]
tests/snippets/console/test_newline_in_ls_ps2.txt . [ 90%]
tests/snippets/console/test_virtualenv.txt . [ 90%]
tests/snippets/coq/test_unicode.txt . [ 90%]
tests/snippets/cpp/test_good_comment.txt . [ 90%]
tests/snippets/cpp/test_open_comment.txt . [ 90%]
tests/snippets/cpp/test_unicode_identifiers.txt . [ 90%]
tests/snippets/crystal/test_annotation.txt . [ 90%]
tests/snippets/crystal/test_array_access.txt . [ 90%]
tests/snippets/crystal/test_chars.txt . [ 90%]
tests/snippets/crystal/test_constant_and_module.txt . [ 90%]
tests/snippets/crystal/test_escaped_bracestring.txt . [ 90%]
tests/snippets/crystal/test_escaped_interpolation.txt . [ 90%]
tests/snippets/crystal/test_interpolation_nested_curly.txt . [ 90%]
tests/snippets/crystal/test_lib.txt . [ 90%]
tests/snippets/crystal/test_macro.txt . [ 90%]
tests/snippets/crystal/test_operator_methods.txt . [ 90%]
tests/snippets/crystal/test_percent_strings.txt . [ 90%]
tests/snippets/crystal/test_percent_strings_special.txt . [ 90%]
tests/snippets/crystal/test_pseudo_builtins.txt . [ 90%]
tests/snippets/crystal/test_pseudo_keywords.txt . [ 90%]
tests/snippets/crystal/test_range_syntax1.txt . [ 90%]
tests/snippets/crystal/test_range_syntax2.txt . [ 90%]
tests/snippets/csound/test_braced_strings.txt . [ 90%]
tests/snippets/csound/test_comments.txt . [ 91%]
tests/snippets/csound/test_escape_sequences.txt . [ 91%]
tests/snippets/csound/test_function_like_macro_definitions.txt . [ 91%]
tests/snippets/csound/test_function_like_macros.txt . [ 91%]
tests/snippets/csound/test_global_value_identifiers.txt . [ 91%]
tests/snippets/csound/test_goto_statements.txt . [ 91%]
tests/snippets/csound/test_include_directives.txt . [ 91%]
tests/snippets/csound/test_includestr_directives.txt . [ 91%]
tests/snippets/csound/test_instrument_blocks.txt . [ 91%]
tests/snippets/csound/test_keywords.txt . [ 91%]
tests/snippets/csound/test_labels.txt . [ 91%]
tests/snippets/csound/test_macro_preprocessor_directives.txt . [ 91%]
tests/snippets/csound/test_name.txt . [ 91%]
tests/snippets/csound/test_numbers.txt . [ 91%]
tests/snippets/csound/test_object_like_macro_definitions.txt . [ 91%]
tests/snippets/csound/test_operators.txt . [ 91%]
tests/snippets/csound/test_other_preprocessor_directives.txt . [ 91%]
tests/snippets/csound/test_printks_and_prints_escape_sequences.txt . [ 91%]
tests/snippets/csound/test_quoted_strings.txt . [ 91%]
tests/snippets/csound/test_user_defined_opcodes.txt . [ 91%]
tests/snippets/doscon/test_gt_only.txt . [ 91%]
tests/snippets/elpi/test_catastrophic_backtracking.txt . [ 91%]
tests/snippets/elpi/test_chr.txt . [ 91%]
tests/snippets/elpi/test_clause.txt . [ 91%]
tests/snippets/elpi/test_namespace.txt . [ 91%]
tests/snippets/elpi/test_pred.txt . [ 91%]
tests/snippets/elpi/test_type.txt . [ 91%]
tests/snippets/ezhil/test_function.txt . [ 91%]
tests/snippets/ezhil/test_gcd_expr.txt . [ 91%]
tests/snippets/ezhil/test_if_statement.txt . [ 91%]
tests/snippets/ezhil/test_sum.txt . [ 91%]
tests/snippets/gas/test_comments.txt . [ 91%]
tests/snippets/gdscript/test_comment.txt . [ 91%]
tests/snippets/gdscript/test_export_array.txt . [ 91%]
tests/snippets/gdscript/test_function_with_types.txt . [ 91%]
tests/snippets/gdscript/test_inner_class.txt . [ 91%]
tests/snippets/gdscript/test_multiline_string.txt . [ 91%]
tests/snippets/gdscript/test_signal.txt . [ 91%]
tests/snippets/gdscript/test_simple_function.txt . [ 91%]
tests/snippets/gdscript/test_variable_declaration_and_assigment.txt . [ 91%]
tests/snippets/haskell/test_promoted_names.txt . [ 92%]
tests/snippets/html/multiline-comment-catastrophic-backtracking.txt . [ 92%]
tests/snippets/http/test_application_calendar_xml.txt . [ 92%]
tests/snippets/http/test_application_xml.txt . [ 92%]
tests/snippets/http/test_http_status_line.txt . [ 92%]
tests/snippets/http/test_http_status_line_without_reason_phrase.txt . [ 92%]
tests/snippets/http/test_http_status_line_without_reason_phrase_rfc_7230.txt . [ 92%]
tests/snippets/idris/test_compiler_directive.txt . [ 92%]
tests/snippets/idris/test_reserved_word.txt . [ 92%]
tests/snippets/ini/test_indented_entries_1.txt . [ 92%]
tests/snippets/ini/test_indented_entries_2.txt . [ 92%]
tests/snippets/ini/test_indented_entries_3.txt . [ 92%]
tests/snippets/j/test_deal_operator.txt . [ 92%]
tests/snippets/j/test_deal_operator_fixed_seed.txt . [ 92%]
tests/snippets/java/test_default.txt . [ 92%]
tests/snippets/java/test_enhanced_for.txt . [ 92%]
tests/snippets/java/test_numeric_literals.txt . [ 92%]
tests/snippets/java/test_record.txt . [ 92%]
tests/snippets/js/super.txt . [ 92%]
tests/snippets/jslt/test_sample.txt . [ 92%]
tests/snippets/json/test_basic.txt . [ 92%]
tests/snippets/json/test_basic_bare.txt . [ 92%]
tests/snippets/julia/test_keywords.txt . [ 92%]
tests/snippets/julia/test_macros.txt . [ 92%]
tests/snippets/julia/test_names.txt . [ 92%]
tests/snippets/julia/test_numbers.txt . [ 92%]
tests/snippets/julia/test_operators.txt . [ 92%]
tests/snippets/julia/test_strings.txt . [ 92%]
tests/snippets/julia/test_symbols.txt . [ 92%]
tests/snippets/julia/test_types.txt . [ 92%]
tests/snippets/julia/test_unicode.txt . [ 92%]
tests/snippets/julia-repl/test_repl.txt . [ 92%]
tests/snippets/kotlin/test_can_cope_generics_in_destructuring.txt . [ 92%]
tests/snippets/kotlin/test_can_cope_with_backtick_names_in_functions.txt . [ 92%]
tests/snippets/kotlin/test_can_cope_with_commas_and_dashes_in_backtick_Names.txt . [ 92%]
tests/snippets/kotlin/test_can_cope_with_destructuring.txt . [ 92%]
tests/snippets/kotlin/test_can_cope_with_generics.txt . [ 92%]
tests/snippets/kotlin/test_modifier_keyword.txt . [ 92%]
tests/snippets/kotlin/test_should_cope_with_multiline_comments.txt . [ 92%]
tests/snippets/kotlin/test_string_interpolation.txt . [ 92%]
tests/snippets/less/test_single_line_comments.txt . [ 93%]
tests/snippets/mason/test_handles_tags_correctly.txt . [ 93%]
tests/snippets/matlab/test_classes_with_properties.txt . [ 93%]
tests/snippets/matlab/test_command_mode.txt . [ 93%]
tests/snippets/matlab/test_comment_after_continuation.txt . [ 93%]
tests/snippets/matlab/test_dot_operator.txt . [ 93%]
tests/snippets/matlab/test_keywords_ended_by_newline.txt . [ 93%]
tests/snippets/matlab/test_line_continuation.txt . [ 93%]
tests/snippets/matlab/test_multiple_spaces_variable_assignment.txt . [ 93%]
tests/snippets/matlab/test_one_space_assignment.txt . [ 93%]
tests/snippets/matlab/test_operator_multiple_space.txt . [ 93%]
tests/snippets/matlab/test_single_line.txt . [ 93%]
tests/snippets/mcfunction/commenting.txt . [ 93%]
tests/snippets/mcfunction/coordinates.txt . [ 93%]
tests/snippets/mcfunction/data.txt . [ 93%]
tests/snippets/mcfunction/difficult_1.txt . [ 93%]
tests/snippets/mcfunction/multiline.txt . [ 93%]
tests/snippets/mcfunction/selectors.txt . [ 93%]
tests/snippets/mcfunction/simple.txt . [ 93%]
tests/snippets/md/test_bold_fenced_by_asterisk.txt . [ 93%]
tests/snippets/md/test_bold_fenced_by_underscore.txt . [ 93%]
tests/snippets/md/test_bulleted_list_1.txt . [ 93%]
tests/snippets/md/test_bulleted_list_2.txt . [ 93%]
tests/snippets/md/test_bulleted_list_3.txt . [ 93%]
tests/snippets/md/test_bulleted_list_4.txt . [ 93%]
tests/snippets/md/test_code_block_fenced_by_backticks.txt . [ 93%]
tests/snippets/md/test_code_block_with_language.txt . [ 93%]
tests/snippets/md/test_escape_italics.txt . [ 93%]
tests/snippets/md/test_inline_code.txt . [ 93%]
tests/snippets/md/test_inline_code_after_block.txt . [ 93%]
tests/snippets/md/test_inline_code_in_list.txt . [ 93%]
tests/snippets/md/test_invalid_bold.txt . [ 93%]
tests/snippets/md/test_invalid_italics.txt . [ 93%]
tests/snippets/md/test_italics_and_bold.txt . [ 93%]
tests/snippets/md/test_italics_fenced_by_asterisk.txt . [ 93%]
tests/snippets/md/test_italics_fenced_by_underscore.txt . [ 93%]
tests/snippets/md/test_italics_no_multiline.txt . [ 93%]
tests/snippets/md/test_links.txt . [ 93%]
tests/snippets/md/test_mentions.txt . [ 93%]
tests/snippets/md/test_numbered_list.txt . [ 93%]
tests/snippets/md/test_quote.txt . [ 94%]
tests/snippets/md/test_reference_style_links.txt . [ 94%]
tests/snippets/md/test_strikethrough.txt . [ 94%]
tests/snippets/md/test_task_list.txt . [ 94%]
tests/snippets/md/test_topics.txt . [ 94%]
tests/snippets/nasm/checkid.txt . [ 94%]
tests/snippets/objectivec/test_literal_number_bool.txt . [ 94%]
tests/snippets/objectivec/test_literal_number_bool_expression.txt . [ 94%]
tests/snippets/objectivec/test_literal_number_expression.txt . [ 94%]
tests/snippets/objectivec/test_literal_number_int.txt . [ 94%]
tests/snippets/objectivec/test_literal_number_nested_expression.txt . [ 94%]
tests/snippets/objectivec/test_module_import.txt . [ 94%]
tests/snippets/octave/test_multilinecomment.txt . [ 94%]
tests/snippets/omg-idl/annotation_named_params.txt . [ 94%]
tests/snippets/omg-idl/enumerators.txt . [ 94%]
tests/snippets/peg/test_basic.txt . [ 94%]
tests/snippets/peg/test_modified_strings.txt . [ 94%]
tests/snippets/peg/test_operators.txt . [ 94%]
tests/snippets/php/test_string_escaping_run.txt . [ 94%]
tests/snippets/powershell/test_colon_punctuation.txt . [ 94%]
tests/snippets/powershell/test_remoting_session.txt . [ 94%]
tests/snippets/powershell/test_session.txt . [ 94%]
tests/snippets/praat/test_broken_unquoted_string.txt . [ 94%]
tests/snippets/praat/test_function_call.txt . [ 94%]
tests/snippets/praat/test_inline_if.txt . [ 94%]
tests/snippets/praat/test_interpolated_indexed_numeric_with_precision.txt . [ 94%]
tests/snippets/praat/test_interpolated_local_numeric_with_precision.txt . [ 94%]
tests/snippets/praat/test_interpolated_numeric_hash.txt . [ 94%]
tests/snippets/praat/test_interpolated_numeric_indexed.txt . [ 94%]
tests/snippets/praat/test_interpolated_numeric_with_precision.txt . [ 94%]
tests/snippets/praat/test_interpolated_string_hash.txt . [ 94%]
tests/snippets/praat/test_interpolated_string_indexed.txt . [ 94%]
tests/snippets/praat/test_interpolation_boundary.txt . [ 94%]
tests/snippets/praat/test_numeric_assignment.txt . [ 94%]
tests/snippets/praat/test_string_assignment.txt . [ 94%]
tests/snippets/praat/test_string_escaped_quotes.txt . [ 94%]
tests/snippets/promql/test_complex_exp_single_quotes.txt . [ 94%]
tests/snippets/promql/test_expression_and_comment.txt . [ 94%]
tests/snippets/promql/test_function_delta.txt . [ 94%]
tests/snippets/promql/test_function_multi_line.txt . [ 94%]
tests/snippets/promql/test_function_multi_line_with_offset.txt . [ 95%]
tests/snippets/promql/test_function_sum_with_args.txt . [ 95%]
tests/snippets/promql/test_matching_operator_no_regex_match.txt . [ 95%]
tests/snippets/promql/test_metric.txt . [ 95%]
tests/snippets/promql/test_metric_multiple_labels.txt . [ 95%]
tests/snippets/promql/test_metric_multiple_labels_with_spaces.txt . [ 95%]
tests/snippets/promql/test_metric_one_label.txt . [ 95%]
tests/snippets/properties/test_comments.txt . [ 95%]
tests/snippets/properties/test_escaped_space_in_key.txt . [ 95%]
tests/snippets/properties/test_escaped_space_in_value.txt . [ 95%]
tests/snippets/properties/test_just_key.txt . [ 95%]
tests/snippets/properties/test_just_key_with_space.txt . [ 95%]
tests/snippets/properties/test_leading_whitespace_comments.txt . [ 95%]
tests/snippets/properties/test_space_delimited_kv_pair.txt . [ 95%]
tests/snippets/python/test_floats.txt . [ 95%]
tests/snippets/python/test_fstring_01a.txt . [ 95%]
tests/snippets/python/test_fstring_01b.txt . [ 95%]
tests/snippets/python/test_fstring_02a.txt . [ 95%]
tests/snippets/python/test_fstring_02b.txt . [ 95%]
tests/snippets/python/test_fstring_03a.txt . [ 95%]
tests/snippets/python/test_fstring_03b.txt . [ 95%]
tests/snippets/python/test_fstring_04a.txt . [ 95%]
tests/snippets/python/test_fstring_04b.txt . [ 95%]
tests/snippets/python/test_fstring_05a.txt . [ 95%]
tests/snippets/python/test_fstring_05b.txt . [ 95%]
tests/snippets/python/test_fstring_06a.txt . [ 95%]
tests/snippets/python/test_fstring_06b.txt . [ 95%]
tests/snippets/python/test_fstring_07a.txt . [ 95%]
tests/snippets/python/test_fstring_07b.txt . [ 95%]
tests/snippets/python/test_fstring_08a.txt . [ 95%]
tests/snippets/python/test_fstring_08b.txt . [ 95%]
tests/snippets/python/test_fstring_09a.txt . [ 95%]
tests/snippets/python/test_fstring_09b.txt . [ 95%]
tests/snippets/python/test_fstring_10a.txt . [ 95%]
tests/snippets/python/test_fstring_10b.txt . [ 95%]
tests/snippets/python/test_fstring_11a.txt . [ 95%]
tests/snippets/python/test_fstring_11b.txt . [ 95%]
tests/snippets/python/test_fstring_12a.txt . [ 95%]
tests/snippets/python/test_fstring_12b.txt . [ 95%]
tests/snippets/python/test_fstring_13a.txt . [ 95%]
tests/snippets/python/test_fstring_13b.txt . [ 96%]
tests/snippets/python/test_fstring_14a.txt . [ 96%]
tests/snippets/python/test_fstring_14b.txt . [ 96%]
tests/snippets/python/test_fstring_15a.txt . [ 96%]
tests/snippets/python/test_fstring_15b.txt . [ 96%]
tests/snippets/python/test_fstring_16a.txt . [ 96%]
tests/snippets/python/test_fstring_16b.txt . [ 96%]
tests/snippets/python/test_fstring_17a.txt . [ 96%]
tests/snippets/python/test_fstring_17b.txt . [ 96%]
tests/snippets/python/test_fstring_18a.txt . [ 96%]
tests/snippets/python/test_fstring_18b.txt . [ 96%]
tests/snippets/python/test_fstring_19a.txt . [ 96%]
tests/snippets/python/test_fstring_19b.txt . [ 96%]
tests/snippets/python/test_fstring_20a.txt . [ 96%]
tests/snippets/python/test_fstring_20b.txt . [ 96%]
tests/snippets/python/test_fstring_21a.txt . [ 96%]
tests/snippets/python/test_fstring_21b.txt . [ 96%]
tests/snippets/python/test_fstring_22a.txt . [ 96%]
tests/snippets/python/test_fstring_22b.txt . [ 96%]
tests/snippets/python/test_fstring_23a.txt . [ 96%]
tests/snippets/python/test_fstring_23b.txt . [ 96%]
tests/snippets/python/test_fstring_24a.txt . [ 96%]
tests/snippets/python/test_fstring_24b.txt . [ 96%]
tests/snippets/python/test_fstring_25a.txt . [ 96%]
tests/snippets/python/test_fstring_25b.txt . [ 96%]
tests/snippets/python/test_fstring_26a.txt . [ 96%]
tests/snippets/python/test_fstring_26b.txt . [ 96%]
tests/snippets/python/test_fstring_27a.txt . [ 96%]
tests/snippets/python/test_fstring_27b.txt . [ 96%]
tests/snippets/python/test_fstring_28a.txt . [ 96%]
tests/snippets/python/test_fstring_28b.txt . [ 96%]
tests/snippets/python/test_fstring_29a.txt . [ 96%]
tests/snippets/python/test_fstring_29b.txt . [ 96%]
tests/snippets/python/test_fstring_30a.txt . [ 96%]
tests/snippets/python/test_fstring_30b.txt . [ 96%]
tests/snippets/python/test_fstring_31a.txt . [ 96%]
tests/snippets/python/test_fstring_31b.txt . [ 96%]
tests/snippets/python/test_fstring_32a.txt . [ 96%]
tests/snippets/python/test_fstring_32b.txt . [ 96%]
tests/snippets/python/test_fstring_33a.txt . [ 96%]
tests/snippets/python/test_fstring_33b.txt . [ 97%]
tests/snippets/python/test_fstring_34a.txt . [ 97%]
tests/snippets/python/test_fstring_34b.txt . [ 97%]
tests/snippets/python/test_fstring_35a.txt . [ 97%]
tests/snippets/python/test_fstring_35b.txt . [ 97%]
tests/snippets/python/test_fstring_36a.txt . [ 97%]
tests/snippets/python/test_fstring_36b.txt . [ 97%]
tests/snippets/python/test_needs_name.txt . [ 97%]
tests/snippets/python/test_pep_515.txt . [ 97%]
tests/snippets/python/test_raw_fstring.txt . [ 97%]
tests/snippets/python/test_walrus_operator.txt . [ 97%]
tests/snippets/python2/test_cls_builtin.txt . [ 97%]
tests/snippets/qbasic/test_keywords_with_dollar.txt . [ 97%]
tests/snippets/r/test_call.txt . [ 97%]
tests/snippets/r/test_custom_operator.txt . [ 97%]
tests/snippets/r/test_dot_indexing.txt . [ 97%]
tests/snippets/r/test_dot_name.txt . [ 97%]
tests/snippets/r/test_indexing.txt . [ 97%]
tests/snippets/r/test_name1.txt . [ 97%]
tests/snippets/r/test_name2.txt . [ 97%]
tests/snippets/r/test_name3.txt . [ 97%]
tests/snippets/ruby/test_escaped_bracestring.txt . [ 97%]
tests/snippets/ruby/test_interpolation_nested_curly.txt . [ 97%]
tests/snippets/ruby/test_operator_methods.txt . [ 97%]
tests/snippets/ruby/test_range_syntax1.txt . [ 97%]
tests/snippets/ruby/test_range_syntax2.txt . [ 97%]
tests/snippets/ruby/test_range_syntax3.txt . [ 97%]
tests/snippets/rust/test_attribute.txt . [ 97%]
tests/snippets/rust/test_break.txt . [ 97%]
tests/snippets/rust/test_rawstrings.txt . [ 97%]
tests/snippets/scala/test_colon_colon_function_name.txt . [ 97%]
tests/snippets/scala/test_default_parameter.txt . [ 97%]
tests/snippets/scala/test_end_val.txt . [ 97%]
tests/snippets/scala/test_end_valx.txt . [ 97%]
tests/snippets/scala/test_float_with_exponents.txt . [ 97%]
tests/snippets/scala/test_function_operator_name.txt . [ 97%]
tests/snippets/scala/test_import_path.txt . [ 97%]
tests/snippets/scala/test_invalid_symbol_and_invalid_char.txt . [ 97%]
tests/snippets/scala/test_open_soft_keyword.txt . [ 97%]
tests/snippets/scala/test_package_name.txt . [ 97%]
tests/snippets/scala/test_prepend_operator.txt . [ 98%]
tests/snippets/scala/test_qualified_name.txt . [ 98%]
tests/snippets/scala/test_qualified_name_class.txt . [ 98%]
tests/snippets/scala/test_script_header.txt . [ 98%]
tests/snippets/scala/test_symbol_followed_by_op.txt . [ 98%]
tests/snippets/scala/test_symbol_name_ending_with_star.txt . [ 98%]
tests/snippets/scala/test_underscore_name.txt . [ 98%]
tests/snippets/scheme/keywords.txt . [ 98%]
tests/snippets/scheme/numbers.txt . [ 98%]
tests/snippets/scheme/strings.txt . [ 98%]
tests/snippets/shell/test_array_nums.txt . [ 98%]
tests/snippets/shell/test_curly_no_escape_and_quotes.txt . [ 98%]
tests/snippets/shell/test_curly_with_escape.txt . [ 98%]
tests/snippets/shell/test_end_of_line_nums.txt . [ 98%]
tests/snippets/shell/test_parsed_single.txt . [ 98%]
tests/snippets/shell/test_short_variable_names.txt . [ 98%]
tests/snippets/shexc/test_prefixed_name_starting_with_number.txt . [ 98%]
tests/snippets/smarty/test_nested_curly.txt . [ 98%]
tests/snippets/snbt/json.txt . [ 98%]
tests/snippets/snbt/literals.txt . [ 98%]
tests/snippets/snbt/multiline.txt . [ 98%]
tests/snippets/snbt/nesting.txt . [ 98%]
tests/snippets/snbt/quoted_keys.txt . [ 98%]
tests/snippets/systemverilog/test_basic.txt . [ 98%]
tests/snippets/systemverilog/test_classes.txt . [ 98%]
tests/snippets/systemverilog/test_numbers.txt . [ 98%]
tests/snippets/systemverilog/test_operators.txt . [ 98%]
tests/snippets/tcl/test_comma_and_at.txt . [ 98%]
tests/snippets/teal/test_comments.txt . [ 98%]
tests/snippets/teal/test_literals.txt . [ 98%]
tests/snippets/teal/test_strings.txt . [ 98%]
tests/snippets/terraform/test_attributes.txt . [ 98%]
tests/snippets/terraform/test_backend.txt . [ 98%]
tests/snippets/terraform/test_comment.txt . [ 98%]
tests/snippets/terraform/test_functions.txt . [ 98%]
tests/snippets/terraform/test_heredoc.txt . [ 98%]
tests/snippets/terraform/test_module.txt . [ 98%]
tests/snippets/terraform/test_resource.txt . [ 98%]
tests/snippets/terraform/test_types.txt . [ 98%]
tests/snippets/terraform/test_variable_declaration.txt . [ 98%]
tests/snippets/terraform/test_variable_read.txt . [ 99%]
tests/snippets/turtle/test_prefixed_name_starting_with_number.txt . [ 99%]
tests/snippets/typescript/test_function_definition.txt . [ 99%]
tests/snippets/unixconfig/etc_group.txt . [ 99%]
tests/snippets/unixconfig/etc_passwd.txt . [ 99%]
tests/snippets/unixconfig/etc_shadow.txt . [ 99%]
tests/snippets/usd/test_attribute.txt . [ 99%]
tests/snippets/usd/test_composition_arcs.txt . [ 99%]
tests/snippets/usd/test_metadata.txt . [ 99%]
tests/snippets/usd/test_numbers.txt . [ 99%]
tests/snippets/usd/test_outer_match_at_sign.txt . [ 99%]
tests/snippets/usd/test_outer_match_double.txt . [ 99%]
tests/snippets/usd/test_outer_match_single.txt . [ 99%]
tests/snippets/usd/test_string_multiple_line.txt . [ 99%]
tests/snippets/usd/test_string_priority.txt . [ 99%]
tests/snippets/usd/test_string_single_line.txt . [ 99%]
tests/snippets/vbscript/test_floats.txt . [ 99%]
tests/snippets/vbscript/test_floats_multiple.txt . [ 99%]
tests/snippets/vbscript/test_integers.txt . [ 99%]
tests/snippets/vbscript/test_invalid_character.txt . [ 99%]
tests/snippets/vbscript/test_names.txt . [ 99%]
tests/snippets/vbscript/test_reject_almost_float.txt . [ 99%]
tests/snippets/vbscript/test_unterminated_string.txt . [ 99%]
tests/snippets/wat/test_align_and_offset_accept_hexadecimal_numbers.txt . [ 99%]
tests/snippets/wat/test_comment_with_open_paren.txt . [ 99%]
tests/snippets/wat/test_comment_with_semicolon.txt . [ 99%]
tests/snippets/wat/test_i32_const_is_builtin.txt . [ 99%]
tests/snippets/wat/test_multiline_comment.txt . [ 99%]
tests/snippets/wat/test_nested_comment.txt . [ 99%]
tests/snippets/wat/test_string_byte_escape.txt . [ 99%]
tests/snippets/wat/test_string_with_escape.txt . [ 99%]
tests/snippets/wat/test_variable_name_pattern.txt . [ 99%]
tests/snippets/whiley/test_whiley_operator.txt . [ 99%]
tests/snippets/xml/multiline-comment-catastrophic-backtracking.txt . [ 99%]
tests/snippets/yaml/test_yaml.txt . [ 99%]
tests/snippets/yang/test_float_value.txt . [ 99%]
tests/snippets/yang/test_integer_value.txt . [ 99%]
tests/snippets/yang/test_namespace_1.txt . [ 99%]
tests/snippets/yang/test_namespace_2.txt . [ 99%]
tests/snippets/yang/test_revision_date.txt . [ 99%]
tests/snippets/yang/test_string_value.txt . [100%]
========================================================================= short test summary info ==========================================================================
SKIPPED [1] tests/test_guess.py:24: This is identified as T-SQL
SKIPPED [1] tests/test_guess.py:40: This is identified as MIME
SKIPPED [1] tests/test_guess.py:46: This is identified as Python
SKIPPED [1] tests/test_latex_formatter.py:58: [Errno 2] No such file or directory: 'latex'
===================================================================== 4002 passed, 4 skipped in 25.50s =====================================================================
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: python-pygments-2.12.0-2.fc35.noarch
Provides: python-pygments = 2.12.0-2.fc35 python3.8dist(pygments) = 2.12 python3dist(pygments) = 2.12
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3 python(abi) = 3.8
Obsoletes: python3-pygments
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/tkloczko/rpmbuild/BUILDROOT/python-pygments-2.12.0-2.fc35.x86_64
Wrote: /home/tkloczko/rpmbuild/SRPMS/python-pygments-2.12.0-2.fc35.src.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/python-pygments-2.12.0-2.fc35.noarch.rpm As Ive changed recently method of generate documetation I've noticed only that sphins shows some warnings + /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man
Running Sphinx v4.5.0
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 26 added, 0 changed, 0 removed
Warning: Macaulay2Lexer does not have a docstring.
reading sources... [100%] styles
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/lexers.rst:4372: WARNING: Inline interpreted text or phrase reference start-string without end-string.
WARNING: :5069: (ERROR/3) Unknown target name: "ragel".
WARNING: :5082: (ERROR/3) Unknown target name: "ragel".
WARNING: :5095: (ERROR/3) Unknown target name: "ragel".
WARNING: :5108: (ERROR/3) Unknown target name: "ragel".
WARNING: :5124: (ERROR/3) Unknown target name: "ragel".
WARNING: :5152: (ERROR/3) Unknown target name: "ragel".
WARNING: :5165: (ERROR/3) Unknown target name: "ragel".
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-pygments.3 { download docs/quickstart docs/cmdline docs/lexers docs/filters docs/formatters docs/styles docs/unicode docs/tokens docs/api docs/terminal-sessions docs/lexerdevelopment docs/formatterdevelopment docs/filterdevelopment docs/styledevelopment docs/plugins docs/rstdirective docs/moinmoin docs/java docs/integrate docs/changelog docs/authors } /home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/quickstart.rst:61: WARNING: py:func reference target not found: get_style_defs
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/quickstart.rst:74: WARNING: py:func reference target not found: highlight
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/quickstart.rst:156: WARNING: py:meth reference target not found: analyse_text
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/styles.rst:80: WARNING: py:attr reference target not found: pygments.style.ansicolors
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:45: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:54: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:62: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:73: WARNING: py:exc reference target not found: ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:84: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:92: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:109: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:129: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:137: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:148: WARNING: py:exc reference target not found: ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:158: WARNING: py:data reference target not found: pygments.styles.STYLE_MAP
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:161: WARNING: py:exc reference target not found: pygments.util.ClassNotFound
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:271: WARNING: py:meth reference target not found: __init__
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/api.rst:312: WARNING: py:mod reference target not found: fnmatch
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/lexerdevelopment.rst:26: WARNING: py:class reference target not found: RegexLexer
/home/tkloczko/rpmbuild/BUILD/pygments-2.12.0/doc/docs/lexerdevelopment.rst:133: WARNING: py:class reference target not found: pygments.formatters.html.HtmlFormatter
done
build succeeded, 28 warnings. These are not critical issues. You can peak on fixes that kind of issues in other projects |
* Switch from pkg_resources to importlib.metadata importlib.metadata is a standard library replacement for pkg_resources, available starting with Python 3.8. It is faster than pkg_resources. This lets the plugin interface use it when available, i.e. on Python 3.8 and later. On earlier Python, it uses the importlib_metadata PyPI backport if available, and finally falls back on pkg_resources. setup.cfg gains an extra called plugins, which can allow a project to install "pygments[plugins]" in order to ensure that plugins support is present even if installed with older Python versions. Timings for lexing an empty file with a lexer from a random plugin: Before: real 0m0,238s user 0m0,210s sys 0m0,029s After: real 0m0,141s user 0m0,125s sys 0m0,017s Fixes #2116, #2126
What about push that as new version? 😋 |
@jean-abou-samra did you want to do further work on the plugin system first? Or should the big overhaul get a major version bump? |
Yes, my further work on plugins is pending. I'm not sure if it will require a major version bump yet. I wonder how many people are actually using the |
See discussions:
astropy/astropy#11091
pypa/pip#7413
The text was updated successfully, but these errors were encountered: