10 Commits

Author SHA1 Message Date
Zuul
0d08e3dc72 Merge "Bump codespell pin to <3" 2024-08-23 16:59:37 +00:00
Michal Nasiadka
2a2cb92b5a Bump codespell pin to <3
Adapt files to match new requirements, add assertIn to whitelist

Change-Id: I516bbbb3a0f194e8fa08d04c0290b586963b8b55
2024-08-08 11:37:16 +00:00
Sven Kieske
f8b81d8e71 CI: fix lint requirements for python 3.12
see: https://github.com/PyCQA/flake8/issues/1845#issuecomment-1766073353
pycodestyle >= 2.11 requires newer `hacking` version as well

Signed-off-by: Sven Kieske <kieske@osism.tech>
Change-Id: I7be701d8673dea8345a5fe7a95ad69633f1b7648
2024-08-05 14:39:51 +00:00
Michal Nasiadka
84f2cb34a0 CI: Pin codespell to <2.3.0
Change-Id: Ief1598a017b7ff491c9fcb775fdb155628bc55d2
2024-05-24 09:37:19 +02:00
Michal Nasiadka
b04486df07 Bump ansible-core versions to 2.15 and 2.16
Change-Id: Iab40eb92c7e4a9092471bef9d4477a4fa34f1c85
2024-03-14 06:13:38 +00:00
Michal Arbet
47ddac4131 Bump ansible-lint version
The version that we were capping to is no longer compatible with latest
upper-constraints.txt, so let us free float again.

The resulting linting errors are included for now to unblock the gate,
these will still need to be discussed or fixed later.

NOTE(kevko): Temporarily disabling horizon deployment, as it's not
possible to unblock gates without it

Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Change-Id: Ib7f72b2663199ef80844a412bc436c6ef09322cc
2024-01-22 22:49:46 +01:00
Michal Nasiadka
6e76ed2e40 CI: bump ansible version in linter
Change-Id: I2326225ddde2216cc94a0486366d5ef4782384d7
2023-08-11 09:36:57 +00:00
Michal Nasiadka
59002ded86 CI: Pin ansible-lint to <6.13.0
Change-Id: I13ee17a96033da75cbb377bce483f027127d646d
2023-02-16 15:34:24 +00:00
Dr. Jens Harbott
dbce56b371 Bump ansible-lint version to 6.*
Add fqcn-builtins to the skip list for now, we will watch how the
discussion about this evolves and defer updating all code according to
that [0].

[0] https://github.com/ansible/ansible-lint/issues/2050

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I6dcdec4f029b87bad41530ad45d285909c8351f7
2022-04-12 08:56:25 +02:00
Dr. Jens Harbott
4cfaadec59 Move lint requirements to dedicated file
These are not needed for unit tests and we want to avoid conflicts when
running with older python versions that we still test against.

We intentionally duplicate ansible and reno as requirements in order to
avoid having to install more items than necessary.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I0ec83c3e4ae38f911b922a3bade65429d91169eb
2022-04-12 08:45:16 +02:00