Add SQL, tabular data and LaTeX/Typst ecosystem profiles

Aberta
#92 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
latex, python, sql
Domínio
testing, tooling

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
4
Forks
1
Merge médio
10h 41min
PRs com merge (30d)
79

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de cpp-best-practices/project_validator

Todas as issues de cpp-best-practices/project_validator

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.