Don Cameron

Results 6 comments of Don Cameron

Same error for me, also ``` (renviron) C:\Users\donrc>conda update --dry-run -n base conda Solving environment: failed InvalidVersionSpecError: Invalid version spec: =2.7 ``` Blocks package installation ``` (renviron) C:\Users\donrc>conda install --dry-run...

Hi Don Cameron here. I think that the `````` display after each cell was because I had loaded nb_black into a JupyterLab, environment, and not lab_black. Unloading the correct extension...

Hi I didn't want to reconfigure black as a whole, because I use it in VSCODE, and I want it as it is. My use-case is creating blog entries from...

Just to be completely accurate, the blog post referenced above was formatted with a lab_black.py locally in the same directory as the Notebook, with _format_code() defined as: ``` def _format_code(code):...

Michael Didn't know that (obviously). I will give it a try, as being cleaner than having private versions of lab_black Thanks Don

Hi I have a directory with a pyproject.toml file that looks like: ``` [tool.black] skip-string-normalization = true line-length = 60 ``` and a batch (command line) invocation of black works...