Skip to content

Commit 5a9e4ce

Browse files
authored
Merge branch 'main' into main
2 parents 9cec273 + 7520ffb commit 5a9e4ce

File tree

1,038 files changed

+63610
-59458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,038 files changed

+63610
-59458
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ d032de3b16eed11ea3a31cd3d96d78f7c46a2ee0
77
e8f965fbf8154ea177c6622da149f2ae8533bd3c
88
e938ca5f20651abc160ee6aba10014013d04dcc1
99
eaa5e07b2866e05b6c7b5628ca92e9cb1142d008
10+
11+
# Code reformatting
12+
340ff8586d4f1cb6a0f3c934eb42589bcc29c0ea

.github/BOTMETA.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ files:
238238
maintainers: vbotka
239239
$inventories/icinga2.py:
240240
maintainers: BongoEADGC6
241+
$inventories/incus.py:
242+
labels: incus
243+
maintainers: stgraber
241244
$inventories/linode.py:
242245
keywords: linode dynamic inventory script
243246
labels: cloud linode
@@ -858,6 +861,8 @@ files:
858861
maintainers: bratwurzt
859862
$modules/keycloak_realm_rolemapping.py:
860863
maintainers: agross mhuysamen Gaetan2907
864+
$modules/keycloak_user_execute_actions_email.py:
865+
maintainers: mariusbertram
861866
$modules/keyring.py:
862867
maintainers: ahussey-redhat
863868
$modules/keyring_info.py:

