Skip to content

v0.25.0

Compare
Choose a tag to compare
@actions-helper actions-helper released this 31 Jan 20:40
· 91 commits to main since this release

v0.25.0 (2024-01-31)

Chore

  • chore: pip: Bump black from 23.9.1 to 24.1.1 (#406)

Bumps black from 23.9.1 to 24.1.1.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Durkota <[email protected]> (6049985)

  • chore: pip: Bump pytest from 7.4.2 to 8.0.0 (#408)

Bumps pytest from 7.4.2 to
8.0.0.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (c159daf)

  • chore: github-actions: Bump python-semantic-release/python-semantic-release from 8.1.1 to 8.7.2 (#352)

Bumps
python-semantic-release/python-semantic-release
from 8.1.1 to 8.7.2.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7fbc181)

  • chore: pip: Bump pygments from 2.16.1 to 2.17.2 (#409)

Bumps pygments from 2.16.1 to
2.17.2.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5422fa1)

  • chore: pip: Bump pre-commit from 3.4.0 to 3.6.0 (#341)

Bumps pre-commit from 3.4.0
to 3.6.0.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8ba1917)

  • chore: pip: Bump identify from 2.5.29 to 2.5.33 (#340)

Bumps identify from 2.5.29 to
2.5.33.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (994983d)

Feature

  • feat: add logic to handle overwriting existing pre-commit hooks (#410)

secureli-372

closes #372

Handles overwriting existing pre-commit install in the user's repo on
new install

Changes

  • Adds logic to check if pre-commit hook exists and if so, creates a
    backup of the current file and overwrites it with SeCureLI's pre-commit
    content
  • Print a warning to the user to let them know that the file is being
    overwritten and that a backup is created

Testing

Initialize SeCureLI on a git repo with an existing pre-commit file
<img width="677" alt="Screenshot 2024-01-30 at 2 01 42 PM"
src="https://github.com/slalombuild/secureli/assets/58826693/11240502-db9b-4b29-a3aa-87b400518638&#34;>

Clean Code Checklist

<!-- This is here to support you. Some/most checkboxes may not apply to
your change -->

  • Meets acceptance criteria for issue
  • New logic is covered with automated tests
  • Appropriate exception handling added
  • Thoughtful logging included
  • Documentation is updated
  • Follow-up work is documented in TODOs
  • TODOs have a ticket associated with them
  • No commented-out code included

<!--
Github-flavored markdown reference:
https://docs.github.com/en/get-started/writing-on-github
-->


Co-authored-by: Tyler D <[email protected]> (7741740)