mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-108455: peg_generator: make the mypy config slightly stricter (#108627)
* Enable `--no-implicit-reexport` * Enable the `truthy-bool` error code * Enable the `ignore-without-code` error code * Explicitly note that `--warn-unreachable` cannot yet be enabled
This commit is contained in:
parent
c879b9fddf
commit
0d140b8c5e
4 changed files with 12 additions and 8 deletions
|
@ -12,7 +12,10 @@ import token
|
|||
import traceback
|
||||
from typing import Tuple
|
||||
|
||||
from pegen.build import Grammar, Parser, ParserGenerator, Tokenizer
|
||||
from pegen.grammar import Grammar
|
||||
from pegen.parser import Parser
|
||||
from pegen.parser_generator import ParserGenerator
|
||||
from pegen.tokenizer import Tokenizer
|
||||
from pegen.validator import validate_grammar
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue