Add SQL, tabular data and LaTeX/Typst ecosystem profiles

Aperta
#92 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
latex, python, sql
Ambito
testing, tooling

Direzione di ricerca

Read the language profile implementation and the content detection work in #63, then inspect tests/test_ecosystem_contract.py and its existing fixtures. Add well-configured and bare fixtures for SQL, tabular data, LaTeX, and Typst, with profile rules matching the issue’s recognition patterns. Done when the contract tests cover both fixture types for each ecosystem and pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Profiles

Smaller profiles, one module each, grouped here because each supplies only a few rules. Each can be split into its own issue when it is started.

Ecosystem Recognised by Rules
SQL / migrations *.sql under migrations/ / db/migrate/, flyway.conf, liquibase.properties, atlas.hcl, sqlfluff configuration code-formatting and compiler-warnings: sqlfluff (.sqlfluff, sqlfluff lint); new migration-safety: squawk or atlas migrate lint in CI
Tabular data datapackage.json, Table Schema files, dvc.yaml schema-validation: frictionless validate in CI; later large-files: big data files are in DVC or Git LFS, not committed directly
LaTeX *.tex with \documentclass, .latexmkrc tests-run: CI compiles the document (latexmk, xu-cheng/latex-action); compiler-warnings: chktex; code-formatting: latexindent; vcs-ignore: *.aux, *.log, *.synctex.gz, and the built PDF
Typst *.typ tests-run: typst compile in CI; code-formatting: typstyle

Content detection (#63) keeps a stray .sql or .tex file from making a project one of these.

Definition of done

As for language profiles: a well-configured and a bare fixture per ecosystem, held by tests/test_ecosystem_contract.py.

Lingua principale
Python
Stelle
4
Fork
1
Merge medio
10h 41m
PR unite (30g)
79

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cpp-best-practices/project_validator

Tutte le issue di cpp-best-practices/project_validator

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.