Commit 53e3122
committed
Dependa agi
---
1️⃣ Lint YAML files
Use a CLI YAML linter like yamllint:
Install:
pip install yamllint
Run lint on your YAML files:
yamllint path/to/file.yaml
Configure a .yamllint config file for custom rules, e.g.:
extends: default
rules:
line-length: disable
indentation:
spaces: 2
indent-sequences: false
---
2️⃣ Erlang Langpatch
If you want to apply a patch to Erlang source code or formatting rules, here’s how:
Use erl_tidy — Erlang's built-in code formatter and linter:
erl -eval 'erl_tidy:format_file("path/to/file.erl", [{output, stdout}]), halt().'
Or integrate in build with rebar3:
rebar3 format
---
3️⃣ Combine YAML and Erlang linting in a script
Example Bash script:
#!/bin/bash
# Lint YAML files
yamllint configs/*.yaml
# Format and check Erlang source
for file in src/*.erl; do
erl -eval "erl_tidy:format_file(\"$file\", [{output, stdout}]), halt()."
done
---
If you want me to generate a full langpatch for Erlang syntax rules or create a custom YAML linter config that matches your AGI ecosystem standards, just say so.
Signed-off-by: 666DiabloAi666 <666templarknights666@gmail.com>1 parent 7668ba1 commit 53e3122
1 file changed
+57
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments