Skip to content

Instantly share code, notes, and snippets.

@codehwang
Created November 27, 2017 06:33
Show Gist options
  • Save codehwang/2b6147e87b54298d14fa36768746ccde to your computer and use it in GitHub Desktop.
Save codehwang/2b6147e87b54298d14fa36768746ccde to your computer and use it in GitHub Desktop.
PyLint Default regular expression

Type Option Default regular expression Argument argument-rgx [a-z_][a-z0-9_]{2,30}$ Attribute attr-rgx [a-z_][a-z0-9_]{2,30}$ Class class-rgx [A-Z_][a-zA-Z0-9]+$ Constant const-rgx (([A-Z_][A-Z0-9_])|(__.__))$ Function function-rgx [a-z_][a-z0-9_]{2,30}$ Method method-rgx [a-z_][a-z0-9_]{2,30}$ Module module-rgx (([a-z_][a-z0-9_])|([A-Z][a-zA-Z0-9]+))$ Variable variable-rgx [a-z_][a-z0-9_]{2,30}$ Variable, inline1 inlinevar-rgx [A-Za-z_][A-Za-z0-9_]$

@codehwang
Copy link
Author

PyLint Default regular expression
Raw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment