Hammurabi

Latest version: v0.11.1

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

Scan your dependencies

Page 4 of 4

0.3.0

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

Added
~~~~~

* Add Yaml file support (https://github.com/gabor-boros/hammurabi/pull/24)

Changed
~~~~~~~

* Make sure ``SectionExists`` adds the section even if no target given (https://github.com/gabor-boros/hammurabi/pull/21)
* Apply PEP-561 (https://github.com/gabor-boros/hammurabi/pull/19)

Fixed
~~~~~

* Fixed an ini section rename issue (https://github.com/gabor-boros/hammurabi/pull/24)

Removed
~~~~~~~

* Updated CONTRIBUTING.rst to remove the outdated stub generation

0.2.0

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

Added
~~~~~

* Render files from Jinja2 templates (``TemplateRendered`` rule)
* Add new ``Precondition`` base class (https://github.com/gabor-boros/hammurabi/pull/9)
* Add Code of Conduct to meet community requirements (https://github.com/gabor-boros/hammurabi/pull/10)
* New section in the documentations for ``Rules`` and ``Preconditions`` (https://github.com/gabor-boros/hammurabi/pull/11)
* Collect failed rules for every law (``Law.failed_rules``) (https://github.com/gabor-boros/hammurabi/pull/13)
* Add chained rules to PR body (https://github.com/gabor-boros/hammurabi/pull/13)
* Add failed rules to PR body (https://github.com/gabor-boros/hammurabi/pull/13)
* Throw a warning when no GitHub client is initialized (https://github.com/gabor-boros/hammurabi/pull/13)
* Raise runtime error when no GitHub client is initialized, but PR creation called (https://github.com/gabor-boros/hammurabi/pull/13)
* Guess owner/repository based on the origin url of the working directory (https://github.com/gabor-boros/hammurabi/pull/13)

Changed
~~~~~~~

* Add stub formatting to Makefile's `stubs` command
* Extract common methods of ``Precondition`` and ``Rule`` to a new ``AbstractRule`` class (https://github.com/gabor-boros/hammurabi/pull/9)
* Extended CONTRIBUTING guidelines to include a notice for adding ``Rules`` and ``Preconditions`` (https://github.com/gabor-boros/hammurabi/pull/11)
* Refactor package structure and extract preconditions to separate submodule (https://github.com/gabor-boros/hammurabi/pull/11)
* Pull request body generation moved to the common ``GitMixin`` class (https://github.com/gabor-boros/hammurabi/pull/13)
* Pillar will always create lock file in the working directory (https://github.com/gabor-boros/hammurabi/pull/13)
* Call expandvar and expanduser of configuration files (https://github.com/gabor-boros/hammurabi/pull/13)
* Hammurabi only works in the current working directory (https://github.com/gabor-boros/hammurabi/pull/13)
* Read settings (pyproject.toml) path from ``HAMMURABI_SETTINGS_PATH`` environment variable (https://github.com/gabor-boros/hammurabi/pull/13)
* Fix version handling in docs

Fixed
~~~~~

* Remove faulty author of git committing (https://github.com/gabor-boros/hammurabi/pull/13)
* Only attempt to create a PR if there is no PR from Hammurabi (https://github.com/gabor-boros/hammurabi/pull/13)
* Fix double committing issue (https://github.com/gabor-boros/hammurabi/pull/13)
* Fix committing of laws when nothing changed (https://github.com/gabor-boros/hammurabi/pull/13)
* Fixed several CLI arguments related issues (https://github.com/gabor-boros/hammurabi/pull/13)
* Fixed a typo in the Bug issue template of GitHub (https://github.com/gabor-boros/hammurabi/pull/13)

Removed
~~~~~~~

* Removed target directory setting from config and CLI (https://github.com/gabor-boros/hammurabi/pull/13)

0.1.2

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

Changed
~~~~~~~

* Extended Makefile to generate stubs
* Extend documentation how to generate and update stubs
* Update how to release section of CONTRIBUTING.rst

0.1.1

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

Changed
~~~~~~~

* Moved unreleased section of CHANGELOG to the top
* Updated changelog entries to contain links for release versions
* Updated CONTRIBUTING document to mention changelog links
* Refactored configuration handling (https://github.com/gabor-boros/hammurabi/pull/5)

Fixed
~~~~~

* Fixed wrong custom rule example in the README
* Smaller issues around git committing and pushing (https://github.com/gabor-boros/hammurabi/pull/5)

0.1.0

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

Added
~~~~~

* Basic file manipulations
* Create file
* Create files
* Remove file
* Remove files
* Empty file

* Basic directory manipulations
* Create directory
* Remove directory
* Empty directory

* Basic file and directory operations
* Change owner
* Change mode
* Move file or directory
* Copy file or directory
* Rename file or directory

* Plain text/general file manipulations
* Add line
* Remove line
* Replace line

* INI file specific manipulations
* Add section
* Remove section
* Rename section
* Add option
* Remove option
* Rename option

* Miscellaneous
* Initial documentation
* CI/CD integration

.. EXAMPLE CHANGELOG ENTRY

0.1.0_ - 2020-01-xx
--------------------

Added
~~~~~

* TODO.

Changed
~~~~~~~

* TODO.

Fixed
~~~~~

* TODO.

Removed
~~~~~~~

* TODO

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.