Commit Graph

24 Commits

Author SHA1 Message Date
Felix Fontein
dbc7b0ec18
Cleanup with ruff check (#1182)
* Implement improvements suggested by ruff check.

* Add ruff check to CI.
2025-10-28 06:58:15 +01:00
Felix Fontein
95bdce75e6
Add ansible-lint to CI (#1181)
* Improve Ansible code.

* Add some ansible-lint ignores.

* Add ansible-lint to CI.
2025-10-25 11:07:40 +02:00
Felix Fontein
3350283bcc
Add typing information, 1/2 (#1176)
* Re-enable typing and improve config.

* Make mypy pass.

* Improve settings.

* First batch of types.

* Add more type hints.

* Fixes.

* Format.

* Fix split_port() without returning to previous type chaos.

* Continue with type hints (and ignores).
2025-10-23 07:05:42 +02:00
Felix Fontein
04fa3fe352
Ansible-core devel's version was bumped to 2.21.0.dev0, add stable-2.20 to CI (#1168)
* Ansible-core devel's version was bumped to 2.21.0.dev0.

* Add stable-2.20 to CI.
2025-10-15 11:39:45 +00:00
Felix Fontein
16b5bfa27b Disable type checking for now. 2025-10-12 22:32:40 +02:00
Felix Fontein
0acb773127 Install more deps for type checking. 2025-10-07 19:40:32 +02:00
Felix Fontein
acf18f0ade
Add more CI checks (#1150)
* Enable mypy.

* Add flake8.

* Add pylint with a long list of ignores to be removed.
2025-10-07 19:37:16 +02:00
Felix Fontein
d0f4ef57a4 Forgot to adjust antsibull-nox config. 2025-10-07 07:49:49 +02:00
Felix Fontein
bb39e67c8f Make CI pass; add black and isort to CI; add reformat commit to .git-blame-ignore-revs. 2025-10-06 18:57:33 +02:00
Felix Fontein
1f2817fa20
Prepare 5.0.0 (#1123)
* Bump version to 5.0.0-a1.

* Drop support for ansible-core 2.15 and 2.16.

* Remove Python 2 and early Python 3 compatibility.
2025-10-05 20:22:50 +02:00
Felix Fontein
82b3184605
Another try to add RHEL 10 to CI. (#1136) 2025-10-03 21:16:18 +02:00
Felix Fontein
a3093604fa
Put all integration test sessions into the nox config. (#1133)
This includes ones for ansible-core versions that only run with AZP,
and includes remote sessions that won't work with GHA but require AZP
also for older ansible-core versions.
2025-09-29 20:49:06 +02:00
Felix Fontein
c9c420c036
CI: Move ansible-core 2.16 from AZP to GHA (#1132)
* Move ansible-core 2.16 to EOL CI.

* Remove no longer relevant EOL CI badge.

* CentOS 7 does not work in GHA.
2025-09-27 12:27:44 +02:00
Felix Fontein
1e038c072f
CI: replace felixfontein/ansible-test-gh-action@main with antsibull-nox. (#1131) 2025-09-27 11:35:25 +02:00
Felix Fontein
ad7397a332 Add repository configuration to antsibull-nox.toml. 2025-09-26 06:58:05 +02:00
Felix Fontein
920015706b
Ansible-core devel EE: use Python 3.12. (#1107) 2025-07-31 21:48:10 +02:00
Felix Fontein
8365810b52
Move EE tests to antsibull-nox (#1100)
* Move EE tests to antsibull-nox.

* Make EE tests work.
2025-07-25 21:23:06 +02:00
Felix Fontein
8b55159279 Skip tabs. 2025-07-06 18:08:11 +02:00
Felix Fontein
c1df4bc8da Add linting check for RST code blocks. Fix code block languages. 2025-06-18 21:49:42 +02:00
Felix Fontein
2108c3dc71 Forgot community.general. 2025-06-08 20:25:00 +02:00
Felix Fontein
72d827a9e2 Enable no-trailing-whitespace test. 2025-06-04 15:18:19 +02:00
Felix Fontein
5a992bb34d
Use community.crypto 2.x.y for ansible-core < 2.17. (#1078) 2025-05-06 21:43:59 +02:00
Felix Fontein
795e6b23dc Add yamllint to antsibull-nox and add config files. 2025-04-26 12:39:00 +02:00
Felix Fontein
e20118b68f
Run extra sanity tests with nox. (#1068) 2025-04-19 17:54:12 +02:00