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:
parent
b3c066b99f
commit
18c362eef4
7 changed files with 109 additions and 1 deletions
|
|
@ -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/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue