Open Vulwsztyn opened 1 year ago
How to reproduce:
create a jupyter notebook file with content:
{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] } ], "metadata": { "language_info": { "name": "python" }, "orig_nbformat": 4 }, "nbformat": 4, "nbformat_minor": 2 }
have blue and black[jupyter] installed,
blue
black[jupyter]
run blue
Most env agnostic way would be:
docker container run -it -v
:/app -w /app pyfound/black bash
pip install black[jupyter]; pip install blue
blue .
Current behaviour: The
%load_ext autoreload %autoreload 2
in jupyter notebook gets formatted as:
""%load_ext autoreload"" 'b3d554e307.'
Expected behaviour: it is left unchanged.
How to reproduce:
create a jupyter notebook file with content:
have
blue
andblack[jupyter]
installed,run blue
Most env agnostic way would be:
docker container run -it -v
pwd:/app -w /app pyfound/black bash
pip install black[jupyter]; pip install blue
blue .
Current behaviour: The
in jupyter notebook gets formatted as:
Expected behaviour: it is left unchanged.