mirror of
https://github.com/ansible/ansible.git
synced 2025-11-30 23:16:08 +07:00
ansible-test - Update sanity requirements (#86083)
This commit is contained in:
2
changelogs/fragments/ansible-test-pylint-update.yml
Normal file
2
changelogs/fragments/ansible-test-pylint-update.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test - Update the pylint sanity test to pylint 4.0.2.
|
||||
@@ -4,6 +4,6 @@ dill==0.4.0
|
||||
isort==7.0.0
|
||||
mccabe==0.7.0
|
||||
platformdirs==4.5.0
|
||||
pylint==4.0.0
|
||||
pylint==4.0.2
|
||||
PyYAML==6.0.3
|
||||
tomlkit==0.13.3
|
||||
|
||||
@@ -12,8 +12,8 @@ try:
|
||||
|
||||
SpecifierSet: t.Optional[t.Type[specifiers.SpecifierSet]] = specifiers.SpecifierSet
|
||||
Version: t.Optional[t.Type[version.Version]] = version.Version
|
||||
PACKAGING_IMPORT_ERROR = None
|
||||
PACKAGING_IMPORT_ERROR = None # pylint: disable=invalid-name
|
||||
except ImportError as ex:
|
||||
SpecifierSet = None # pylint: disable=invalid-name
|
||||
Version = None # pylint: disable=invalid-name
|
||||
PACKAGING_IMPORT_ERROR = ex
|
||||
PACKAGING_IMPORT_ERROR = ex # pylint: disable=invalid-name
|
||||
|
||||
@@ -11,10 +11,10 @@ from functools import (
|
||||
try:
|
||||
import yaml as _yaml
|
||||
|
||||
YAML_IMPORT_ERROR = None
|
||||
YAML_IMPORT_ERROR = None # pylint: disable=invalid-name
|
||||
except ImportError as ex:
|
||||
yaml_load = None # pylint: disable=invalid-name
|
||||
YAML_IMPORT_ERROR = ex
|
||||
YAML_IMPORT_ERROR = ex # pylint: disable=invalid-name
|
||||
else:
|
||||
try:
|
||||
_SafeLoader: t.Union[t.Type[_yaml.CSafeLoader], t.Type[_yaml.SafeLoader]] = _yaml.CSafeLoader
|
||||
|
||||
@@ -5,4 +5,4 @@ mypy_extensions==1.1.0
|
||||
packaging==25.0
|
||||
pathspec==0.12.1
|
||||
platformdirs==4.5.0
|
||||
pytokens==0.1.10
|
||||
pytokens==0.2.0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# edit "mypy.requirements.in" and generate with: hacking/update-sanity-requirements.py --test mypy
|
||||
cffi==2.0.0
|
||||
cryptography==46.0.2
|
||||
iniconfig==2.1.0
|
||||
cryptography==46.0.3
|
||||
iniconfig==2.3.0
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.3
|
||||
mypy==1.18.2
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
application_properties==0.9.0
|
||||
Columnar==1.4.1
|
||||
pyjson5==2.0.0
|
||||
pymarkdownlnt==0.9.32
|
||||
pymarkdownlnt==0.9.33
|
||||
PyYAML==6.0.3
|
||||
tomli==2.3.0
|
||||
toolz==1.0.0
|
||||
toolz==1.1.0
|
||||
typing_extensions==4.15.0
|
||||
wcwidth==0.2.14
|
||||
|
||||
@@ -114,11 +114,6 @@ test/integration/targets/win_script/files/test_script_with_args.ps1 pslint:PSAvo
|
||||
test/integration/targets/win_script/files/test_script_with_splatting.ps1 pslint:PSAvoidUsingWriteHost # Keep
|
||||
test/integration/targets/ssh_agent/fake_agents/ssh-agent-bad-shebang shebang # required for test
|
||||
test/lib/ansible_test/_data/requirements/sanity.pslint.ps1 pslint:PSCustomUseLiteralPath # Uses wildcards on purpose
|
||||
test/lib/ansible_test/_internal/compat/packaging.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
|
||||
test/lib/ansible_test/_internal/compat/yaml.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
|
||||
test/lib/ansible_test/_internal/init.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
|
||||
test/lib/ansible_test/_internal/util.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
|
||||
test/lib/ansible_test/_util/target/setup/requirements.py pylint:invalid-name # pylint bug: https://github.com/pylint-dev/pylint/issues/10652
|
||||
test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/module_utils/WebRequest.psm1 pslint!skip
|
||||
test/support/windows-integration/collections/ansible_collections/ansible/windows/plugins/modules/win_uri.ps1 pslint!skip
|
||||
test/support/windows-integration/plugins/modules/async_status.ps1 pslint!skip
|
||||
|
||||
Reference in New Issue
Block a user