You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty lines are fine to mentally separate code blocks.
The use of a function is a choice by the recipe author.
He could also have used a lambda or not used a function at all.
The ugly argument is subjective and I don't agree with that.
What I agree with is that the name of the function is not good.
You can open a pr with your suggestions (or comment at #3545).
Ideal would be to read the discussion in #3305 and see what's missing/not working and add that.
You are right, I agree, I should take care of my words. What I really mean is it took me some minutes to understand this piece of code, I know the syntax for inner functions, but this is an unusual use case, I think. I followed loosely the discussions about line length, pep8, etc.
OK, I will try to use the new recipe and to figure out whats missing.
I'm glad to see the updated recipe for pybind11 2.6.0. I skimmed over the new code, and struggled starting with this line.
conan-center-index/recipes/pybind11/all/conanfile.py
Line 70 in ffb05bf
It will work, of course, but looks really ugly, a inner function and empty line in code before. Is it planed to refactor this recipe?
The text was updated successfully, but these errors were encountered: