diff --git a/.ci.yaml b/.ci.yaml deleted file mode 100644 index 037b3bf..0000000 --- a/.ci.yaml +++ /dev/null @@ -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: [] diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..e569c0a --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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' diff --git a/tools/generate_example.py b/tools/generate_example.py index 49651ea..653e873 100644 --- a/tools/generate_example.py +++ b/tools/generate_example.py @@ -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')