Lint VBA code.
Project description
VBA-Linter
Lint VBA code
Check that code parses correctly. If so, check that the formatting meets a specified standard.
Formatting Checks
E1 Indentation
- E101 indentation contains mixed spaces and tabs
E2 Whitespace errors
- E201 whitespace after '('
- E202 whitespace before ')'
- E203 whitespace before ‘,’
- E211 whitespace before (
W1 Indentation warning
- W191 indentation contains tabs - should be error.
W2 Whitespace warning
- W201 no newline at end of file
- W291 trailing whitespace
- W293 blank line contains whitespace
W3 Blank line warning
- W391 blank line at end of file
W5 Line break warning
- W500 incorrect line ending
- W501 line too long
To Do
- E221 multiple spaces before operator
- E222 multiple spaces after operator
- E712 comparison to True should be ‘If cond Then’
- E713 comparison to False should be 'If Not cond Then'
- F841 local variable 'foo' is assigned to but never used
- W101 improper indentation level
- W301 Too few blank lines before function
- W302 Too many blank lines before function
- N800 Keyword formating
- N801 Module name format
- N802 Function name format
- N803 Variable name format
- Missing Strict
- Variable not initialized
- return type not specified
- parameter type not specified
- missing function docbloc
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vba_linter-0.0.1.tar.gz
(92.8 kB
view hashes)
Built Distribution
vba_linter-0.0.1-py3-none-any.whl
(99.8 kB
view hashes)
Close
Hashes for vba_linter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799849dff809b5c3797a6238601560d19a6095bc1680be66a08462841b6673bb |
|
MD5 | a92f28e0260b87d7c3a35967f4691166 |
|
BLAKE2b-256 | 1c1c4e983c3bd624ddd36557898a3dc07b67f0b70f231d0ddef8332ae71f8899 |