-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLN, CI: check notebooks follow black formatting #4095
Comments
Thanks for the initiative! No real preference per se, we just set the line length to 100 instead of the default 88 in |
@AlexAndorra do you want to add the beginner-friendly tag here? |
Done @MarcoGorelli 😉 |
Hi, I'd like to help here.. So, just to make sure.. I need to reformat given notebook using |
Thanks!
Yup - but because these notebooks are user-facing, you may sometimes need/want to use |
noted, I'll try to working on this files first:
|
@satrio-hw sorry, I didn't get round to checking these off yet, I've taken on many of them in #4148 I'll check them off now, feel free to take any of the rest |
understood, than I'll take :
|
Suggested by @AlexAndorra here, opening this as a placeholder so I don't forget.
Any preferences on
black
formatting, or are the defaults OK? Will you be looking to applying it to the rest of the codebase as well in the future?to-do list (updated 2020-10-12)
docs/source/notebooks/GLM-negative-binomial-regression.ipynb
docs/source/notebooks/SMC2_gaussians.ipynb
docs/source/notebooks/bayes_param_survival_pymc3.ipynb
docs/source/notebooks/bayesian_neural_network_advi.ipynb
docs/source/notebooks/blackbox_external_likelihood.ipynb
docs/source/notebooks/data_container.ipynb
docs/source/notebooks/empirical-approx-overview.ipynb
docs/source/notebooks/api_quickstart.ipynb
docs/source/notebooks/convolutional_vae_keras_advi.ipynb
docs/source/notebooks/dependent_density_regression.ipynb
docs/source/notebooks/gaussian_mixture_model.ipynb
docs/source/notebooks/ODE_with_manual_gradients.ipynb
docs/source/notebooks/factor_analysis.ipynb
docs/source/notebooks/conditional-autoregressive-model.ipynb
docs/source/notebooks/hierarchical_partial_pooling.ipynb
docs/source/notebooks/MLDA_gravity_surveying.ipynb
docs/source/notebooks/lasso_block_update.ipynb
docs/source/notebooks/GP-MeansAndCovs.ipynb
docs/source/notebooks/gaussian_process.ipynb
docs/source/notebooks/howto_debugging.ipynb
docs/source/notebooks/marginalized_gaussian_mixture_model.ipynb
docs/source/notebooks/model_comparison.ipynb
docs/source/notebooks/model_averaging.ipynb
docs/source/notebooks/dp_mix.ipynb
docs/source/notebooks/gaussian-mixture-model-advi.ipynb
docs/source/notebooks/GP-MaunaLoa2.ipynb
docs/source/notebooks/log-gaussian-cox-process.ipynb
docs/source/notebooks/sampler-stats.ipynb
docs/source/notebooks/getting_started.ipynb
docs/source/notebooks/sampling_callback.ipynb
docs/source/notebooks/sampling_compound_step.ipynb
docs/source/notebooks/lda-advi-aevb.ipynb
docs/source/notebooks/posterior_predictive.ipynb
docs/source/notebooks/stochastic_volatility.ipynb
docs/source/notebooks/weibull_aft.ipynb
docs/source/notebooks/updating_priors.ipynb
docs/source/notebooks/normalizing_flows_overview.ipynb
docs/source/notebooks/rugby_analytics.ipynb
docs/source/notebooks/variational_api_quickstart.ipynb
docs/source/notebooks/probabilistic_matrix_factorization.ipynb
docs/source/notebooks/survival_analysis.ipynb
docs/source/notebooks/putting_workflow.ipynb
docs/source/notebooks/multilevel_modeling.ipynb
docs/source/notebooks/cox_model.ipynb
This is a begginer-friendly issue, all you need to do is:
replacing notebook1.ipynb notebook2.ipynb with some notebooks from above. You should then check over the diff to make sure nothing unexpected has been changed - please report any errors/issues with
nbqa
to https://github.com/nbQA-dev/nbQA . Feel free to ping me if you want/need help with thisNOTE: sometimes, you may need to disable
black
for a block of code - see the style guide for how to do thatThe text was updated successfully, but these errors were encountered: