We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7d8f8 commit 52f497bCopy full SHA for 52f497b
.pre-commit-hooks.yaml
@@ -0,0 +1,9 @@
1
+- id: check-python-h-first
2
+ name: check-python-h-first
3
+ entry: check_python_h_first
4
+ language: python
5
+ types: ["file", "text"]
6
+ types_or: ["c", "c++"]
7
+ description: >-
8
+ Check whether a file includes Python.h first. Accepts
9
+ numpy/ndarraytype.h, pybind/pybind.h, and friends as well
0 commit comments