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.4.tar.gz
(8.5 kB
view details)
Built Distribution
File details
Details for the file vba_linter-0.0.4.tar.gz
.
File metadata
- Download URL: vba_linter-0.0.4.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e18d560cfb28d0990b06d9ba1603313dd848eab639bea3a8c124c8ef85b579f |
|
MD5 | 48ac26a11b46a0a2c500d9c4e2b55e1b |
|
BLAKE2b-256 | dd5725968b94d8e1b349e28be69739d3468d767b916053d1d5331cf2e6420c7a |
File details
Details for the file vba_linter-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: vba_linter-0.0.4-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19bbf7f967e070ec8b8167467f5ca99ddc33b502cf4519dc5445812036f006bc |
|
MD5 | ff589ceb3538ddc197cfbbcbb1da8423 |
|
BLAKE2b-256 | d76a537529e72472b99a2a528489812cb3c0dea7c5cec73ba39ffe51e7b4b039 |