Commit graph

31 commits

Author SHA1 Message Date
renovate[bot]
f64d542ade
deps: update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 (#352)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/pre-commit-hooks](https://togithub.com/pre-commit/pre-commit-hooks)
| repository | minor | `v4.4.0` -> `v4.5.0` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/pre-commit-hooks
(pre-commit/pre-commit-hooks)</summary>

###
[`v4.5.0`](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)

[Compare
Source](https://togithub.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-09 11:48:46 +02:00
Jonas L
9eab32cf3d
chore: pre-commit improvements (#348)
##### SUMMARY

- Speed up pre-commit by moving some tasks out of pre-commit
- Move network related hooks out of pre-commit (allow enabling
pre-commit.ci)
- Some optimization
- Use pre-commit.ci
2023-10-06 16:02:46 +02:00
renovate[bot]
dc6583157d
deps: update pre-commit hook ansible/ansible-lint to v6.20.3 (#342)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint) |
repository | patch | `v6.20.0` -> `v6.20.3` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>

###
[`v6.20.3`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.3)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.20.2...v6.20.3)

##### Bugfixes

- Fix wget command arguments in github action
([#&#8203;3806](https://togithub.com/ansible/ansible-lint/issues/3806))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update some platform versions in meta.json
([#&#8203;3800](https://togithub.com/ansible/ansible-lint/issues/3800))
[@&#8203;masoud-maghsoudi](https://togithub.com/masoud-maghsoudi)

###
[`v6.20.2`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.2)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.20.1...v6.20.2)

##### Bugfixes

- Do not use github action path for running ansible lint
([#&#8203;3798](https://togithub.com/ansible/ansible-lint/issues/3798))
[@&#8203;ReenigneArcher](https://togithub.com/ReenigneArcher)
- Correct listing of autofix rules in documentation
([#&#8203;3797](https://togithub.com/ansible/ansible-lint/issues/3797))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Make the autofix rule list dynamic in documentation
([#&#8203;3785](https://togithub.com/ansible/ansible-lint/issues/3785))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Fix documentation links to autofix page
([#&#8203;3796](https://togithub.com/ansible/ansible-lint/issues/3796))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Bump test dependencies
([#&#8203;3795](https://togithub.com/ansible/ansible-lint/issues/3795))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Correct documentation regarding CLI argument precedence
([#&#8203;3792](https://togithub.com/ansible/ansible-lint/issues/3792))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document autofix ability for rules that supports it
([#&#8203;3791](https://togithub.com/ansible/ansible-lint/issues/3791))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Accept underline prefix when checking var-naming
([#&#8203;3789](https://togithub.com/ansible/ansible-lint/issues/3789))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Correct regression with use of --fix
([#&#8203;3783](https://togithub.com/ansible/ansible-lint/issues/3783))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

###
[`v6.20.1`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.1)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.20.0...v6.20.1)

##### Bugfixes

- Fix detection of play roles vars missing prefix
([#&#8203;3765](https://togithub.com/ansible/ansible-lint/issues/3765))
[@&#8203;cavcrosby](https://togithub.com/cavcrosby)
- Prune reported errors after autofix
([#&#8203;3774](https://togithub.com/ansible/ansible-lint/issues/3774))
[@&#8203;cidrblock](https://togithub.com/cidrblock)
- `--fix` will now default to `all`
([#&#8203;3777](https://togithub.com/ansible/ansible-lint/issues/3777))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Avoid false error caused by TypeError with jinja rule
([#&#8203;3773](https://togithub.com/ansible/ansible-lint/issues/3773))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Sanity Rule Ignore Additions and Updates
([#&#8203;3766](https://togithub.com/ansible/ansible-lint/issues/3766))
[@&#8203;alisonlhart](https://togithub.com/alisonlhart)
- Update rulebook schema (name is now required)
([#&#8203;3776](https://togithub.com/ansible/ansible-lint/issues/3776))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Expose rules that have autofix capability in docs
([#&#8203;3770](https://togithub.com/ansible/ansible-lint/issues/3770))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- List all the fixable rules in CLI via `--list-rules`
([#&#8203;3737](https://togithub.com/ansible/ansible-lint/issues/3737))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Include level in SARIF results
([#&#8203;3758](https://togithub.com/ansible/ansible-lint/issues/3758))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Meta runtime supported version update
([#&#8203;3755](https://togithub.com/ansible/ansible-lint/issues/3755))
[@&#8203;alisonlhart](https://togithub.com/alisonlhart)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 10:49:41 +02:00
renovate[bot]
9c4aa3e999
deps: update pre-commit hook asottile/pyupgrade to v3.14.0 (#343)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade) |
repository | minor | `v3.13.0` -> `v3.14.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>

###
[`v3.14.0`](https://togithub.com/asottile/pyupgrade/compare/v3.13.0...v3.14.0)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.13.0...v3.14.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 10:33:58 +02:00
renovate[bot]
576721987e
deps: update pre-commit hook ansible/ansible-lint to v6.20.0 (#330)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint) |
repository | minor | `v6.19.0` -> `v6.20.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>

###
[`v6.20.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.20.0)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.19.0...v6.20.0)

#### Minor Changes

- Respect cgroup CPU limits when running inside containers
([#&#8203;3749](https://togithub.com/ansible/ansible-lint/issues/3749))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Rename --write option to --fix
([#&#8203;3748](https://togithub.com/ansible/ansible-lint/issues/3748))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add auto-fixing implementation for `no-free-form` rule
([#&#8203;3725](https://togithub.com/ansible/ansible-lint/issues/3725))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for `partial-become` rule
([#&#8203;3692](https://togithub.com/ansible/ansible-lint/issues/3692))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Add auto-fixing implementation for `no-jinja-when` rule
([#&#8203;3721](https://togithub.com/ansible/ansible-lint/issues/3721))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)

#### Bugfixes

- Fix the detection of role vars missing role prefix
([#&#8203;3750](https://togithub.com/ansible/ansible-lint/issues/3750))
[@&#8203;cavcrosby](https://togithub.com/cavcrosby)
- Clarify auto-fix arguments use
([#&#8203;3751](https://togithub.com/ansible/ansible-lint/issues/3751))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid IndexError exception with jinja transform
([#&#8203;3747](https://togithub.com/ansible/ansible-lint/issues/3747))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Fix docs typo
([#&#8203;3746](https://togithub.com/ansible/ansible-lint/issues/3746))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add /bin/bash executable to example correct code for pipefail rule
([#&#8203;3731](https://togithub.com/ansible/ansible-lint/issues/3731))
[@&#8203;Perdu](https://togithub.com/Perdu)
- Properly avoid `pipx` venv path to be included in altered path warning
([#&#8203;3730](https://togithub.com/ansible/ansible-lint/issues/3730))
[@&#8203;chrysle](https://togithub.com/chrysle)
- Fix transform exception with local_action with old syntax
([#&#8203;3743](https://togithub.com/ansible/ansible-lint/issues/3743))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Support only_upgrade
([#&#8203;3734](https://togithub.com/ansible/ansible-lint/issues/3734))
[@&#8203;soroshsabz](https://togithub.com/soroshsabz)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 12:49:25 +02:00
renovate[bot]
449aa11ac1
deps: update pre-commit hook asottile/pyupgrade to v3.13.0 (#331)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade) |
repository | minor | `v3.11.1` -> `v3.13.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>

###
[`v3.13.0`](https://togithub.com/asottile/pyupgrade/compare/v3.12.0...v3.13.0)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.12.0...v3.13.0)

###
[`v3.12.0`](https://togithub.com/asottile/pyupgrade/compare/v3.11.2...v3.12.0)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.11.2...v3.12.0)

###
[`v3.11.2`](https://togithub.com/asottile/pyupgrade/compare/v3.11.1...v3.11.2)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.11.1...v3.11.2)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 12:48:25 +02:00
renovate[bot]
73f0e3c708
deps: update pre-commit hook asottile/pyupgrade to v3.11.1 (#329)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade) |
repository | patch | `v3.11.0` -> `v3.11.1` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>

###
[`v3.11.1`](https://togithub.com/asottile/pyupgrade/compare/v3.11.0...v3.11.1)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.11.0...v3.11.1)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-20 18:12:12 +02:00
renovate[bot]
77eb7d80d4
deps: update pre-commit hook asottile/pyupgrade to v3.11.0 (#327)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [asottile/pyupgrade](https://togithub.com/asottile/pyupgrade) |
repository | minor | `v3.10.1` -> `v3.11.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>asottile/pyupgrade (asottile/pyupgrade)</summary>

###
[`v3.11.0`](https://togithub.com/asottile/pyupgrade/compare/v3.10.1...v3.11.0)

[Compare
Source](https://togithub.com/asottile/pyupgrade/compare/v3.10.1...v3.11.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 07:16:25 +02:00
renovate[bot]
2ab0ef6177
deps: update pre-commit hook psf/black to v23.9.1 (#323)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [psf/black](https://togithub.com/psf/black) | repository | minor |
`23.7.0` -> `23.9.1` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>psf/black (psf/black)</summary>

###
[`v23.9.1`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2391)

[Compare Source](https://togithub.com/psf/black/compare/23.9.0...23.9.1)

Due to various issues, the previous release (23.9.0) did not include
compiled mypyc
wheels, which make Black significantly faster. These issues have now
been fixed, and
this release should come with compiled wheels once again.

There will be no wheels for Python 3.12 due to a bug in mypyc. We will
provide 3.12
wheels in a future release as soon as the mypyc bug is fixed.

##### Packaging

- Upgrade to mypy 1.5.1
([#&#8203;3864](https://togithub.com/psf/black/issues/3864))

##### Performance

- Store raw tuples instead of NamedTuples in Black's cache, improving
performance and
decreasing the size of the cache
([#&#8203;3877](https://togithub.com/psf/black/issues/3877))

###
[`v23.9.0`](https://togithub.com/psf/black/blob/HEAD/CHANGES.md#2390)

[Compare Source](https://togithub.com/psf/black/compare/23.7.0...23.9.0)

##### Preview style

- More concise formatting for dummy implementations
([#&#8203;3796](https://togithub.com/psf/black/issues/3796))
- In stub files, add a blank line between a statement with a body (e.g
an
`if sys.version_info > (3, x):`) and a function definition on the same
level ([#&#8203;3862](https://togithub.com/psf/black/issues/3862))
- Fix a bug whereby spaces were removed from walrus operators within
subscript([#&#8203;3823](https://togithub.com/psf/black/issues/3823))

##### Configuration

- Black now applies exclusion and ignore logic before resolving symlinks
([#&#8203;3846](https://togithub.com/psf/black/issues/3846))

##### Performance

- Avoid importing `IPython` if notebook cells do not contain magics
([#&#8203;3782](https://togithub.com/psf/black/issues/3782))
- Improve caching by comparing file hashes as fallback for mtime and
size ([#&#8203;3821](https://togithub.com/psf/black/issues/3821))

##### *Blackd*

- Fix an issue in `blackd` with single character input
([#&#8203;3558](https://togithub.com/psf/black/issues/3558))

##### Integrations

-   Black now has an
[official pre-commit
mirror](https://togithub.com/psf/black-pre-commit-mirror). Swapping
`https://github.com/psf/black` to
`https://github.com/psf/black-pre-commit-mirror` in
your `.pre-commit-config.yaml` will make Black about 2x faster
([#&#8203;3828](https://togithub.com/psf/black/issues/3828))
- The `.black.env` folder specified by `ENV_PATH` will now be removed on
the completion
of the GitHub Action
([#&#8203;3759](https://togithub.com/psf/black/issues/3759))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 08:45:58 +02:00
renovate[bot]
a953b12c5c
deps: update pre-commit hook ansible/ansible-lint to v6.19.0 (#321)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint) |
repository | minor | `v6.18.0` -> `v6.19.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>

###
[`v6.19.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.19.0)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.18.0...v6.19.0)

#### Minor Changes

- Add auto transform for no-log-password rule
([#&#8203;3708](https://togithub.com/ansible/ansible-lint/issues/3708))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for key-order\[task] rule
([#&#8203;3705](https://togithub.com/ansible/ansible-lint/issues/3705))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add auto-fixing implementation for `jinja[spacing]` rule
([#&#8203;3691](https://togithub.com/ansible/ansible-lint/issues/3691))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Make schema validation messages more explicit
([#&#8203;3701](https://togithub.com/ansible/ansible-lint/issues/3701))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Transform for deprecated-local-action rule
([#&#8203;3689](https://togithub.com/ansible/ansible-lint/issues/3689))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)

#### Bugfixes

- Require ansible-compat>=4.1.10
([#&#8203;3723](https://togithub.com/ansible/ansible-lint/issues/3723))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Skip altered path warning for `ansible-lint` installed by `pipx`
([#&#8203;3720](https://togithub.com/ansible/ansible-lint/issues/3720))
[@&#8203;chrysle](https://togithub.com/chrysle)
- Update transform for `key-order` rule
([#&#8203;3719](https://togithub.com/ansible/ansible-lint/issues/3719))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Allow installation of pre-release collection version as dependencies
([#&#8203;3716](https://togithub.com/ansible/ansible-lint/issues/3716))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid deprecated-bare-vars false positive with file paths
([#&#8203;3709](https://togithub.com/ansible/ansible-lint/issues/3709))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Limit sequence-of-sequence indents to a single space
([#&#8203;3671](https://togithub.com/ansible/ansible-lint/issues/3671))
[@&#8203;Qalthos](https://togithub.com/Qalthos)
- Avoid no-handlers false positives
([#&#8203;3702](https://togithub.com/ansible/ansible-lint/issues/3702))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Add missing word to risky-shell-pipe docs
([#&#8203;3704](https://togithub.com/ansible/ansible-lint/issues/3704))
[@&#8203;roock](https://togithub.com/roock)
- Avoid yamllint truthy violations with github workflows
([#&#8203;3698](https://togithub.com/ansible/ansible-lint/issues/3698))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Avoid false positive with var-name rule on roles
([#&#8203;3697](https://togithub.com/ansible/ansible-lint/issues/3697))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Include links to documentation for schema validation errors
([#&#8203;3684](https://togithub.com/ansible/ansible-lint/issues/3684))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Schema update
([#&#8203;3693](https://togithub.com/ansible/ansible-lint/issues/3693))
[@&#8203;cidrblock](https://togithub.com/cidrblock)
- Use yaml.load_all for multiple yaml document
([#&#8203;3679](https://togithub.com/ansible/ansible-lint/issues/3679))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Ignore user configured value for any_unparsed_is_failed
([#&#8203;3680](https://togithub.com/ansible/ansible-lint/issues/3680))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Update rulebook schema
([#&#8203;3681](https://togithub.com/ansible/ansible-lint/issues/3681))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-07 09:42:14 +02:00
Julian Tölle
eb4114bad3
ci: setup release-please (#317)
##### SUMMARY

The current release process for this project requires multiple manual
local steps to prepare and then tag the release. This introduces the
standard release-please workflow we have in most of our integrations.

Release-please will open a new PR whenever there is a releasable change
and it updates the CHANGELOG & other files automatically in this PR.
Once the PR is merged a new tag is created.

This repository has some additional complexity as it uses
`antsibull-changelog` to maintain the user-facing changelog. This is
implemented ina second job in the `release-please` workflow which
executes when the release-please PR is updated and then runs
`antsibull-changelog release` against the version. The resulting changes
are pushed as a second commit to the same PR.
2023-09-05 14:49:05 +02:00
Jonas L
aeda12275c
chore: add antsibull-docs lint-collection pre-commit hook (#315)
##### SUMMARY

This check will run a linter against the documentation. I was already
able to fix a few errors.
2023-08-31 15:20:14 +02:00
renovate[bot]
82a72595a9
deps: update pre-commit hook pre-commit/mirrors-prettier to v3.0.3 (#314)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pre-commit/mirrors-prettier](https://togithub.com/pre-commit/mirrors-prettier)
| repository | patch | `v3.0.2` -> `v3.0.3` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>pre-commit/mirrors-prettier
(pre-commit/mirrors-prettier)</summary>

###
[`v3.0.3`](https://togithub.com/pre-commit/mirrors-prettier/compare/v3.0.2...v3.0.3)

[Compare
Source](https://togithub.com/pre-commit/mirrors-prettier/compare/v3.0.2...v3.0.3)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi42OC4xIiwidXBkYXRlZEluVmVyIjoiMzYuNjguMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-31 14:47:37 +02:00
renovate[bot]
aeedae6603
deps: update pre-commit hook ansible/ansible-lint to v6.18.0 (#307)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ansible/ansible-lint](https://togithub.com/ansible/ansible-lint) |
repository | minor | `v6.17.2` -> `v6.18.0` |

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://togithub.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>ansible/ansible-lint (ansible/ansible-lint)</summary>

###
[`v6.18.0`](https://togithub.com/ansible/ansible-lint/releases/tag/v6.18.0)

[Compare
Source](https://togithub.com/ansible/ansible-lint/compare/v6.17.2...v6.18.0)

#### Minor Changes

- Limit the maximum block depth
([#&#8203;3602](https://togithub.com/ansible/ansible-lint/issues/3602))
[@&#8203;Ruchip16](https://togithub.com/Ruchip16)
- Transform functionality for command_instead_of_shell
([#&#8203;3675](https://togithub.com/ansible/ansible-lint/issues/3675))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Add rule to check the number of tasks
([#&#8203;3156](https://togithub.com/ansible/ansible-lint/issues/3156))
[@&#8203;Ruchip16](https://togithub.com/Ruchip16)

#### Bugfixes

- Clarify loop-var-prefix rule and code snippet
([#&#8203;3642](https://togithub.com/ansible/ansible-lint/issues/3642))
[@&#8203;schwarmco](https://togithub.com/schwarmco)
- Update `version_added` for complexity rule
([#&#8203;3623](https://togithub.com/ansible/ansible-lint/issues/3623))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Ensure that single space between tasks is preserved when using --write
([#&#8203;3641](https://togithub.com/ansible/ansible-lint/issues/3641))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Update ansible-compat used for testing
([#&#8203;3664](https://togithub.com/ansible/ansible-lint/issues/3664))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- Document `yaml[line-length]` rule
([#&#8203;3653](https://togithub.com/ansible/ansible-lint/issues/3653))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Prevent use of spdx-tools 0.8.0 due to breaking changes
([#&#8203;3649](https://togithub.com/ansible/ansible-lint/issues/3649))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)
- fixes dead marketplace link
([#&#8203;3631](https://togithub.com/ansible/ansible-lint/issues/3631))
[@&#8203;wookietreiber](https://togithub.com/wookietreiber)
- Improve profile information on summary line
([#&#8203;3637](https://togithub.com/ansible/ansible-lint/issues/3637))
[@&#8203;ziegenberg](https://togithub.com/ziegenberg)
- command-instead-of-module: allow `git rev-parse`
([#&#8203;3610](https://togithub.com/ansible/ansible-lint/issues/3610))
[@&#8203;JohnVillalovos](https://togithub.com/JohnVillalovos)
- Include filepaths starting from $HOME in lintables
([#&#8203;3621](https://togithub.com/ansible/ansible-lint/issues/3621))
[@&#8203;shatakshiiii](https://togithub.com/shatakshiiii)
- Update \_mockings.py to fix bug created in
[#&#8203;3390](https://togithub.com/ansible/ansible-lint/issues/3390)
([#&#8203;3614](https://togithub.com/ansible/ansible-lint/issues/3614))
[@&#8203;karcaw](https://togithub.com/karcaw)
- Allow to set gather_facts as templated boolean
([#&#8203;3606](https://togithub.com/ansible/ansible-lint/issues/3606))
[@&#8203;noonedeadpunk](https://togithub.com/noonedeadpunk)
- Add dependency version check for collection metadata
([#&#8203;3601](https://togithub.com/ansible/ansible-lint/issues/3601))
[@&#8203;ajinkyau](https://togithub.com/ajinkyau)
- Fix installation of dependencies when run as an action
([#&#8203;3592](https://togithub.com/ansible/ansible-lint/issues/3592))
[@&#8203;ssbarnea](https://togithub.com/ssbarnea)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40My4yIiwidXBkYXRlZEluVmVyIjoiMzYuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-22 08:45:40 +02:00
renovate[bot]
0506fd76d1
deps: update pre-commit hook pre-commit/mirrors-prettier to v3.0.2 (#300)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-16 12:14:22 +02:00
renovate[bot]
8b5891dab6
deps: update pre-commit hook ansible-community/antsibull-changelog to v0.23.0 (#295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-11 15:38:50 +02:00
Jonas L
dd5ee78386
feat: replace ansible version with collection version in hcloud user agent (#291)
* feat: use collection version in hcloud user-agent

* chore: add version sync pre-commit hook

* chore: add changelog fragment
2023-08-09 11:34:12 +02:00
Jonas L
59fe4339d4
chore: add ansible-lint pre-commit hook (#293)
* chore: add ansible-lint pre-commit hook

* chore: galaxy.yml license field should be a list

* chore: fix ansible-lint errors
2023-08-09 11:32:23 +02:00
renovate[bot]
49156574b7
deps: update pre-commit hook pre-commit/mirrors-prettier to v3.0.1 (#283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-03 13:32:58 +02:00
Jonas L
78af149e90
chore: fix pre-commit config (#282)
The previous PR #277 merge somehow destroyed the config while rebasing and squashing.
2023-08-02 13:31:41 +02:00
Jonas L
1b83de57ef
chore: add shell pre-commit hooks (#277)
* chore: add shell pre-commit hooks

* chore: fix shell script linting errors
2023-08-02 12:04:20 +02:00
Jonas L
ca0f4cc61d
chore: use upstream antsibull-changelog pre-commit hooks (#278) 2023-07-31 10:13:07 +02:00
renovate[bot]
d867192b12
deps: update pre-commit hook asottile/pyupgrade to v3.10.1 (#281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-31 09:40:51 +02:00
Jonas L
c5e0d429c5
test: implement integration testing framework (#239)
Fixes #203

The namespace used to differentiate the resources between CI pipelines, CI stages or even between test targets was broken and resulted in conflicting resource names. This PR ensure the resources names don't collide with each other by making sure we use the entire hcloud_prefix value as md5sum, and by including the target role names inside the resource names.

Create a setup/teardown framework to handle testing resources used by the tests.

To simplify the review process, additional changes such as splitting the setup/teardown task in the prepare.yml and cleanup.yml files will be done in future PRs (many files were renamed, and git will not preserve the file history after the PR squash).

* chore: move integrations targets files

* test: create integration common files

* test: fix resources name namespace using the magic hcloud_ns

* test: simplify requirements install

* test: rename hcloud_server test taskfiles
2023-07-26 16:09:48 +02:00
Jonas L
73b955c091
feat: drop support for python3.7 (#270) 2023-07-19 14:28:21 +02:00
renovate[bot]
0fbab463d5
deps: update pre-commit hook pre-commit/mirrors-prettier to v3 (#264)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 11:50:42 +02:00
renovate[bot]
0e56cca1dc
deps: update pre-commit hook psf/black to v23.7.0 (#261)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:56:48 +02:00
renovate[bot]
96d656394d
deps: update pre-commit hook asottile/pyupgrade to v3.9.0 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:56:35 +02:00
Jonas L
8a6157e8b2
feat: vendor hcloud python dependency (#244)
* chore: ignore venv directories

* chore: ignore integration test generated inventory

* feat: vendor hcloud package

* import https://github.com/hetznercloud/hcloud-python

* use vendored hcloud in modules

* update integration test requirements

* make vendor script self contained

* chore: add  check-hcloud-vendor pre-commit hook

* pin hcloud version to v.1.24.0

* move vendored __version__.py file to _version.py

* update comment about galaxy-importer filename lint
2023-07-11 11:15:08 +02:00
Jonas L
09c521cb3c
chore: add antsibull-changelog lint pre-commit hook (#247)
* chore: add antsibull-changelog lint pre-commit hook

* ci: remove antsibull-changelog-lint workflow
2023-07-04 09:30:37 +02:00
Jonas L
dfff49e31f
chore: setup pre-commit (#234)
* chore: add pre-commit config

* chore: fix pre-commit errors

* chore: add black pre-commit hook

* style: format python files with black

* chore: add isort pre-commit hook

* style: format python files using isort

* chore: add pyupgrade pre-commit hook

* refactor: upgrade code to python3.7

* Allow stacking PRs

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>

---------

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2023-06-27 11:50:13 +02:00