Skip to main content

contributing

Guide for contributing to the verified-sources repository

来源信息

仓库
dlt-hub/verified-sources
最近来源活动
2026年3月30日 19:43
检测到的 SKILL.md 语言
英语
星标
124
分支
87

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
contributing
description
Guide for contributing to the verified-sources repository
user_invocable
false
# Contributing to verified-sources When working on this repository, follow these guidelines from CONTRIBUTING.md and README.md: ## What is accepted - Bugfixes and improvements to existing sources - New sources ONLY if they cannot be easily implemented via REST API, sql_database, filesystem, or vibe coding - Accepted categories: queues/brokers, SAP/ERP/HEALTH, HR platforms, GraphQL ## Source structure - Each source is a self-contained folder under `sources/` - Source folder contains: Python modules with relative imports, `requirements.txt`, optional `README.md` - Pipeline demo script: `sources/<name>_pipeline.py` (outside the source folder) - Tests: `tests/<source_name>/` ## Development workflow 1. `make dev` to set up environment 2. Make changes to source code 3. Test with `python <source>_pipeline.py` from `sources/` folder 4. Run tests: `pytest tests/<source_name>` 5. Lint: `make lint-code` 6. Format: `make format-lint` ## PR requirements 1. Must pass linting (mypy, flake8) and formatting (black) 2. Google-style docstrings in all relevant sections 3. Code must be typed 4. Source folder must contain `requirements.txt` with versioned dlt dependency 5. Use relative imports in source modules 6. Tests must pass on duckdb and postgres 7. Add or update tests for significant changes ## Dependencies - Add source-specific deps with `uv add --group <source_name> <package>` - Also add to `requirements.txt` in the source folder - dlt dependency in requirements.txt: `dlt>=X.Y.Z,<X.Y+1.0` ## Secrets and config - All sources share config/credentials from `sources/.dlt/` - Use `sources.<source_name>` sections in secrets.toml
在 GitHub 查看