ci: JSON and ruff checks on Gitea #2

Merged
james.maes merged 4 commits from ci/gitea-lint-workflow into main 2026-11-08 15:01:55 +00:00
3 changed files with 13 additions and 23 deletions

No files matched your search

-22
View File
@@ -1,22 +0,0 @@
schema: 1
scoped_delegation: true
components:
source:
toolchains:
node: 22.20.0
build:
tool: source
commands:
- - tracked-files
verification:
push:
branches:
- dev
- develop
- hotfix/**
- main
- master
- qualification/**
- rc
- release/**
tags: []
+9
View File
@@ -0,0 +1,9 @@
name: build
on:
push:
jobs:
lint:
uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/lint.yaml@v1
with:
json: '**/*.json'
ruff: '**/*.py'
+4 -1
View File
@@ -1,7 +1,10 @@
"""Generate the worked-example GAMUT theme 'Ember Dusk' with computed metrics."""
import json, itertools
import itertools
import json
from coloraide import Color
# ---------- APCA (SAPC-4g) ----------
def _y(hexcol):
c = Color(hexcol).convert('srgb')