.mypy.ini

Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
# Copyright (c) Ansible Project
2+
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3+
# SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
[mypy]
6+
# check_untyped_defs = True
7+
# disallow_untyped_defs = True
8+
9+
# strict = True -- only try to enable once everything (including dependencies!) is typed
10+
strict_equality = True
11+
strict_bytes = True
12+
13+
warn_redundant_casts = True
14+
# warn_return_any = True
15+
warn_unreachable = True
16+
17+
[mypy-ansible.*]
18+
# ansible-core has partial typing information
19+
follow_untyped_imports = True
20+
21+
# The following imports are Python packages that:
22+
# 1. We do not install (we can't install everything!);
23+
# 2. That have type stubs, but we don't install them (again, we can't install everything!); or
24+
# 3. That have no types and type stubs.
25+
[mypy-aerospike.*]
26+
ignore_missing_imports = True
27+
[mypy-boto3.*]
28+
ignore_missing_imports = True
29+
[mypy-bs4.*]
30+
ignore_missing_imports = True
31+
[mypy-cgi.*]
32+
ignore_missing_imports = True
33+
[mypy-chef.*]
34+
ignore_missing_imports = True
35+
[mypy-consul.*]
36+
ignore_missing_imports = True
37+
[mypy-credstash.*]
38+
ignore_missing_imports = True
39+
[mypy-crypt.*]
40+
ignore_missing_imports = True
41+
[mypy-datadog.*]
42+
ignore_missing_imports = True
43+
[mypy-dbus.*]
44+
ignore_missing_imports = True
45+
[mypy-delinea.*]
46+
ignore_missing_imports = True
47+
[mypy-dnf.*]
48+
ignore_missing_imports = True
49+
[mypy-dnsimple.*]
50+
ignore_missing_imports = True
51+
[mypy-etcd3.*]
52+
ignore_missing_imports = True
53+
[mypy-flatdict.*]
54+
ignore_missing_imports = True
55+
[mypy-footmark.*]
56+
ignore_missing_imports = True
57+
[mypy-fqdn.*]
58+
ignore_missing_imports = True
59+
[mypy-func.*]
60+
ignore_missing_imports = True
61+
[mypy-gi.*]
62+
ignore_missing_imports = True
63+
[mypy-github3.*]
64+
ignore_missing_imports = True
65+
[mypy-hashids.*]
66+
ignore_missing_imports = True
67+
[mypy-heroku3.*]
68+
ignore_missing_imports = True
69+
[mypy-hpe3parclient.*]
70+
ignore_missing_imports = True
71+
[mypy-hpe3par_sdk.*]
72+
ignore_missing_imports = True
73+
[mypy-hpilo.*]
74+
ignore_missing_imports = True
75+
[mypy-hpOneView.*]
76+
ignore_missing_imports = True
77+
[mypy-httmock.*] # TODO!
78+
ignore_missing_imports = True
79+
[mypy-influxdb.*]
80+
ignore_missing_imports = True
81+
[mypy-jc.*]
82+
ignore_missing_imports = True
83+
[mypy-jenkins.*]
84+
ignore_missing_imports = True
85+
[mypy-jmespath.*]
86+
ignore_missing_imports = True
87+
[mypy-jsonpatch.*]
88+
ignore_missing_imports = True
89+
[mypy-kazoo.*]
90+
ignore_missing_imports = True
91+
[mypy-keyring.*]
92+
ignore_missing_imports = True
93+
[mypy-keystoneauth1.*]
94+
ignore_missing_imports = True
95+
[mypy-layman.*]
96+
ignore_missing_imports = True
97+
[mypy-ldap.*]
98+
ignore_missing_imports = True
99+
[mypy-legacycrypt.*]
100+
ignore_missing_imports = True
101+
[mypy-libcloud.*]
102+
ignore_missing_imports = True
103+
[mypy-linode.*]
104+
ignore_missing_imports = True
105+
[mypy-linode_api4.*]
106+
ignore_missing_imports = True
107+
[mypy-lmdb.*]
108+
ignore_missing_imports = True
109+
[mypy-logdna.*]
110+
ignore_missing_imports = True
111+
[mypy-logstash.*]
112+
ignore_missing_imports = True
113+
[mypy-lxc.*]
114+
ignore_missing_imports = True
115+
[mypy-manageiq_client.*]
116+
ignore_missing_imports = True
117+
[mypy-matrix_client.*]
118+
ignore_missing_imports = True
119+
[mypy-memcache.*]
120+
ignore_missing_imports = True
121+
[mypy-nc_dnsapi.*]
122+
ignore_missing_imports = True
123+
[mypy-nomad.*]
124+
ignore_missing_imports = True
125+
[mypy-oci.*]
126+
ignore_missing_imports = True
127+
[mypy-oneandone.*]
128+
ignore_missing_imports = True
129+
[mypy-opentelemetry.*]
130+
ignore_missing_imports = True
131+
[mypy-ovh.*]
132+
ignore_missing_imports = True
133+
[mypy-ovirtsdk.*]
134+
ignore_missing_imports = True
135+
[mypy-packet.*]
136+
ignore_missing_imports = True
137+
[mypy-paho.*]
138+
ignore_missing_imports = True
139+
[mypy-pam.*]
140+
ignore_missing_imports = True
141+
[mypy-pdpyras.*]
142+
ignore_missing_imports = True
143+
[mypy-petname.*]
144+
ignore_missing_imports = True
145+
[mypy-pingdom.*]
146+
ignore_missing_imports = True
147+
[mypy-portage.*]
148+
ignore_missing_imports = True
149+
[mypy-potatoes_that_will_never_be_there.*]
150+
ignore_missing_imports = True
151+
[mypy-prettytable.*]
152+
ignore_missing_imports = True
153+
[mypy-pubnub_blocks_client.*]
154+
ignore_missing_imports = True
155+
[mypy-pushbullet.*]
156+
ignore_missing_imports = True
157+
[mypy-pycdlib.*]
158+
ignore_missing_imports = True
159+
[mypy-pyghmi.*]
160+
ignore_missing_imports = True
161+
[mypy-pylxca.*]
162+
ignore_missing_imports = True
163+
[mypy-pymssql.*]
164+
ignore_missing_imports = True
165+
[mypy-pyodbc.*]
166+
ignore_missing_imports = True
167+
[mypy-pyone.*]
168+
ignore_missing_imports = True
169+
[mypy-pypureomapi.*]
170+
ignore_missing_imports = True
171+
[mypy-pysnmp.*]
172+
ignore_missing_imports = True
173+
[mypy-pyxcli.*]
174+
ignore_missing_imports = True
175+
[mypy-rpm.*]
176+
ignore_missing_imports = True
177+
[mypy-salt.*]
178+
ignore_missing_imports = True
179+
[mypy-selinux.*]
180+
ignore_missing_imports = True
181+
[mypy-semantic_version.*]
182+
ignore_missing_imports = True
183+
[mypy-sendgrid.*]
184+
ignore_missing_imports = True
185+
[mypy-seobject.*]
186+
ignore_missing_imports = True
187+
[mypy-sha.*]
188+
ignore_missing_imports = True
189+
[mypy-SoftLayer.*]
190+
ignore_missing_imports = True
191+
[mypy-spotinst_sdk.*]
192+
ignore_missing_imports = True
193+
[mypy-statsd.*]
194+
ignore_missing_imports = True
195+
[mypy-storops.*]
196+
ignore_missing_imports = True
197+
[mypy-taiga.*]
198+
ignore_missing_imports = True
199+
[mypy-thycotic.*]
200+
ignore_missing_imports = True
201+
[mypy-univention.*]
202+
ignore_missing_imports = True
203+
[mypy-vexatapi.*]
204+
ignore_missing_imports = True
205+
[mypy-websocket.*]
206+
ignore_missing_imports = True
207+
[mypy-XenAPI.*]
208+
ignore_missing_imports = True
209+
[mypy-xkcdpass.*]
210+
ignore_missing_imports = True
211+
[mypy-xmljson.*]
212+
ignore_missing_imports = True
213+
[mypy-xmltodict.*]
214+
ignore_missing_imports = True
215+
[mypy-xmpp.*]
216+
ignore_missing_imports = True

