Alon Bar-Lev
5b4bae04aa
style: apply isort
...
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Alon Bar-Lev
b8c49b5946
style: python encoding
...
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:35 +02:00
Jeremiah Leary
fb3160cb37
Issue#927: Adding checks for keywords in comments. ( #934 )
...
* Issue#927: Adding checks for keywords in comments.
* Fixing spacing issue.
2023-04-11 10:48:39 -05:00
Jeremiah Leary
5399007a5f
Updates for issue #618 ( #660 )
...
* Updates for issue #618
Adding whitespace rule to enforce space after comment keyword.
1) Added documentation for new rule
2) Added tests
3) Added rule comment_100
* Updates for issue #618
Refactoring to improve readability.
2021-11-03 09:19:47 -05:00
Jeremiah Leary
be053bfc4d
Updates for issue #541
...
Adding rule comment_011 to move inline comments to line above.
1) Added documentation
2) Added tests
3) Added rule comment_011
4) Moved functions to vsg/rules/utils.py
5) Added new extractor
2021-03-23 22:31:40 -05:00
Michał Kruszewski
9cab593876
Move comment rules 008 and 009 to if rules 032 and 033.
2020-03-29 12:46:52 +02:00
Michał Kruszewski
d90e126c87
Move comment rule 005 to case rule 021.
2020-03-29 11:40:03 +02:00
Michał Kruszewski
1ba47f234c
Move comment rule 001 to library rule 009.
2020-03-29 09:21:15 +02:00
Michał Kruszewski
0f0ec0f47c
Refactor keyword alignment rules - part 2.
2020-03-17 11:22:25 +01:00
Jeremiah C Leary
68c6a3860c
Updates for issue #245
...
Fixed conflict between comment_007 and comment_008.
1) Renumbered comment_007 to comment_010. This ensures it is ran after comment_008.
2) Updated documentation
3) Updated tests
2019-06-28 10:38:23 -05:00
Jeremiah C Leary
4590726788
Updates for issue #233
...
Added rules for comments above elsif and else keywords:
1) Added documentation
2) Added tests
3) Added comment_008 and comment_009 rules
2019-06-07 21:40:59 -05:00
Ryan Fitzsimon
79456cf1a2
Use explicit relative imports
...
Implicit relative imports are not supported in Python 3 (see pep-0404).
Using explicit relative imports also helps avoid name clashes.
2018-08-31 11:24:13 +10:00
Jeremiah C Leary
1be7b4d329
Updates for issue #138 :
...
1) Added comment_007 to handle comments above use keywords
2) Added documentation
3) Added tests
4) Updated function in check.py
2018-05-16 20:47:35 -05:00
Jeremiah C Leary
9d558d4df6
Updates for issue #57 :
...
1) Added rule comment_006
2) Added documentation
3) Added tests
2017-12-14 06:19:38 -06:00
Jeremiah C Leary
b02506109f
Updates for issue #16
...
1) Added rule comment_005
2) Added documentation
3) Added test cases
4) Refactored case classification to remove indenting comments above when keywords
a) Updated tests
2017-12-13 22:16:07 -06:00
Jeremiah C Leary
bf92c91551
Updates for codestyle.
2017-12-08 19:48:15 -06:00
Jeremiah C Leary
b21c44d768
Updates for issue #55
...
Removed comment_002.
This rule has been superceeded by specific rules checking for alignment of comments.
2017-12-08 06:21:51 -06:00
Jeremiah C Leary
3337d55c52
Refactoring comment rules to ease maintainability.
2017-11-26 09:28:50 -06:00