Commit b87ed05
committed
feat(treefmt): add options to settings and disable cache by default
The bootstrapping of the cache does not work well with the
parallelization of pre-commit, also it introduces quite a slow-down.
Another option that works is to configure `require_serial = true`. But
with this there was still an initial slowdown when the cache was not in
place. While disabling the cache was fast every time.
This might work different in different setups thus it makes sense to
make it configurable.1 parent d70155f commit b87ed05
1 file changed
+22
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1621 | 1633 | | |
1622 | 1634 | | |
1623 | 1635 | | |
| |||
3693 | 3705 | | |
3694 | 3706 | | |
3695 | 3707 | | |
3696 | | - | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
3697 | 3718 | | |
3698 | 3719 | | |
3699 | 3720 | | |
| |||
0 commit comments