Releases: Witiko/expltools
2025-01-15
expltools 2025-01-15
explcheck v0.5.0
Development
-
Add support for ignoring file-wide issues and issues on a single line using TeX comments. (#23)
For example, a comment
% noqa
will ignore any issues on the current line, whereas a comment% noqa: W100, S206
will ignore the file-wide warning W100 (No standard delimiters) and the warning S206 (Malformed variable or constant name) on the current line. -
Add command-line option
--ignored-issues
and Lua optionignored_issues
for ignoring issues. (#23)For example,
--ignored-issues=w100,s206
will ignore the file-wide warning W100 (No standard delimiters) and all warnings S206 (Malformed variable or constant name).
Fixes
- Correctly shorten long names of files from the current working directory in the command-line output. (#23)
- Correctly parenthesize and order LPEG parsers in the file
explcheck-obsolete.lua
. (#23) - Do not produce warning S204 (Missing stylistic whitespaces) for non-expl3, empty, or one-character names of control sequences. (#23)
- Do not produce warning S204 (Missing stylistic whitespaces) for an empty grouping (
{}
). (#23) - Do not produce warning S204 (Missing stylistic whitespaces) for a parameter before begin grouping (
#1{
). (#23) - Do not produce S204 (Missing stylistic whitespaces) for a comma immediately after a control sequence. (505608f)
- Do not produce warnings S205 (Malformed function name) and S206 (Malformed variable or constant name) for non-expl3 functions, variables, and constants. (#23)
- Do not produce warnings S206 (Malformed variable or constant name) for variable and constant names that contain names of built-in types such as
\c_module_constant_clist_tl
containingclist
. (#23)
The latest version
Commits
- d9dbf73: Update
CHANGES.md
(Vít Starý Novotný)
2025-01-14
2024-12-23
expltools 2024-12-23
explcheck v0.3.0
Development
- Add option
--expect-expl3-everywhere
to ignore \ExplSyntaxOn and Off. (discussed with @muzimuzhi in #17, added in #19) - Add short-hand command-line option
-p
for--porcelain
. (suggested by @FrankMittelbach in #8, added in #19) - Add file
explcheck-config.lua
with the default configuration of explcheck. (#19)
You may place a file named explcheck-config.lua
with your own configuration in your repository to control the behavior of explcheck.
Note that the configuration options are provisional and may be changed or removed before version 1.0.0. Furthermore, support for configuration YAML files that will allow you to specify different configuration for different .tex files is envisioned for a future release and will be the recommended way to configure explcheck.
Fixes
- Make the detection of error E102 (expl3 material in non-expl3 parts) more precise. (discussed with @cfr42 in #18, fixed in #19)
- Use a less naïve parser of TeX comments to improve the detection of issues W100 and E102. (reported by @FrankMittelbach in #8, fixed in #16)
Documentation
- State in the output of
explcheck --help
that command-line options are provisional and subject to change. (discussed with @FrankMittelbach and @muzimuzhi in #8 and #17, added in #19) - Display the default maximum line length in the output of
explcheck --help
. (#19) - Rename E102 to "expl3 material in non-expl3 parts". (discussed with @cfr42 in #18, added in #19)
2024-12-13
expltools 2024-12-13
explcheck v0.2.0
Development
- Add a command-line option
--porcelain
for machine-readable output. (suggested by @FrankMittelbach in #8, added in #15)
See #15 (comment) and below for a demonstration of how you might set up your text editor, so that it automatically navigates you to lines with warnings and errors.
Fixes
- In the command-line interface, forbid the checking of .ins and .dtx files. Display messages that direct users to check the generated files instead. (reported by @josephwright and @FrankMittelbach in #8, fixed in #14)
- Expect both backslashes and forward slashes when shortening pathnames. (#14)
- Correctly pluralize "1 file" on the first line of command-line output. (#14)
Documentation
- Normalize the behavior and documentation of functions
get_*()
across filesexplcheck/build.lua
,explcheck/test.lua
, andexplcheck-cli.lua
. (#14)
2024-12-09
expltools 2024-12-09
explcheck v0.1.1
Fixes
- In LuaTeX, initialize Kpathsea Lua module searchers first. (reported by @josephwright, Lars Madsen, and Philip Taylor on tex-live@tug.org and by @muzimuzhi in #9, fixed on tex-live@tug.org by @gucci-on-fleek)
- Allow spaces between arguments of
\ProvidesExpl*
commands. (reported by @u-fischer and @josephwright in #7, fixed in #13)
Documentation
- Include explcheck version in the command-line interface. (reported in #10, fixed in #13)
- Hint in the file
README.md
that .dtx files are not well-supported. (reported by @josephwright in #8, added in #13) - Show in the file
README.md
how explcheck can be used from Lua code. (#13) - Include instructions about using l3build in the file
README.md
. (reported in #11, added in #13)
Continuous integration
2024-12-04
expltools 2024-12-04
explcheck v0.1
Development
- Implement preprocessing. (#5)
Documentation
- Add
README.md
. (suggested by @Skillmon in #1, fixed in #2) - Update to Markdown 3. (#3)
- Use the expl3 prefix
expltools
. (#3) - Add project proposal. (#4)
Continuous integration
- Use small Docker image. (#3)
Distribution
- Make changes to the CTAN archive following a discussion with TeX Live developers on tex-live@tug.org and with CTAN maintainers. Many thanks specifically to Petra Rübe-Pugliese, Reinhard Kotucha, and Zdeněk Wagner.
2024-09-06
A snapshot of the project documentation on 2024-09-06.