Add SQL, tabular data and LaTeX/Typst ecosystem profiles

オープン
#92 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
latex, python, sql
領域
testing, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
4
フォーク
1
平均マージ
10時間 41分
マージ済み PR(30日)
79

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cpp-best-practices/project_validator のほかの issue

cpp-best-practices/project_validator の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。