Skip to content

Commit 06c853c

Browse files
committed
feat: Implement LJPW v4.0, Visual Analytics, CI/CD, and Project Cleanup
1 parent 0097b0e commit 06c853c

Some content is hidden

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

58 files changed

+3197
-1116
lines changed

.github/workflows/ljpw_gate.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: LJPW Harmony Gate
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
harmony-check:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.10'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+
26+
- name: Run LJPW Harmony Check
27+
run: |
28+
# Run check on the entire repository
29+
python check_harmony.py .
30+
31+
- name: Generate Visual Report (Artifact)
32+
if: always()
33+
run: |
34+
# Run validation script to generate report if check fails or passes
35+
python run_validation.py
36+
37+
- name: Upload Report
38+
if: always()
39+
uses: actions/upload-artifact@v3
40+
with:
41+
name: harmonizer-report
42+
path: harmonizer_report.html

.harmonizerignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Python Code Harmonizer Ignore File
2+
venv/
3+
.git/
4+
__pycache__/
5+
build/
6+
dist/
7+
.pytest_cache/
8+
tests/legacy/

.pre-commit-config.yaml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
1-
# .pre-commit-config.yaml
21
repos:
3-
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
5-
hooks:
6-
- id: trailing-whitespace
7-
- id: end-of-file-fixer
8-
- id: check-yaml
9-
- id: check-added-large-files
10-
11-
- repo: https://github.com/psf/black
12-
rev: 24.8.0
13-
hooks:
14-
- id: black
15-
16-
- repo: https://github.com/pycqa/flake8
17-
rev: 7.0.0
18-
hooks:
19-
- id: flake8
20-
21-
- repo: https://github.com/pycqa/isort
22-
rev: 5.13.2
23-
hooks:
24-
- id: isort
2+
- repo: local
3+
hooks:
4+
- id: ljpw-check
5+
name: LJPW Harmony Check
6+
entry: python check_harmony.py
7+
language: python
8+
types: [python]
9+
pass_filenames: false
10+
additional_dependencies: [numpy, matplotlib, tomli, pyyaml]

0 commit comments

Comments
 (0)