Punch.py

Latest version: v2.0.0

Safety actively analyzes 621751 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.0.0

------------------

* **DEPRECATION** Punch doesn't support `GLOBAL` variables in the `FILES` variable anymore. The values given to fields in the `FILES` section are now simple strings and are not processed through Jinja2 anymore.
* Initial drop of Python 2.x: the CI process doesn't test Python2.x anymore.
* Complete review of documentation: the docs have been split in multiple files to make it easier to find information and to understand the program.
* Initial implementation of automatic documentation from tests. Integration tests can now be parsed to extract examples for the documentation. [See documentation: `Examples from tests`]
* Named serializers: serializers now can be given a name through a dictionary syntax. With this change it becomes possible to select the serializer to use for the VCS. [See documentation: `Configuration > GLOBALS`]
* Complex serializers: standard serializers use the same pattern both for the search and for the replace actions. With complex serializers you can define two different patterns, one for each action. [See documentation: `Advanced configuration > Complex serializers`]
* The configuration of each file managed by Punch can override the global serializers or add new ones. [See documentation: `Configuration > FILES`]
* Release notes: Punch can be configured to check if a pattern based on the new version is present in the managed files. This makes it simple to check if HISTORY files have been updated without requiring to interrupt the execution of the program and later restore it. [See documentation: `Advanced configuration > Release notes`]

1.6.2

------------------

* Updating the HISTORY file and considering that it is high time I come up with a solution
for files that require manual intervention when updating the version.

1.6.1

------------------

* Merged PR38: Fixes the behaviour of the standard annotation message

1.6.0

------------------

* Merged PR 37: Adds a --quiet option to suppress all warnings
* Added VCS information to --simulate
* Tests updated to use latest pytest features and to remove deprecated features
* Fixed the requirements setup (development.txt now inherits testing.txt)
* Internal structure improvements to ease the development of new features like enhanced actions

1.5.0

------------------

* Fixed issue 31: Punch doesn't add files to commits + make file additions configurable
* Fixed part of issue 34: [git VCS] Additional branch options (by joshua-s)
* Added 'include_files' and 'include_all_files' flags (issue 31)
* Added 'target_branch' flag (issue 34)

1.4.5

------------------

* Using version.to_file in CLI (PR33 by gthank)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.