@@ -54,28 +54,27 @@ def to_black_compatible(self) -> "Flake8Setting":
5454
5555 if not _contains (new .ignore , "E203" ):
5656 new .ignore .append ("E203" )
57- new ._comments .append ("# E203: black treats : as a binary operator" )
57+ new ._comments .append ("# ( E203) black treats colon as a binary operator" )
5858
5959 if not _contains (new .ignore , "E231" ):
6060 new .ignore .append ("E231" )
61- new ._comments .append ("# E231: black doesn't put a space after ," )
62-
61+ new ._comments .append ("# (E231) black doesn't put a space after ," )
6362 if not _contains (new .ignore , "E501" ):
6463 new .ignore .append ("E501" )
6564 new ._comments .append (
66- "# E501: black may exceed the line-length to follow other style rules"
65+ "# ( E501) black may exceed the line-length to follow other style rules"
6766 )
6867
6968 if not _contains (new .ignore , "E701" ):
7069 new .ignore .append ("E701" )
7170 new ._comments .append (
72- "# E701: black will collapse ... only functions etc. to a single line"
71+ "# ( E701) black will collapse ... only functions etc. to a single line"
7372 )
7473
7574 if not _contains (new .ignore , "E704" ):
7675 new .ignore .append ("E704" )
7776 new ._comments .append (
78- "# E704: black will collapse ... only functions etc. to a single line"
77+ "# ( E704) black will collapse ... only functions etc. to a single line"
7978 )
8079
8180 W503_or_504_enabled = _contains (new .ignore , "W503" ) or _contains (
@@ -84,7 +83,7 @@ def to_black_compatible(self) -> "Flake8Setting":
8483 if not W503_or_504_enabled :
8584 new .ignore .append ("W503" )
8685 new ._comments .append (
87- "# W503 or W504: either one needs to be disabled to select W error codes"
86+ "# ( W503 or W504) either one needs to be disabled to select W error codes"
8887 )
8988
9089 return new
0 commit comments