File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3333
3434# Upgrade old Python syntax
3535- repo : https://github.com/asottile/pyupgrade
36- rev : " v2.34.0 "
36+ rev : " v2.37.1 "
3737 hooks :
3838 - id : pyupgrade
3939 args : [--py36-plus]
7373
7474# Autoremoves unused imports
7575- repo : https://github.com/hadialqattan/pycln
76- rev : " v1.3.5 "
76+ rev : " v2.0.1 "
7777 hooks :
7878 - id : pycln
7979 stages : [manual]
Original file line number Diff line number Diff line change @@ -1653,7 +1653,7 @@ unpacking_collector<policy> collect_arguments(Args &&...args) {
16531653template <typename Derived>
16541654template <return_value_policy policy, typename ... Args>
16551655object object_api<Derived>::operator ()(Args &&...args) const {
1656- #if defined(PYBIND11_DETAILED_ERROR_MESSAGES)
1656+ #ifndef NDEBUG
16571657 if (!PyGILState_Check ()) {
16581658 pybind11_fail (" pybind11::object_api<>::operator() PyGILState_Check() failure." );
16591659 }
You can’t perform that action at this time.
0 commit comments