summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Use python -m pytest in MakefileJean Abou Samra2022-09-241-2/+2
| | | | | | To print a better message if pytest is not installed. Fixes #2234
* Merge mapping file generation scripts (#2152)Jean Abou-Samra2022-05-291-2/+1
| | | | | | | | | Use a unified script, to reduce code duplication and in preparation for doing a similar thing with styles and filters. The new script also uses a bit more modern Python APIs (e.g., pathlib). Unlike the previous scripts, it does not replace replace CRLF with LF because Git should do that itself.
* Correcting path to Python in call to regexlint (#2122)Gustavo A. Hoffmann2022-05-061-1/+1
|
* Happy new year.Georg Brandl2022-01-251-1/+1
|
* Add support for Python 3.10 (#1917)Hugo van Kemenade2021-10-231-2/+2
| | | | | * Add support for Python 3.10 * Drop the dot https://twitter.com/pytestdotorg/status/753767547866972160
* Improve checks. (#1884)Matthäus G. Chajdas2021-08-171-2/+3
| | | | | | | | | Improve checks. * Fix lots of small errors. * Remove the line length check. * Add an option to skip lexers with no alias * Run checks in make check * Add a new CI target.
* Add scripts/count_token_references.py to check for "unicorn" tokens. (#1819)Walter Dörwald2021-06-201-0/+2
|
* Also add auto-updatable output-based tests to examplefiles (#1689)Oleh Prypin2021-01-201-10/+3
| | | Co-authored-by: Georg Brandl <georg@python.org>
* Bump copyright year.Matthäus G. Chajdas2021-01-031-1/+1
|
* Add a check for CR/LF in files. (#1547)Matthäus G. Chajdas2020-09-201-0/+1
| | | | | | | | | | | | | | | | | | | * Add a check for CR/LF in files. This can occur when checking out things on Windows, and it breaks the tarball. This adds a script to check for the presence of CR/LF which exits early if anything gets found. * Improve error checking. * Include the external folder and check that. * Include .bashcomp files. * Use the correct CR/LF on the checker itself. * Address review feedback. * Remove || true * Fix docs * Print the first offending file name
* Update changelog, make "make clean" clean more thingsGeorg Brandl2020-09-171-4/+2
|
* CI: add regexlint runGeorg Brandl2020-09-061-1/+2
|
* Update copyright year (fixes #1514.)Matthäus G. Chajdas2020-08-221-1/+1
|
* Use python3 in Makefile (fixes #1440.)Matthäus G. Chajdas2020-06-011-1/+1
| | | | | | We only support python3, and various OS still have python point to python2. Setting python3 as the default allows us to run some operations like make mapfiles without having to enter a virtual environment.
* Remove generated output/ directory when 'make clean' is calledStéphane Blondon2019-11-291-1/+1
|
* Cleanup test modules, more pytest-like testing.Georg Brandl2019-11-101-1/+1
|
* Initial port to py.testGeorg Brandl2019-11-101-3/+5
| | | | | Unittest classes are kept - for now - since py.test is ok with them. Generator tests had to be switched to pytest parametrized tests.
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Minimal fixup changes for the release, add release date.2.3.0Georg Brandl2018-11-251-0/+6
|
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+65
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.