From 5c6bf2b60a2343458fd6a6e2cdf2d450407f8420 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 9 Jul 2023 16:35:44 +0100 Subject: [PATCH] prettier docs --- ERRORCODES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ERRORCODES.md b/ERRORCODES.md index 7664b3c6..7a06c6b2 100644 --- a/ERRORCODES.md +++ b/ERRORCODES.md @@ -61,6 +61,8 @@ The following warnings are currently emitted by default: | Y056 | Do not call methods such as `.append()`, `.extend()` or `.remove()` on `__all__`. Different type checkers have varying levels of support for calling these methods on `__all__`. Use `+=` instead, which is known to be supported by all major type checkers. | Y057 | Do not use `typing.ByteString` or `collections.abc.ByteString`. These types have unclear semantics, and are deprecated; use `typing_extensions.Buffer` or a union such as `bytes \| bytearray \| memoryview` instead. See [PEP 688](https://peps.python.org/pep-0688/) for more details. +## Warnings disabled by default + The following error codes are also provided, but are disabled by default due to the risk of false-positive errors. To enable these error codes, use `--extend-select={code1,code2,...}` on the command line or in your flake8