1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-02-04 07:51:50 +00:00

add devcontainer+pre-commit (#11328)

* add devcontainer support

* chore(devcontainer): install test requirements

* chore: add pre-commit

* fix format of pre-commit config file

* add licenses for the new files

* Apply suggestions from code review

* move requirements-dev.txt to inside .devcontainer

* specify files for ruff

* update CONTRIBUTING.md

* chore(devcontainer): use standard image, no docker build

* docs: format CONTRIBUTING.md (automatic by IDE)

* Update .devcontainer/devcontainer.json

* remove extraneous edits in CONTRIBUTING.md
This commit is contained in:
Alexei Znamensky 2025-12-29 21:55:52 +13:00 committed by GitHub
parent b3c066b99f
commit 18c362eef4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 109 additions and 1 deletions

View file

@ -4,6 +4,9 @@
line-length = 120
# Include only the files:
include = ["plugins/**/*.py", "tests/unit/**/*.py", "noxfile.py"]
[lint]
# https://docs.astral.sh/ruff/rules/