• Ben Webber's avatar
    Add check to enforce literal syntax for Python builtin types · 35996b7a
    Ben Webber 创作于
    This check requires authors to initialize empty or zero builtin types
    using the literal syntax (e.g., `{}` instead of `dict()`).
    
    Authors may ignore this requirement for certain builtins using the
    `--ignore` option.
    
    Authors may also forbid calling `dict()` with keyword arguments
    (`dict(a=1, b=2)`) using the `--no-allow-dict-kwargs` flag.
    35996b7a