When coconut finds an unused import, it quotes an error location from the point of the import statement (hence, most likely near the top of the file), until the end of file, making the output unnecessarily large and loquacious.
Compiling src/rechnungen/commands/latex.coco ...
CoconutWarning: --incremental mode is not currently supported for files as large as {codepath!r}
in src/rechnungen/commands/latex.coco:
CoconutStyleError: found unused import 'yaml' (add '# NOQA' to suppress) (remove --strict to downgrade to a warning) (line
26 in 'latex.coco')
/~~~~~~~~~~
import yaml
import jinja2
[snip ca. 200 lines...]
out = str(output_path)
outdir = str(output_path.parent)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Coconut exiting with error: CoconutStyleError
When coconut finds an unused import, it quotes an error location from the point of the import statement (hence, most likely near the top of the file), until the end of file, making the output unnecessarily large and loquacious.