Update VALID_CODE_PREFIX

Update introduces compatibility between Flake8 and PyLint via flake8-pylint plugin (has error codes like `PL****`)
This commit is contained in:
Pavel Zhukov 2023-01-10 16:44:45 +03:00 committed by GitHub
parent 33e1c55853
commit c047657878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,4 +43,4 @@ NOQA_INLINE_REGEXP = re.compile(
NOQA_FILE = re.compile(r"\s*# flake8[:=]\s*noqa", re.I)
VALID_CODE_PREFIX = re.compile("^[A-Z]{1,3}[0-9]{0,3}$", re.ASCII)
VALID_CODE_PREFIX = re.compile("^[A-Z]{1,3}[0-9]{0,4}$", re.ASCII)