Commit Graph

29 Commits

Author SHA1 Message Date
Ryan Fitzsimon 2bd8858e21 Move main logic into module
Create a __main__ module and move the main() function into it.

Replace launch script with a wrapper that sets the python path, then
calls vsg.__main__.main().
2018-08-31 11:24:22 +10:00
Ryan Fitzsimon 84161db59f Use /bin/usr/env in shebang to find python 2018-08-30 20:57:00 +10:00
Jeremiah C Leary a19100a342 Updates for issue #159:
1)  Added shortened versions of most command line options.
2018-08-28 06:00:38 -05:00
Jeremiah C Leary f89b7e9391 Updates for issue #153:
1)  Added backup command line option
2018-07-30 22:07:22 -05:00
Jeremiah C Leary edcea7f577 Updates for issue #151:
1)  Added new command line parameter to support multiple outputs
      a)  vsg
      b)  syntastic
  2)  Updated documentation
  3)  Updated tests
2018-06-28 21:56:40 -05:00
Jeremiah C Leary 69e569c992 Updates for issue #149:
1) Added command line option --fix_phase which will apply fixes up to and including that phase.
     Analysis will then be ran on all remaining phases.
  2) Updated tests
2018-06-20 19:47:49 -05:00
Jeremiah C Leary 135df97296 Updates for issue #145:
1)  Added 'local_rules' parsing to configuration file
2018-05-19 08:26:30 -05:00
Jeremiah C Leary 6d823b5c2e Updates for issue #13:
1)  Added junit generation to bin/vsg
  2)  Minor updates to junit.py
  3)  Updated tests
  4)  Added extraction of junit testcase from rule list
2018-05-19 07:56:43 -05:00
Jeremiah C Leary 740d800957 Removing debug print statement. 2018-05-18 05:39:15 -05:00
Jeremiah C Leary c3eeef5110 Updates for issue #131:
1)  Added "file_list" parsing in configuration file
  2)  Added ability to expand environment variables
  3)  Updated documentation
2018-05-17 05:52:41 -05:00
Jeremiah C Leary 022ab27c77 Updates for #131:
1)  -f command line argument can now take multiple files
2018-05-17 05:06:12 -05:00
Jeremiah C Leary 9044941d92 Updating to use rule_list instead of list. 2017-12-24 06:59:43 -06:00
Jeremiah C Leary 76dc37edd1 Adding reference to read the docs documentation in the vsg script file. 2017-12-10 18:44:04 -06:00
Jeremiah C Leary bf92c91551 Updates for codestyle. 2017-12-08 19:48:15 -06:00
Jeremiah C Leary a6b0cace48 Updates for code coverage:
1)  Moved write method from vhdlfile.py to write_vhdl_file in vsg.
      This seems like a more logical place for the write function.
2017-12-02 16:53:46 -06:00
Jeremiah C Leary 3769a7ff61 Updates for issue #20:
1)  Added more fixes for indents.
2017-11-17 22:15:07 -06:00
Jeremiah C Leary 9d73d5dd47 Updates for issue #20:
1)  Adding fix option to vsg script
2017-11-17 20:43:05 -06:00
Jeremiah C Leary 7fc62c7746 Added ability to read JSON file and disable rules. 2017-11-09 20:24:09 -06:00
Jeremiah C Leary 7fd00cbd49 Updates for main vsg program:
1)  Added ability to load rules from local directory
2017-11-05 20:08:00 -06:00
Jeremiah C Leary 1e4573b71d Updates for distribution:
1)  Renamed application
  2)  Added application to setup.py
2017-10-07 09:07:58 -05:00
Jeremiah C Leary 7d892b4767 Fixed importing issues. 2017-10-07 07:13:01 -05:00
Jeremiah Leary a6ea0758a8 Restructered directory using:
http://python-packaging.readthedocs.io/en/latest/index.html

as a reference
2017-09-29 21:57:28 -05:00
Jeremiah Leary b2f4d955e5 Updates to main program:
1)  Violations are now reported as sequential lines
2017-09-24 21:46:02 -05:00
Jeremiah Leary d88481c884 Updates for rule loading refactoring:
1)  Added function to load base rules so as rules are added they do
  not need to be added to the rule_list class.  This will also support
  user local rules eventually.
  2)  Moved rules to their own directory
  3)  Updated tests to handle new location of rules
2017-09-22 09:58:50 -05:00
Jeremiah Leary 5507c3321c Updated program so it can executed from anywhere, instead of from bin. 2017-09-22 08:05:10 -05:00
Jeremiah Leary 543e3620c3 Updates for new method:
1)  Updated bug in architecture rules after running against examples
  2)  Updated rule list to handle split of entity rules into entity, port, and generic rules
  3)  Updated main program to handle new method
2017-09-10 22:09:24 -05:00
Jeremiah Leary 22692016d6 Updates to run on files:
1)  Added rule_list class to contain multiple rules
  2)  Rules no longer return a dictionary, they store the lines that
  failed in a list
  3)  Output was made to be similar to pep8

NOTE:  Tests were not updated, but will be on the next checkin.
2017-08-06 20:06:50 -05:00
Jeremiah Leary d7d8fa2106 Added filename argument and code to read the file given. 2017-08-06 18:45:25 -05:00
Jeremiah Leary 0d25af4316 Adding shell of main program. 2017-08-06 18:22:28 -05:00