summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/ansible-lint.spec73
-rw-r--r--.config/dictionary.txt417
-rw-r--r--.config/requirements-docs.txt2
-rw-r--r--.config/requirements-lock.txt45
-rw-r--r--.config/requirements-test.txt17
-rw-r--r--.config/requirements.in17
-rw-r--r--.config/requirements.txt117
7 files changed, 688 insertions, 0 deletions
diff --git a/.config/ansible-lint.spec b/.config/ansible-lint.spec
new file mode 100644
index 0000000..22a46f9
--- /dev/null
+++ b/.config/ansible-lint.spec
@@ -0,0 +1,73 @@
+# spell-checker:ignore bcond pkgversion buildrequires autosetup PYTHONPATH noarch buildroot bindir sitelib numprocesses clib
+# All tests require Internet access
+# to test in mock use: --enable-network --with check
+# to test in a privileged environment use:
+# --with check --with privileged_tests
+%bcond_with check
+%bcond_with privileged_tests
+
+Name: ansible-lint
+Version: VERSION_PLACEHOLDER
+Release: 1%{?dist}
+Summary: Ansible-lint checks ansible content for common mistakes
+
+License: GPL-3.0-or-later AND MIT
+URL: https://github.com/ansible/ansible-lint
+Source0: %{pypi_source}
+
+BuildArch: noarch
+
+BuildRequires: python%{python3_pkgversion}-devel
+%if %{with check}
+# These are required for tests:
+BuildRequires: python%{python3_pkgversion}-pytest
+BuildRequires: python%{python3_pkgversion}-pytest-xdist
+BuildRequires: python%{python3_pkgversion}-libselinux
+BuildRequires: git-core
+%endif
+Requires: git-core
+
+
+%description
+Ansible-lint checks ansible content for practices and behaviors that could
+potentially be improved.
+
+%prep
+%autosetup
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+%pyproject_save_files ansiblelint
+
+
+%check
+# Don't try to import tests that import pytest which isn't available at runtime
+%pyproject_check_import -e 'ansiblelint.testing*' -e 'ansiblelint.rules.conftest'
+%if %{with check}
+%pytest \
+ -v \
+ --disable-pytest-warnings \
+ --numprocesses=auto \
+%if %{with privileged_tests}
+ tests
+%else
+ tests/unit
+%endif
+%endif
+
+
+%files -f %{pyproject_files}
+%{_bindir}/ansible-lint
+%license COPYING docs/licenses/LICENSE.mit.txt
+%doc docs/ README.md
+
+%changelog
diff --git a/.config/dictionary.txt b/.config/dictionary.txt
new file mode 100644
index 0000000..9f48d06
--- /dev/null
+++ b/.config/dictionary.txt
@@ -0,0 +1,417 @@
+Adrián
+Autobuild
+CLICOLOR
+CODENOTIFY
+CODEOWNERS
+CTYPE
+Cacqueray
+Chamoulaud
+DISTRO
+DOTGLOB
+ENVVAR
+EPIPE # linux
+Fimport
+Jython
+MYTAG
+PYTHONBREAKPOINT
+PYTHONIOENCODING
+PYTHONPYCACHEPREFIX
+REQPASS
+RULEDIRS
+RUNLEVEL
+Renderable
+Representer
+SIGUSR1
+SRCROOT
+Sbarnea
+Sorin
+Sshell
+TOXENV
+TYPECHECK
+Taskfiles
+Tsukinowa
+Tóth
+WSLENV
+aarch64
+abspath
+addoption
+addopts
+alertmanager
+ansiblelint
+apidoc
+apport
+argparsing
+argspecs
+arxcruz
+auditd
+autobuild
+autoclass
+autodetected
+autodiscovery
+autodoc
+autofix
+autorefs
+autoupdate
+awcrosby
+backports
+backticks
+bdist
+becomeuserabove
+bindep
+blockincludes
+blockinfile
+bools
+boto
+bracketsmatchtest
+bracketsmatchtestfile
+buildinfo
+buildset
+builtins
+cacheable
+cachier
+capfd
+caplog
+capsys
+cffi
+chdir
+chgrp
+chkconfig
+chunksize
+clib
+codeclimate
+codecov
+codenotify
+codeql
+codespell
+colorama
+colsystem
+commandline
+commitlint
+commonmark
+compat
+conftest
+coveragerc
+cpus
+cpuset
+createfile
+darglint
+dataclasses
+dbservers
+deannotate
+debconf
+debops
+decryptable
+delenv
+dellemc
+denormalize
+deps
+devel
+dharmabumstead
+dirhtml
+dists
+distutils
+doas
+docstrings
+doctest
+doctrees
+docutils
+dotconfig
+dotslash
+drybjed
+dzdo
+ematcher
+ematchtestfile
+envrc
+execnet
+extlinks
+facelessuser
+facter
+fakerole
+fastapi
+fileglob
+filelock
+filesspot
+filetree
+fips
+firewalld
+fontawesome
+formatstr
+formetting
+fqcn
+fqrn
+fulltoc
+fullwidth
+gecos
+geerlingguy
+getent
+getmatches
+globbing
+globmatch
+gplv3
+groupname
+hostkey
+hostnames
+hostvars
+htmldir
+htmlproofer
+htpasswd
+hwchksum
+hwcksum
+idempotency
+ignorelist
+importlib
+iniconfig
+inlinehilite
+insertafter
+ipaddr
+ipwrap
+isclass
+iscsi
+isdir
+isdisjoint
+iskeyword
+isort
+isorted
+jsonfile
+jsonschema
+junitxml
+keepends
+keypair
+keyserver
+konstruktoid
+kubernetes
+kubevirt
+lalo
+languageservice
+letsencrypt
+levelname
+libbzip
+libera
+libyaml
+lineinfile
+linenums
+linkcheck
+lintable
+lintables
+literalinclude
+localectl
+machinectl
+magiclink
+markdownlint
+matchdir
+matcherror
+matchlines
+matchtask
+matchtasks
+matchvar
+matchyaml
+maxdepth
+minversion
+mkdir
+mkdocs
+mkdocstrings
+mkdtemp
+mockings
+mockreturn
+modifyitems
+modindex
+moduleauthor
+mypy
+myrole
+namedtempfile
+nestedincludes
+netcommon
+netscaler
+nilashishc
+nitpicky
+nocolor
+nodeps
+noexist
+nomatches
+nomatchestest
+noqa
+norole
+nostderr
+notest
+nxos
+octal
+octals
+opensearch
+openshift
+outdir
+outlen
+pacman
+pageview
+panos
+parseable
+pathex
+pathlib
+pathspec
+pathspecs
+pbrun
+pfexec
+pickleable
+pipdeptree
+pipefail
+piptools
+pipx
+pkgcache # linux
+pkgs
+placefolder
+pluggy
+pluginmanager
+pmrun
+podman
+portchannel
+prerun
+prettierignore
+programoutput
+psutil
+pwsh
+pyargs
+pycache
+pycharm
+pyenv
+pygments
+pylint
+pylintrc
+pymdown
+pymdownx
+pypa
+pyparsing
+pypi
+pyproject
+pyproject.toml
+pypy
+pyright
+pytest
+pyupgrade
+pyyaml
+redirections
+reexec
+regexes
+releasenotes
+relpath
+reportversion
+representer
+reqs
+resolvelib
+returncode
+rmtree
+robertdebock
+rolepath
+roundtrip
+ruamel
+rulebook
+rulebooks
+ruledirs
+rulesdir
+rulesdirs
+ruleset
+runas
+sarif
+scalarint
+schemafile
+sdist
+sdists
+sectionauthor
+seealso
+sesu
+setenv
+setuptools
+shortdesc
+showlocals
+shutil
+signoff
+simpletask
+skippable
+skiptasks
+skiputils
+slackpkg
+slaveinput
+sortfunc
+sourcegraph
+srcs
+srpm
+ssbarnea
+stylesheet
+subdir
+subelements
+subfolders
+subresults
+subschema
+subschemas
+substrs
+subtest
+sudosu
+superfences
+supervisorctl
+swdepot
+switchport
+synchronize
+sysvinit
+taskfile
+taskhandler
+taskimports
+taskincludes
+taskshandlers
+templatevars
+templating
+testinfra
+testmon
+testns
+testpath
+testpaths
+testproject
+testpypi
+testrun
+timesyncd
+tmpfs
+toctree
+toidentifier
+tomli
+toolset
+tripleo
+tuco
+typehint
+typehints
+ulimits
+uncook
+ungrouped
+unignored
+unimported
+unindented
+uninstallation
+unjinja
+unlex
+unnormalized
+unskippable
+unspaced
+unsubscriptable
+untemplated
+userbase
+uwsgi
+validable
+varname
+varnotset
+varset
+varsfile
+varstring
+varunset
+venv
+viewcode
+virtnet
+virtualenv
+virtualenvs
+wcmatch
+webserver
+webservers
+willthames
+workdir
+workerinput
+worktree
+xdist
+xfail
+xunit
+yatesr
+zuul
diff --git a/.config/requirements-docs.txt b/.config/requirements-docs.txt
new file mode 100644
index 0000000..79ab067
--- /dev/null
+++ b/.config/requirements-docs.txt
@@ -0,0 +1,2 @@
+mkdocs-ansible[lock]>=0.1.6
+pipdeptree>=2.4.0
diff --git a/.config/requirements-lock.txt b/.config/requirements-lock.txt
new file mode 100644
index 0000000..2249663
--- /dev/null
+++ b/.config/requirements-lock.txt
@@ -0,0 +1,45 @@
+#
+# This file is autogenerated by pip-compile with Python 3.9
+# by the following command:
+#
+# pip-compile --no-annotate --output-file=.config/requirements-lock.txt --resolver=backtracking --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml
+#
+ansible-compat==4.1.2
+ansible-core==2.15.1
+attrs==23.1.0
+black==23.3.0
+bracex==2.3.post1
+certifi==2023.5.7
+cffi==1.15.1
+charset-normalizer==3.1.0
+click==8.1.3
+cryptography==41.0.1
+filelock==3.12.2
+idna==3.4
+importlib-resources==5.0.7
+jinja2==3.1.2
+jsonschema==4.17.3
+markdown-it-py==3.0.0
+markupsafe==2.1.3
+mdurl==0.1.2
+mypy-extensions==1.0.0
+packaging==23.1
+pathspec==0.11.1
+platformdirs==3.7.0
+pycparser==2.21
+pygments==2.15.1
+pyrsistent==0.19.3
+pyyaml==6.0
+requests==2.31.0
+rich==13.4.2
+ruamel-yaml==0.17.32
+subprocess-tee==0.4.1
+tomli==2.0.1
+typing-extensions==4.6.3
+urllib3==2.0.3
+wcmatch==8.4.1
+yamllint==1.32.0
+
+# The following packages are considered to be unsafe in a requirements file:
+# resolvelib
+# ruamel-yaml-clib
diff --git a/.config/requirements-test.txt b/.config/requirements-test.txt
new file mode 100644
index 0000000..3838713
--- /dev/null
+++ b/.config/requirements-test.txt
@@ -0,0 +1,17 @@
+black # IDE support
+coverage-enable-subprocess # see https://github.com/nedbat/coveragepy/issues/1341#issuecomment-1228942657
+coverage[toml] >= 6.4.4
+jmespath
+mypy # IDE support
+netaddr # needed by ipwrap filter
+psutil # soft-dep of pytest-xdist
+pylint # IDE support
+pytest >= 7.2.2
+pytest-mock
+pytest-plus >= 0.2 # for PYTEST_REQPASS
+pytest-xdist >= 2.1.0
+ruamel.yaml>=0.17.31,<0.18 # only the latest is expected to pass our tests
+ruamel-yaml-clib # needed for mypy
+spdx-tools >= 0.7.1 # Apache
+types-jsonschema # IDE support
+types-pyyaml # IDE support
diff --git a/.config/requirements.in b/.config/requirements.in
new file mode 100644
index 0000000..a8a24fb
--- /dev/null
+++ b/.config/requirements.in
@@ -0,0 +1,17 @@
+# Special order section for helping pip:
+will-not-work-on-windows-try-from-wsl-instead; platform_system=='Windows'
+ansible-core>=2.12.0 # GPLv3
+ansible-compat>=4.0.5 # GPLv3
+# alphabetically sorted:
+black>=22.8.0 # MIT
+filelock>=3.3.0 # The Unlicense
+jsonschema>=4.10.0 # MIT, version needed for improved errors
+packaging>=21.3 # Apache-2.0,BSD-2-Clause
+pathspec>=0.10.3 # Mozilla Public License 2.0 (MPL 2.0)
+pyyaml>=5.4.1 # MIT (centos 9 has 5.3.1)
+rich>=12.0.0 # MIT
+ruamel.yaml>=0.17.0,<0.18,!=0.17.29,!=0.17.30 # MIT, next version is planned to have breaking changes
+requests>=2.31.0 # Apache-2.0 (indirect, but we want newer version for security reasons)
+subprocess-tee>=0.4.1 # MIT, used by ansible-compat
+yamllint >= 1.30.0 # GPLv3
+wcmatch>=8.1.2 # MIT
diff --git a/.config/requirements.txt b/.config/requirements.txt
new file mode 100644
index 0000000..48edc14
--- /dev/null
+++ b/.config/requirements.txt
@@ -0,0 +1,117 @@
+#
+# This file is autogenerated by pip-compile with Python 3.9
+# by the following command:
+#
+# pip-compile --extra=docs --extra=test --no-annotate --output-file=.config/requirements.txt --resolver=backtracking --strip-extras --unsafe-package=resolvelib --unsafe-package=ruamel-yaml-clib pyproject.toml
+#
+ansible-compat==4.1.2
+ansible-core==2.15.1
+astroid==2.15.5
+attrs==23.1.0
+beautifulsoup4==4.12.2
+black==23.3.0
+bracex==2.3.post1
+cairocffi==1.5.1
+cairosvg==2.7.0
+certifi==2023.5.7
+cffi==1.15.1
+charset-normalizer==3.1.0
+click==8.1.3
+colorama==0.4.6
+coverage==7.2.7
+coverage-enable-subprocess==1.0
+cryptography==41.0.1
+csscompressor==0.9.5
+cssselect2==0.7.0
+defusedxml==0.7.1
+dill==0.3.6
+exceptiongroup==1.1.1
+execnet==1.9.0
+filelock==3.12.2
+ghp-import==2.1.0
+griffe==0.29.0
+htmlmin2==0.1.13
+idna==3.4
+importlib-metadata==6.6.0
+importlib-resources==5.0.7
+iniconfig==2.0.0
+isodate==0.6.1
+isort==5.12.0
+jinja2==3.1.2
+jmespath==1.0.1
+jsmin==3.0.1
+jsonschema==4.17.3
+lazy-object-proxy==1.9.0
+markdown==3.3.7
+markdown-exec==1.6.0
+markdown-include==0.8.1
+markdown-it-py==3.0.0
+markupsafe==2.1.2
+mccabe==0.7.0
+mdurl==0.1.2
+mergedeep==1.3.4
+mkdocs==1.4.3
+mkdocs-ansible==0.1.6
+mkdocs-autorefs==0.4.1
+mkdocs-gen-files==0.5.0
+mkdocs-htmlproofer-plugin==0.13.1
+mkdocs-material==9.1.15
+mkdocs-material-extensions==1.1.1
+mkdocs-minify-plugin==0.6.4
+mkdocs-monorepo-plugin==1.0.5
+mkdocstrings==0.22.0
+mkdocstrings-python==1.1.0
+mypy==1.4.0
+mypy-extensions==1.0.0
+netaddr==0.8.0
+packaging==23.1
+pathspec==0.11.1
+pillow==9.5.0
+pipdeptree==2.7.1
+platformdirs==3.7.0
+pluggy==1.2.0
+ply==3.11
+psutil==5.9.5
+pycparser==2.21
+pygments==2.15.1
+pylint==2.17.4
+pymdown-extensions==10.0.1
+pyparsing==3.1.0
+pyrsistent==0.19.3
+pytest==7.3.2
+pytest-mock==3.11.1
+pytest-plus==0.4.0
+pytest-xdist==3.3.1
+python-dateutil==2.8.2
+python-slugify==8.0.1
+pyyaml==6.0
+pyyaml-env-tag==0.1
+rdflib==6.3.2
+regex==2023.5.5
+requests==2.31.0
+rich==13.4.2
+ruamel-yaml==0.17.32
+six==1.16.0
+soupsieve==2.4.1
+spdx-tools==0.7.1
+subprocess-tee==0.4.1
+text-unidecode==1.3
+tinycss2==1.2.1
+tomli==2.0.1
+tomlkit==0.11.8
+types-jsonschema==4.17.0.8
+types-pyyaml==6.0.12.10
+typing-extensions==4.6.2
+uritools==4.0.1
+urllib3==2.0.2
+watchdog==3.0.0
+wcmatch==8.4.1
+webencodings==0.5.1
+wrapt==1.15.0
+xmltodict==0.13.0
+yamllint==1.32.0
+zipp==3.15.0
+
+# The following packages are considered to be unsafe in a requirements file:
+# resolvelib
+# ruamel-yaml-clib