Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Files not reformatted with Black cache and inconsistent output #175

@frossigneux

Description

@frossigneux

Operating system:
Python version: 3.6.3
Black version: 18.4a3
Does also happen on master: yes

Steps to reproduce:
black --check myproject
1 file would be reformatted, 68 files would be left unchanged.

Run it again:
black --check myproject
All done!
69 files would be left unchanged.

So I cannot reformat the code:
black myproject
All done!
69 files would be left unchanged.

If I remove the cache file, it works and the file is reformatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions