From cff4a55d239e1bceac97f85045ad8862b1716703 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 5 Sep 2024 11:06:51 +0200 Subject: [PATCH 1/2] docs: add Communication section (#248) * README, docsite: add Communication section * chore: auto fixes from pre-commit.com hooks * Make bullhorn a part of the forum bullet-point list * Make bullhorn a part of the forum bullet-point list * update mkdocs.yml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- README.md | 11 +++++++++++ docs/index.md | 11 +++++++++++ mkdocs.yml | 6 +++--- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8aabb67..0e91427 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,17 @@ A pip-like install for ansible collections. By placing collections into the python site-packages directory they are discoverable by ansible as well as python and pytest. +## Communication + +- Join the Ansible forum: + + - [Get Help](https://forum.ansible.com/c/help/6): get help or help others. Please add appropriate tags if you start new discussions. + - [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts. + - [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events. + - [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes. + +For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html). + ## Usage ### Setting up a development environment diff --git a/docs/index.md b/docs/index.md index 46b882c..5011313 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,6 +2,17 @@ A pip-like install for Ansible collections. +## Communication + +- Join the Ansible forum: + + - [Get Help](https://forum.ansible.com/c/help/6): get help or help others. Please add appropriate tags if you start new discussions. + - [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts. + - [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events. + - [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes. + +For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html). + ## Features - Promotes an "ephemeral" development approach diff --git a/mkdocs.yml b/mkdocs.yml index 1429251..180f506 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -33,9 +33,9 @@ extra: - icon: simple/matrix link: https://matrix.to/#/#devtools:ansible.com name: Matrix - - icon: fontawesome/solid/comments - link: https://github.com/ansible/ansible-dev-environment/discussions - name: Discussions + - icon: fontawesome/brands/discourse + link: https://forum.ansible.com/c/project/7 + name: Ansible forum - icon: fontawesome/brands/github-alt link: https://github.com/ansible/ansible-dev-environment name: GitHub From 49f3bfdf2108fc773acce220b12a02f69f58b026 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 09:13:57 +0000 Subject: [PATCH 2/2] chore: pre-commit autoupdate (#250) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.6...v0.6.3) - [github.com/streetsidesoftware/cspell-cli: v8.13.1 → v8.13.3](https://github.com/streetsidesoftware/cspell-cli/compare/v8.13.1...v8.13.3) - [github.com/pycqa/pylint.git: v3.2.6 → v3.2.7](https://github.com/pycqa/pylint.git/compare/v3.2.6...v3.2.7) - [github.com/pre-commit/mirrors-mypy.git: v1.11.1 → v1.11.2](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.11.1...v1.11.2) * chore: auto fixes from pre-commit.com hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sorin Sbarnea --- .pre-commit-config.yaml | 8 ++++---- tests/unit/test_installer.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cf722c6..3013a84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,14 +59,14 @@ repos: - id: tox-ini-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.3 hooks: - id: ruff args: - --exit-non-zero-on-fix - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.1 + rev: v8.13.3 hooks: - id: cspell name: Spell check with cspell @@ -80,7 +80,7 @@ repos: pass_filenames: false - repo: https://github.com/pycqa/pylint.git - rev: v3.2.6 + rev: v3.2.7 hooks: - id: pylint args: @@ -93,7 +93,7 @@ repos: - tox - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy additional_dependencies: diff --git a/tests/unit/test_installer.py b/tests/unit/test_installer.py index 3acec1c..bd49f58 100644 --- a/tests/unit/test_installer.py +++ b/tests/unit/test_installer.py @@ -369,7 +369,7 @@ def test_editable_not_local( config=config, ) - def install_core(self: Installer) -> None: # noqa: ARG001 + def install_core(self: Installer) -> None: """Don't install core. Args: @@ -1195,7 +1195,7 @@ def test_local_collection_without_tar_install( installer.run() pre_mtime = os.lstat(config.site_pkg_collections_path / "ansible" / "posix").st_mtime - def install_local_collection(self: Installer, collection: Collection) -> None: # noqa: ARG001 + def install_local_collection(self: Installer, collection: Collection) -> None: """Do nothing. Args: