Commit Graph

55 Commits

Author SHA1 Message Date
Alon Bar-Lev c22a86025f style: apply black
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
Alon Bar-Lev 451af45ded build: PEP 517 build with tox
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2024-03-24 21:16:34 +02:00
Jeremiah Leary 3b59668633 Preparing for release 3.22.0 2024-03-04 07:55:55 -06:00
Jeremiah Leary 14672c0aeb Preparing for relesae 3.21.0 2024-01-28 11:50:19 -06:00
Jeremiah Leary 22beaa35a0 Preparing for release 3.20.0 2023-12-21 08:46:09 -06:00
Jeremiah Leary c3e408e996 Preparing for release 3.19.0 2023-12-12 10:18:39 -06:00
Jeremiah Leary 545ab56995 Preparing for release 3.18.0 2023-11-05 08:33:52 -06:00
Alon Bar-Lev aeeeed6c27
alonbl patch series (#1017)
* 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>
2023-11-05 07:24:50 -06:00
Jeremiah Leary 2a6f1d0fd3 Preparing for release 3.17.0 2023-08-27 10:26:09 -05:00
Jeremiah Leary 00518a46c8 Preparing for release 3.16.0 2023-07-23 19:31:51 -05:00
Jeremiah Leary 958754c862 Preparing for release 3.15.0 2023-04-23 07:32:45 -05:00
Jeremiah Leary 715d8f4330 Preparing for release 3.14.0 2022-12-13 18:50:26 -06:00
Jeremiah Leary 7ea23f0fd2 Preparing for relesae 3.13.1 2022-11-07 06:12:17 -06:00
Jeremiah Leary 8d29a56f7c Preparing for release 3.13.0. 2022-10-23 07:05:28 -05:00
Jeremiah Leary 5b375e7403 Preparing for release 3.12.2 2022-09-22 20:19:19 -05:00
Jeremiah Leary a2f23bd638 Preparing for release 3.12.1 2022-09-14 08:09:30 -05:00
Jeremiah Leary 7ef660f8c8 Preparing for release 3.12.0 2022-08-14 08:25:37 -05:00
Jeremiah Leary bc85de813c
Updates for issue #791 (#799)
* Updates for issue #791

Adding rule procedure_call_401

  1)  Added documentation
  2)  Added test
  3)  Added rule

* Adding documentation for rule procedure_call_003.

* Fixing element name in configuration.

* Initial tests for rule procedure_call_003.

* Changing options.

* Fixing option table.

* Adding rule procedure_call_003

  1)  Added base rule multiline_procedure_call_structure
  2)  Added tests
  3)  Added rule

Fixed bug in vhdlFile.utils.find_previous_non_whitespace_token

* Removing unused functions.

* Moving identical code to common module.

* Minor formatting updates.

* Moving identical functions to fix.py

* Moving indentical functions to other modules.

* Moving indentical functions to a single module.

* Removing unused functions.

* Removing unused variables.

* Refactoring whitecase adjustment.

* Adjusting rule procedure_call_400 to include the open parenthesis.

* Removing unused imports and variables.
2022-07-29 06:48:07 -05:00
Jeremiah Leary ec228bb5d9
Fixing reporting of version when installed from git working copy. (#783)
* Fixing reporting of version when installed from git working copy.

Once VSG was installed from a git repo, the version would not update due to the version_info.py file being present.
Code was updated to handle this case,

* Removing trailing whitespace.

* Removing unused import.
2022-05-16 20:25:56 -05:00
Jeremiah Leary 30a4543cd9 Preparing for release 3.11.0 2022-05-08 09:28:04 -05:00
Jeremiah Leary c4b05f8020 Preparing for release 3.10.0 2022-04-10 20:56:33 -05:00
Jeremiah Leary cdbdf60da1 Preparing for release 3.9.0 2022-02-20 09:14:06 -06:00
Jeremiah Leary 9d010dc958 Preparing for release 3.8.0 2022-02-13 08:54:23 -06:00
Jeremiah Leary 7cb13d88e3 Preparing for release 3.7.0 2022-02-05 06:36:59 -06:00
Jeremiah Leary 9e3799a75e Preparing for release 3.6.0 2022-01-23 07:56:27 -06:00
Jeremiah Leary 165751a14a Preparing for release 3.5.0 2022-01-01 19:04:00 -06:00
Jeremiah Leary 3ac8bb445a Preparing for release 3.4.0 2021-12-18 08:57:02 -06:00
Jeremiah Leary 07def6d531 Praparing for release 3.3.0 2021-10-15 17:20:47 -05:00
Jeremiah Leary 0647ff1a77 Preparing for release 3.2.2 2021-06-09 14:36:16 -05:00
Jeremiah Leary 28209b9be7 Preparing for release 3.2.0 2021-05-13 07:53:51 -05:00
Jeremiah Leary df1a098ff3 Preparing for release 3.1.0 2021-04-25 11:21:43 -05:00
Jeremiah Leary d4365ea98c Preparing for 3.0.0 release. 2021-03-20 10:20:10 -05:00
Jeremiah Leary bea2539f3c Fixing reporting of version. 2021-03-20 09:56:54 -05:00
Jeremiah Leary 4da8d3a953 Preparing for release 3.0.0 2021-03-20 09:45:40 -05:00
Jeremiah Leary a97d9f092f Updates for Codacy issues:
1)  Removing trailing whitespace
  2)  Removing unused code
