feat: way to only recompile changed files (#2643)
* feat: lazy compile
* refactor: lazy -> only_changed
* refactor: leave the changed function up to the user
* refactor: pass a function, based on @YannickJadoul and @HDembinski's suggestions
* refactor: old -> _old, as it's not intended for users
* docs: slight improvmenent from @rwgk
* docs: Ccache spelling, extra warning about pip caching
Ccache spelling noted by @YannickJadoul
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cf519b4..85254a8 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -87,7 +87,7 @@
- id: disallow-caps
name: Disallow improper capitalization
language: pygrep
- entry: PyBind|Numpy|Cmake
+ entry: PyBind|Numpy|Cmake|CCache
exclude: .pre-commit-config.yaml
- repo: local