ci: JSON and ruff checks on Gitea #2
No files matched your search
@@ -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: []
|
||||
@@ -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'
|
||||
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user