PEP 7: Revert: "Add note about greppable exception messages (#2605)" (#2608)

Based on post-merge feedback, it was decided to revert this change.

See the original PR (GH-2605), the proposed PR for PEP 8 (GH-2606), and
the issue (GH-2604) for the discussions.

This reverts commit c787739478.
This commit is contained in:
Erlend Egeberg Aasland 2022-05-17 20:51:40 +02:00 committed by GitHub
parent 64e5abfef2
commit 83148efae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -71,12 +71,6 @@ Code lay-out
previous rule together don't give you enough room to code, your code
is too complicated -- consider using subroutines.
* Strive to keep exception message string literals on one line,
in order to make them easily greppable.
If your exception message breaks the 79 character line width rule,
try to mitigate it by reducing indent, or just bend that rule.
(Practicality beats purity.)
* No line should end in whitespace. If you think you need significant
trailing whitespace, think again -- somebody's editor might delete
it as a matter of routine.