Implement U013: Unnecessary TypedDict syntactic form (#716)

This commit is contained in:
Martin Lehoux
2022-11-18 18:10:47 +01:00
committed by GitHub
parent c2d6307e9b
commit c5722d8a4d
14 changed files with 451 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
use once_cell::sync::Lazy;
use regex::Regex;
pub static IDENTIFIER_REGEX: Lazy<Regex> =
Lazy::new(|| Regex::new(r"^[A-Za-z_][A-Za-z0-9_]*$").unwrap());

View File

@@ -1,5 +1,6 @@
pub mod builtins;
pub mod future;
pub mod identifiers;
pub mod keyword;
pub mod string;
pub mod sys;