Commit Graph

18 Commits

Author SHA1 Message Date
Jeremiah Leary 1430bcbd5d
Issue#976: Added prefix and suffix rules for function designators. (#987) 2023-08-07 18:34:01 -05:00
Jeremiah Leary 1f15511992
Issue#918: Adding rules for function and procedure optional keywords. (#939)
* Issue#918:  Adding rules for function and procedure optional keywords.

* Combining left and right base rules.

* Refactoring to improve readability.

* Fixing issue with keyword not being inserted.
2023-04-19 07:01:22 -05:00
imd 149e9d19b4 added rule 100 2021-06-20 14:44:49 +01:00
imd cb01baee12 added function_101 2021-06-20 08:56:21 +01:00
imd 121ff94492 added function_502/506 2021-06-18 18:13:39 +01:00
imd e6e0f00b2e added function_201/202/203/204 2021-06-18 17:45:35 +01:00
imd e134d91c3e new function_300 rule works 2021-06-02 12:22:05 +01:00
Jeremiah Leary cd64cdeae0 Updates for issue #474
Adding rule function_017 to handle the case of function designators.

  1)  Added documentation
  2)  Added test
  3)  Added rule function_017
2020-12-04 17:03:00 -06:00
Jeremiah Leary cccf9b7d7c Updates during jcl style validation.
1)  Added rule function_016 to handle return statements in functions
      a)  Updated documentation
      b)  Created tests
      c)  Added rule
  2)  Updated rules to match existing jcl style output
2020-11-14 17:07:48 -06:00
Jeremiah Leary 7a3fcf9883 Updates for issue #434:
Adding rules to align declaration identifiers:

  1)  Updated documentation
  2)  Removed the following rules
      file_003, constant_003, attribute_003, signal_003, subtype_003, type_003 and variable_003
  3)  Added new rules:
      architecture_029, function_015, package_019, procedure_010 and process_037
  4)  Added tests for new rules
  5)  Updated classifiers to support new rules
2020-06-30 11:36:01 -05:00
Michał Kruszewski a61f9ad504 Add rules for checking case of "end function". 2020-06-23 14:05:47 +02:00
Michał Kruszewski 2f08a64bda Refactor keyword alignment rules. 2020-02-24 21:14:44 +01:00
Jeremiah C Leary f2da8b4fe0 Updates for issue #224
Adding consistency case checks for function names.

  1)  Added documentation
  2)  Added tests
  3)  Added rule function_010
2019-03-31 09:10:41 -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 86ec8e697e Updates for issue #84
1) Added function_008 and function_009
  2) Added tests
  3) Added documentation
2017-12-25 12:45:01 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary 09d9de4473 Updates for issue #79
1)  Added function_006 to enforce a blank line above functions
  2)  Added function_007 to enforce a blank line below functions
2017-12-02 18:49:10 -06:00
Jeremiah C Leary 29ad012cfc Refactored function rules to aid in maintainability. 2017-11-26 10:34:58 -06:00