Skip to content

Commit c15dedb

Browse files
committed
CodeOptiX Open Source
1 parent 4d887a7 commit c15dedb

File tree

112 files changed

+4542
-6349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+4542
-6349
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: "[BUG] "
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Environment (please complete the following information):**
27+
- OS: [e.g. macOS, Linux, Windows]
28+
- Python version: [e.g. 3.12]
29+
- CodeOptiX version: [e.g. 0.1.0]
30+
- Agent used: [e.g. claude-code, codex]
31+
- LLM provider: [e.g. openai, ollama]
32+
33+
**Additional context**
34+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: "[FEATURE] "
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Description
2+
Brief description of the changes made in this PR.
3+
4+
## Type of Change
5+
- [ ] Bug fix (non-breaking change which fixes an issue)
6+
- [ ] New feature (non-breaking change which adds functionality)
7+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
8+
- [ ] Documentation update
9+
- [ ] Refactoring
10+
- [ ] Performance improvement
11+
- [ ] Test update
12+
- [ ] Other (please describe):
13+
14+
## How Has This Been Tested?
15+
- [ ] Unit tests pass
16+
- [ ] Integration tests pass
17+
- [ ] Manual testing completed
18+
- [ ] No tests required
19+
20+
## Checklist:
21+
- [ ] My code follows the project's style guidelines
22+
- [ ] I have performed a self-review of my own code
23+
- [ ] I have commented my code, particularly in hard-to-understand areas
24+
- [ ] I have made corresponding changes to the documentation
25+
- [ ] My changes generate no new warnings
26+
- [ ] Any dependent changes have been merged and published
27+
28+
## Additional Notes
29+
Any additional information or context about this PR.

.github/workflows/README.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,64 +2,72 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main, develop ]
7+
branches: [main]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
812

913
jobs:
1014
lint:
1115
name: Lint
1216
runs-on: ubuntu-latest
1317
steps:
1418
- uses: actions/checkout@v4
15-
19+
1620
- name: Set up Python
1721
uses: actions/setup-python@v5
1822
with:
1923
python-version: '3.12'
20-
24+
2125
- name: Install uv
2226
uses: astral-sh/setup-uv@v4
2327
with:
2428
version: "latest"
25-
29+
2630
- name: Install dependencies
27-
run: |
28-
uv sync --dev
29-
30-
- name: Run ruff
31-
run: |
32-
uv run ruff check src/ --exclude src/codeoptix/vendor/
33-
uv run ruff format --check src/ --exclude src/codeoptix/vendor/
31+
run: uv sync --dev
32+
33+
- name: Run ruff linter
34+
run: uv run ruff check src/ --exclude src/codeoptix/vendor/
35+
36+
- name: Run ruff formatter
37+
run: uv run ruff format --check src/ --exclude src/codeoptix/vendor/
3438

3539
test:
36-
name: Test
37-
runs-on: ubuntu-latest
40+
name: Test (${{ matrix.os }} / Python ${{ matrix.python-version }})
41+
runs-on: ${{ matrix.os }}
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
os: [ubuntu-latest, macos-latest, windows-latest]
46+
python-version: ['3.12']
47+
3848
steps:
3949
- uses: actions/checkout@v4
40-
41-
- name: Set up Python
50+
51+
- name: Set up Python ${{ matrix.python-version }}
4252
uses: actions/setup-python@v5
4353
with:
44-
python-version: '3.12'
45-
54+
python-version: ${{ matrix.python-version }}
55+
4656
- name: Install uv
4757
uses: astral-sh/setup-uv@v4
4858
with:
4959
version: "latest"
50-
60+
5161
- name: Install dependencies
52-
run: |
53-
uv sync --dev
54-
62+
run: uv sync --dev
63+
5564
- name: Run tests
56-
run: |
57-
uv run pytest tests/ -v --cov=src/codeoptix --cov-report=xml --cov-report=term
58-
65+
run: uv run pytest tests/ -v --cov=src/codeoptix --cov-report=xml --cov-report=term
66+
5967
- name: Upload coverage
6068
uses: codecov/codecov-action@v4
61-
if: always()
69+
if: matrix.os == 'ubuntu-latest'
6270
with:
6371
file: ./coverage.xml
6472
fail_ci_if_error: false
65-
73+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/codeflect-check.yml

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)