Skip to content

INTERNAL ERROR: Black produced different code on the second pass of the formatter. #901

Description

@knakad

Hi there!
Looks like black is having trouble with this bit of code.
See details linked below:

Operating system: Reproducible on Windows and Ubuntu
Python version: 3.6.8
Black version: black==19.3b0
Does it also happen on master: Yes

Output:
$ black -l 100 ./ error: cannot format C:\Users\knakad\workspace\SageMakerPythonSDK\src\sagemakerpythonsdk\src\sagemaker\rl\estimator.py : INTERNAL ERROR: Black produced different code on the second pass of the formatter. Please report a bug on https://github.com/ambv/black/issues. This diff might be helpful: C:\Users\knakad\AppData\Local\Temp\blk_epnkfdbs.log All done! � � � 223 files left unchanged, 1 file failed to reformat.

blk_epnkfdbs.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions