pymatgen icon indicating copy to clipboard operation
pymatgen copied to clipboard

black changes all quotes to double, flake8 complains about them

Open flaviu-gostin opened this issue 3 years ago • 0 comments

Describe the bug Conflict between blake and flake8 settings.

To Reproduce Steps to reproduce the behavior:

  1. Commit changes with git commit
  2. pre-commit is triggered
  3. black (I think) changes all quotes to double "
  4. flake8 complains about the double quotes with: Q000 Remove bad quotes

Recommend adding in setup.cfg (according to [https://github.com/zheller/flake8-quotes]) [flake8] inline-quotes = double

This stops the Q000 ...

flaviu-gostin avatar May 14 '21 11:05 flaviu-gostin