[Pulp-dev] black

Simon Baatz gmbnomis at gmail.com
Thu Jun 27 18:48:46 UTC 2019

On Thu, Jun 27, 2019 at 07:58:38AM -0400, David Davis wrote:
>    Follow up question to adding support for black: should we drop flake8?
>    We shouldn't need it anymore since black is pep8 compliant but I'm
>    happy to keep it around at least temporarily if people prefer?

Please do not drop it. While black is pep8 compliant, flake8 does
more than pure code formatting checks. For example, the
following code is absolutely fine for black:

   import os

   d = {1: 2, 1: 3}

flake8 will complain about the unused import and the problem with the
dict keys.

More information about the Pulp-dev mailing list