Closed phi-friday closed 4 months ago
related: #509 (especially https://github.com/bayesian-optimization/BayesianOptimization/pull/509#issuecomment-2253749844) reproduce: find bayes_opt -type f -name "*.py" | xargs sed -i '' 's/ : /: /g'
find bayes_opt -type f -name "*.py" | xargs sed -i '' 's/ : /: /g'
It would be nice if this could be enforced by a ruff or pydocstyle rule, but I haven't found a way.
ruff
pydocstyle
Closing -- the rendering problem was due to a missing extension. Let's keep the param : type syntax for now, as it's the numpy style.
param : type
related: #509 (especially https://github.com/bayesian-optimization/BayesianOptimization/pull/509#issuecomment-2253749844) reproduce:
find bayes_opt -type f -name "*.py" | xargs sed -i '' 's/ : /: /g'
It would be nice if this could be enforced by a
ruff
orpydocstyle
rule, but I haven't found a way.