Add SQL, tabular data and LaTeX/Typst ecosystem profiles

Offen
#92 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
latex, python, sql
Bereich
testing, tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
4
Forks
1
Ø Merge
10 Std. 41 Min.
Gemergte PRs (30 T.)
79

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cpp-best-practices/project_validator

Alle Issues in cpp-best-practices/project_validator

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.