跳到正文
cccskills
免费在 GitHub 公开

djls-resolver-corpus

Maintain the ported ty resolver test corpus in crates/djls-project/tests/resolve.rs. Use when bumping the ruff git pin in the workspace Cargo.toml or when adding/reviewing module-resolution tests.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server星标 207(GitHub 207 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

DJLS Resolver Corpus

Use this when maintaining the ported module-resolution tests in crates/djls-project/tests/resolve.rs.

Provenance

crates/djls-project/tests/resolve.rs ports module-resolution tests from ty's resolver in astral-sh/ruff:

  • crates/ty_module_resolver/src/resolve.rs
  • crates/ty_module_resolver/src/path.rs
  • crates/ty_module_resolver/src/list.rs

Each ported test should carry a // ty:<file>::<name> provenance comment that points back to the source test.

Runtime expectations

Correct expectations where ty's typechecker semantics diverge from CPython's import system:

  • Stubs and typeshed never apply.
  • Namespace packages resolve.

Ruff pin bumps

When bumping the ruff git rev in the workspace Cargo.toml, diff the ty resolver test files between the old and new revs. Triage added or changed tests into one of these outcomes:

  • Port as-is.
  • Port with runtime-corrected expectations.
  • Skip typechecker-only cases.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

dex

免费

Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

Use when adding release notes, changelog entries, user-facing changes, internal changelog notes, or preparing a PR/release for django-language-server. Handles Keep a Changelog formatting and entry style.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

Use when editing Django template parser tags, validation errors, diagnostics, environment scanning, inspector data, Python environment inventory, or DJLS domain model code. Handles project-specific semantic and parser conventions.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

Use when editing djls-extraction or Rust code that consumes Ruff Python AST APIs, including parse_module, parameters, boxed expressions, f-strings, or exception handlers. Handles known Ruff AST shape gotchas in django-language-server.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

Use when editing Salsa inputs, tracked functions, database traits, setters, SemanticDb, crate::Db, invalidation behavior, or incremental computation in django-language-server. Handles project-specific Salsa conventions and required impl updates.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

Use when running tests, fixing failing tests, updating snapshots, syncing corpus data, validating before push, or working with Django matrix testing in django-language-server. Handles cargo, just, nox, insta, corpus, clippy, fmt, and lint commands.

中文简介正在准备中。当前显示原文说明。

joshuadavidthomas/django-language-server2072026年10月22日 更新

查看 joshuadavidthomas 的全部技能

报告此技能的问题