2021-03-10 08:23:50 -06:00
Jeremiah Leary f4afb2b878 Updates for issue #486:
Fixing issue with zip file installations under a git repo were reporting the git repo sha number.
2021-02-10 19:18:43 -06:00
Jeremiah Leary 48d73dd51e Updates for issue #486:
Changing format of version when installing.

  1)  zip files with have the format:  3.0.0+zip.file
  2)  python setup.py install:  3.0.0.dev346
  3)  pip install: 3.0.0
2021-02-09 20:44:21 -06:00
Jeremiah Leary f3d9fc7988 Updates for issue #486:
Fixing issue if git is not installed, the current working directory was not being reset.
2021-02-09 07:37:12 -06:00
Jeremiah Leary 9a712dacec Updates for issue #486:
Reformatting version to be PEP 440 compliant.
2021-02-08 21:00:38 -06:00
Jeremiah Leary 6b134f56fb Updates for issue 486:
Updating version so it does not error out if git does not exist.
2021-02-08 19:52:52 -06:00
Jeremiah Leary 7a4fd205e3 Updates for issue #486:
Fixing version reporting with Git SHA.

  1)  Updating functions to version.py
      a)  get_git_sha
      b)  get_git_branch
  2)  Updated setup.py
      a)  Uses/generates file vsg/version_info.py depending on if it exists

NOTES:

version.py attempts to pull the latest version information from vsg/version_info.py.
If it exists it will use the version and sha in the file.
If it does not exist, version.py will pull the git sha from the local git repo.

When installing using setup.py, if the vsg/version_info.py exists then the version and sha in the file will be used.
If the file does not exist, then setup.py will pull the branch and sha from the git repo and build a unique version.
2021-02-07 20:11:37 -06:00
Jeremiah Leary 8efd5a5098 Attempting to fix docs not building. 2020-12-05 17:37:52 -06:00
Jeremiah Leary 2579a5a0e7 Updates for issue #486 and #461:
When requesting version using master, it would report the previous released version.
It would also report the SHA of the GIT repository it was currently executing in.

Both of these issues make it unclear which version of VSG you are using.

This update provides

  1)  Defaulting version to 'master'
  2)  Defaulting SHA to NA

The goal will be to hardcode the version and SHA when releasing to PYPI.
2020-12-05 11:01:12 -06:00
Jeremiah Leary fb2a22eb4c Updates for issue #365:
Adding commit SHA output to version option.
The SHA will only be reported if the git repo has been cloned.
When installed via PIP, the SHA will not be reported.
2020-08-03 19:26:28 -05:00
Jeremiah Leary f941406737 Preparing for release 2.0.0 2020-07-18 15:07:18 -05:00
Jeremiah C Leary 865af46e75 Preparing for release 1.2.0 2020-01-02 14:30:03 -06:00
Jeremiah C Leary e38a13c1f2 Preparing for release 1.1.0 2019-12-05 11:07:56 -06:00
Jeremiah C Leary 5f94df506f Preparing for Release 1.0.
This will transition VSG from python 2 to python 3.
2019-11-25 20:40:49 -06:00
Jeremiah C Leary 1cb37b1661 Updated version for release 0.44 2019-11-24 06:57:03 -06:00