mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-25 20:08:48 +01:00
feat(tagging+archetypes): add Pillowfort/Politics/Midrange/Toolbox tagging and unify archetype presence skip logic
This commit is contained in:
parent
f2a76d2ffc
commit
6d6243d6be
47 changed files with 21133 additions and 839 deletions
34
.github/workflows/editorial_lint.yml
vendored
Normal file
34
.github/workflows/editorial_lint.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: Editorial Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'config/themes/catalog/**'
|
||||
- 'code/scripts/lint_theme_editorial.py'
|
||||
- 'code/type_definitions_theme_catalog.py'
|
||||
- '.github/workflows/editorial_lint.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'config/themes/catalog/**'
|
||||
- 'code/scripts/lint_theme_editorial.py'
|
||||
- 'code/type_definitions_theme_catalog.py'
|
||||
|
||||
jobs:
|
||||
lint-editorial:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install deps
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt || true
|
||||
pip install pydantic PyYAML
|
||||
- name: Run editorial lint (minimum examples enforced)
|
||||
run: |
|
||||
python code/scripts/lint_theme_editorial.py --strict --enforce-min-examples
|
||||
env:
|
||||
EDITORIAL_MIN_EXAMPLES_ENFORCE: '1'
|
||||
Loading…
Add table
Add a link
Reference in a new issue