* Issue#1243: Updated external name classification_test_input.vhd to expose bug.
* Issue#1243: Updated classification_results.txt to match desired output
* Issue#1243: Updated external_signal_name.py to fix bug.
* Issue#1243: Updated external_variable_name.py to fix bug.
* Issue#1243: Updated external_constant_name.py to fix bug.
* Issue#1243: Fixed external_variable_name.py.
* Issue#1243: Minor simplification in external name classification
* Issue#1243: Minor simplification in external name classification
* Issue#1243: Minor simplification in external name classification
* Issue#1059: Performance improvements:
* Added lower value to token and removed .lower() in other files
* Simplified find_next_token
* Attempt at new algorithm for closest pair.
NOTE: attempt has been commented out.
* WIP: Improved token pairs process:
NOTE: It does not appear to complete all the matches.
* Revert "WIP: Improved token pairs process:"
This reverts commit f41254087e84caa42b02058fd9fbb6cfcce673fc.
* Revert "Attempt at new algorithm for closest pair."
This reverts commit 4a972793883b9aa54a6e7ccd15e1cc26b8296fec.
* Updates for black.
Added classification of aggregates for targets in simple_variable_assignments.
1) Added tests
2) Added classifiers
a) target
b) aggregate
3) Updated indent configuration
* Style updates.
* Issue#1061: Updates for pragma use cases
Pragmas are now treated as comments:
* Pragmas are now a subclass of comments
* Move rules will not move tokens if it crosses a pragma
* Fixing issue with expression classification causing infinite loop.
* Issue#1054: Adding classification of pragmas.
* fix 'keyError: regexp' by dStyle having parse regexp and dConfig not (#1058)
* Adding pragma configuration tests.
* Stopping pragma search if a match is found.
* Refactoring classifications of pragmas to improve performance.
---------
Co-authored-by: Gerard Sharp <43923557+SittingDuc@users.noreply.github.com>
* Issue#1041: Improving code coverage for tokens.
* Improving code coverage of tokens.
* Final update for coverage on tokens.
* Adding tests to improve coverage of classifiers.
* Add linesep configuration option
Platform independent line ends are important to avoid conflicts.
Resolves: #1010
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Perform atomic write to files
Do not overwrite file as we may corrupt the file if something fails, instead
write into temporary location and move the result into the final destination.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Synchronize README command-line usage
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Support files as positional argument
Tools such as pre-commit and other tools expects the tools to accept the
input files as positional argument and not as options.
Let's support the two variants.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Support shallow git clone without tags
pre-commit uses shallow clone without tags, as this is not used to publish the
artifact, let's assume version '0' in this case.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Add pre-commit hooks support
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
---------
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
* Rule could not determine the difference between subprogram_body and subprogram_declaration.
* Removing blank lines.
* Issue#950: Rule procedure_012 fails if function nested in procedure
* Issue#1033:
* Removing unused classifier.
* Removing rule conditional_selected_signal_assignment_400
* Rule was conflicting with rule selected_assignment_400.
* Fixing issue with selected_assignments being considered an array.
* Issue#1030: Adding option to indent use_clauses depending on existence of library_clause.
* Updates for codeclimate.
* Adding tests for new configuration option.
* Adding documentation.
* Fixing syntax error in documentation.
* Issue#1009: Updating multiline alignment rules to accept booleans for parameters.
* Adding boolean to yes/no conversions for other rules.
* Converting rule after_002 to use yes/no strings for options.
* Updating base rule align_tokens_in_region_between_tokens_unless_between_tokens to use yes/no.
* Updating base rule align_tokens_in_region_between_tokens_skipping_lines_starting_with_tokens to accept yes/no.
* Updating base rule align_tokens_in_region_between_tokens to accept yes/no.
* Updating rule case_generate_statement_400 to accept yes/no.
* Updating rule concurrent_006 to accept yes/no.
* Fixing default value for generate_statement_ends_group in concurrent_006.
* Updating rule concurrent_008 to accept yes/no.
* Updating base rule align_tokens_in_region_between_tokens_when_between_tokens_unless_between_tokens to support yes/no
* Updating base rule align_tokens_in_region_between_tokens_unless_between_tokens to accept yes/no.
* Setting False options to 'no' in base rule align_tokens_in_region_between_tokens_unless_between_tokens.
* Updating block_comment rules to accept yes/no.
* Updating rule concurrent_400 to accept yes/no.
* Updating rule process_034 to accept yes/no.
* Updating rule process_035 to accept yes/no
* Updating rule process_400 to accept yes/no.
* Updating rule sequential_400 to accept yes/no.
* Updating rule subprogram_body_400 to accept yes/no.
* Updating rule concurrent_007 to accept yes/no.
* Updating rule library_003 to accept yes/no.
* Updating rule signal_012 to accept yes/no
* Updates for codeclimate issues.
* Moving similar alignment helper functions to utils file.
* Codeclimate updates.
* Updating option documentation to current standard.
* Changing default True option to 'yes'
* Updating configuration documentation to current standards.
* Updating configuration documentation to latest standard.
* Updating configuration rules to current standard.
* Replacing occurances of True/False with "yes"/"no"
* Updating configuration documentation to latest standard.
* Fixing documentation tests.
* adds basic functionality to send file to stdin
* updates usage docs to reflect stdin and adds new vim editor configs
* Adds better handling with stdin. Safer checks
* removes output over stdout for vhdl file since that's out of scope
* shortens cmd line args line to pass that check on codeclimate
* removes trailing white space
* changes is to == to prevent warning
* updates vim rst to have the null ls config ignore stderr
When editing a file sometimes things can cause VSG to fail and print to
stderr. If this happens, without ignoring stderr it will create an error
message in nvim, which was obnoxious
* Issue#929: Fixing issue with moving label and the postponed keyword.
* Refactoring per code climate.
* Removing unused parameter.
* Adding rule process_039 to enforce postponed on same line as process.