Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a77895d698 | |||
| 31e0eb0af6 | |||
| 3871fdec52 | |||
| 5f571bbe38 | |||
| 7538a66cd2 | |||
| 90fe3fa817 | |||
| 331972d2fc | |||
| 2de828b508 | |||
| 598e91f19c | |||
| f2427f1b2b | |||
| ab6261d379 | |||
| 3bb0f69424 | |||
| ad4360003d | |||
| 7a45a754ca | |||
| 505bc16400 | |||
| 13d1167f60 | |||
| 85c0588fb4 | |||
| c17e57af5a | |||
|
|
8ddc2038c2 | ||
|
|
0d21ae3cf9 | ||
|
|
0c70615e43 |
@@ -2,20 +2,27 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main, master]
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, master]
|
branches:
|
||||||
|
- main
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout: 600
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
cache: 'pip'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
@@ -27,5 +34,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run linting
|
- name: Run linting
|
||||||
run: |
|
run: |
|
||||||
pip install ruff
|
ruff check --fix . --exclude="database/*" --exclude="orchestrator/*" --exclude="web/*" --exclude="local-ai-commit-reviewer/*" --exclude="mcp_servers/*" --exclude="logs/*"
|
||||||
ruff check --fix .
|
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ dev = [
|
|||||||
"black>=23.0.0",
|
"black>=23.0.0",
|
||||||
"isort>=5.12.0",
|
"isort>=5.12.0",
|
||||||
"flake8>=6.0.0",
|
"flake8>=6.0.0",
|
||||||
|
"ruff>=0.1.0",
|
||||||
"pre-commit>=3.0.0",
|
"pre-commit>=3.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -112,8 +112,7 @@ This project uses:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
*Generated by Auto README Generator on {{ generated_at }}*
|
*Generated by Auto README Generator on {{ generated_at }}*""",
|
||||||
""",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, custom_template_dir: Optional[Path] = None):
|
def __init__(self, custom_template_dir: Optional[Path] = None):
|
||||||
@@ -288,7 +287,7 @@ This project uses:
|
|||||||
"- Lint with `npm run lint`",
|
"- Lint with `npm run lint`",
|
||||||
])
|
])
|
||||||
|
|
||||||
return "\n".join(guidelines)
|
return "\\n".join(guidelines)
|
||||||
|
|
||||||
|
|
||||||
class TemplateManager:
|
class TemplateManager:
|
||||||
|
|||||||
Reference in New Issue
Block a user