Commit Graph

3 Commits (1b0802babeeee65afe283b39ca3f0e9fd508c103)

Author SHA1 Message Date
Bagatur 3596be5210
DOCS: format notebooks (#13371) 10 months ago
Predrag Gruevski 2ebd167dba
Lint Python notebooks with ruff. (#12677)
The new ruff version fixed the blocking bugs, and I was able to fairly
easily us to a passing state: ruff fixed some issues on its own, I fixed
a handful by hand, and I added a list of narrowly-targeted exclusions
for files that are currently failing ruff rules that we probably should
look into eventually.

I went pretty lenient on the docs / cookbooks rules, allowing dead code
and such things. Perhaps in the future we may want to tighten the rules
further, but this is already a good set of checks that found real issues
and will prevent them going forward.
10 months ago
Bagatur dd7959f4ac
template readme's in docs (#13152) 10 months ago