diff --git a/.config/dictionary.txt b/.config/dictionary.txt index c1a3afd897..0e9ced741d 100644 --- a/.config/dictionary.txt +++ b/.config/dictionary.txt @@ -1,53 +1,86 @@ +Autobuild +CLICOLOR +CODENOTIFY CODEOWNERS CTYPE +DOTGLOB ENVVAR EPIPE # linux Jython MYTAG PYTHONIOENCODING +Representer REQPASS +RULEDIRS +RUNLEVEL +SRCROOT +Sshell TOXENV TYPECHECK WSLENV abspath +addoption addopts ansiblelint +apidoc +apport +argparsing +argspecs auditd +autobuild +autoclass +autodetected +autodiscovery autodoc autofix autoupdate backports backticks bdist +becomeuserabove bindep +blockincludes +blockinfile bools boto +bracketsmatchtest +bracketsmatchtestfile buildinfo +buildset builtins capfd +caplog capsys cffi chdir chgrp chkconfig +chunksize codeclimate codecov codeql +codenotify codespell colorama +colsystem +commandline commitlint commonmark compat conftest coveragerc +createfile darglint dataclasses dbservers +debops decryptable delenv +dellemc denormalize deps devel +dharmabumstead dirhtml dists distutils @@ -55,23 +88,39 @@ docstrings doctest doctrees docutils +dotconfig +dotslash ematcher ematchtestfile execnet +extlinks +fakerole fileglob +filelock +filesspot +filetree +formatstr +formetting +formsyntax fqcn fqrn fulltoc +fullwidth +getmatches globbing +globmatch hostkey hostnames hostvars +htmldir htpasswd hwchksum hwcksum idempotency importlib iniconfig +insertafter +intersphinx ipwrap isclass isdir @@ -80,14 +129,26 @@ iskeyword isort jsonschema junitxml +keepends kubernetes +letsencrypt +levelname libera libyaml lineinfile +linkcheck lintable +lintables +listrules +listtags literalinclude localectl +matchdir +matcherror +matchlines matchtask +matchtasks +matchvar matchyaml maxdepth minversion @@ -95,32 +156,49 @@ mkdir mkdocs mkdtemp mockings +mockreturn +modifyitems +modindex +moduleauthor mypy myrole +namedtempfile nestedincludes +netcommon +nitpicky nocolor nodeps noexist nomatches +nomatchestest noqa norole nostderr notest +opensearch openshift outdir +outlen +pageview parseable +pathex pathlib pathspec +pickleable pipdeptree pipefail piptools pipx pkgcache # linux pkgs +placefolder +playholder pluggy +pluginmanager podman prerun prettierignore +programoutput psutil pyargs pycache @@ -138,37 +216,55 @@ pypy pytest pyupgrade pyyaml +redirections +regexes +releasenotes relpath reportversion +representer reqs returncode rmtree +rolepath +roundtrip ruamel +ruledirs rulesdir rulesdirs sarif +scalarint sdist sdists +sectionauthor setenv setuptools shortdesc showlocals shutil signoff +simpletask skippable skiptasks skiputils +slaveinput +sortfunc +sourcegraph +sphinxcontrib srpm stylesheet subdir subelements +subresults substrs subtest supervisorctl synchronize sysvinit +taskhandler taskimports taskincludes +taskshandlers +templatevars templating testmon testns @@ -176,11 +272,15 @@ testpath testpaths testproject testpypi +testrun timesyncd toctree toidentifier tomli toolset +tripleo +typehint +typehints uncook ungrouped unignored @@ -194,17 +294,24 @@ unskippable unspaced unsubscriptable untemplated +userbase uwsgi +validable varnotset varset +varsfile +varstring varunset venv +viewcode virtnet virtualenv virtualenvs wcmatch webserver webservers +workdir +worktree xdist xfail xunit diff --git a/cspell.config.yaml b/cspell.config.yaml index b6ed031ea3..ea862fa5aa 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -20,4 +20,3 @@ ignorePaths: - src/ansiblelint/schemas/*.json # Other - "*.svg" -allowCompoundWords: true diff --git a/src/ansiblelint/rules/jinja.py b/src/ansiblelint/rules/jinja.py index 2bc4961f6f..8c953187d2 100644 --- a/src/ansiblelint/rules/jinja.py +++ b/src/ansiblelint/rules/jinja.py @@ -182,7 +182,7 @@ def lex(self, text: str) -> list[Token]: new_text = self.unlex(tokens) if text != new_text: _logger.debug( - "Unable to perform full roundrip lex-unlex on jinja template (expected when '-' modifier is used): {text} -> {new_text}" + "Unable to perform full roundtrip lex-unlex on jinja template (expected when '-' modifier is used): {text} -> {new_text}" ) return tokens