antsibull-nox.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,30 @@ stable_branches = [ "stable-*" ]
2222
[sessions.lint]
2323
run_isort = false
2424
run_black = false
25+
run_ruff_check = true
26+
ruff_check_config = "ruff.toml"
27+
run_ruff_format = true
28+
ruff_format_config = "ruff.toml"
2529
run_flake8 = false
2630
run_pylint = false
2731
run_yamllint = true
2832
yamllint_config = ".yamllint"
2933
# yamllint_config_plugins = ".yamllint-docs"
3034
# yamllint_config_plugins_examples = ".yamllint-examples"
31-
run_mypy = false
35+
run_mypy = true
36+
mypy_ansible_core_package = "ansible-core>=2.19.0"
37+
mypy_config = ".mypy.ini"
38+
mypy_extra_deps = [
39+
"cryptography",
40+
"dnspython",
41+
"lxml-stubs",
42+
"types-mock",
43+
"types-paramiko",
44+
"types-passlib",
45+
"types-psutil",
46+
"types-PyYAML",
47+
"types-requests",
48+
]
3249

3350
[sessions.docs_check]
3451
validate_collection_refs="all"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- filetree - add ``exclude`` option (https://github.com/ansible-collections/community.general/issues/10936, https://github.com/ansible-collections/community.general/pull/10936).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- keycloak_user - return user created boolean flag (https://github.com/ansible-collections/community.general/pull/10950).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- "pritunl_user - improve resilience when comparing user parameters if remote fields are ``null`` or missing. List parameters (``groups``, ``mac_addresses``) now safely default to empty lists for comparison and avoids ``KeyError`` issues (https://github.com/ansible-collections/community.general/issues/10954, https://github.com/ansible-collections/community.general/pull/10955)."
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- terraform - fix bug when ``null`` values inside complex vars are throwing error instead of being passed to terraform. Now terraform can handle ``null``s in ``complex_vars`` itself (https://github.com/ansible-collections/community.general/pull/10961).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- onepassword_doc and onepassword_ssh_key lookup plugins - ensure that all connection parameters are passed to CLI class (https://github.com/ansible-collections/community.general/pull/10965).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- npm - improve parameter validation using Ansible construct (https://github.com/ansible-collections/community.general/pull/10983).

0 commit comments

Comments
 (0)