The template for `.pre-commit-config.yaml` has been updated

未关闭 适合新手
#437 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
78/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
冷清
技术栈
yaml
领域
tooling

调研方向

Compare .pre-commit-config.yaml in this repository with templates/.pre-commit-config.yaml from the .github repository, starting with the supplied diff. Apply the appropriate template changes, review the full diff for other missed conventions, and open a pull request; close the issue if none of the changes fit this repository.

由索引模型根据 Issue 内容生成。

描述

Templating

The template for .pre-commit-config.yaml has been updated; see the diff below. Please either:

  • Action this issue with a pull request applying some/all of these changes to .pre-commit-config.yaml[^1].
  • Close this issue if none of these changes are appropriate for this repo.

Also consider reviewing a full diff between the template and .pre-commit-config.yaml, in case other valuable shared conventions have previously been missed.

File Links

Diff

diff --git a/templates/.pre-commit-config.yaml b/templates/.pre-commit-config.yaml
index 2acfb31..8789a65 100644
--- a/templates/.pre-commit-config.yaml
+++ b/templates/.pre-commit-config.yaml
@@ -13,7 +13,7 @@ ci:
 # Alphabetised, for lack of a better order.
 files: |
     (?x)(
-        .github\/workflows\/.*|
+        .github\/.*|
         benchmarks\/.+\.py|
         docs\/.+\.py|
         lib\/.+\.py|

[^1]: Include this text in the PR body to avoid any prompts about applying your changes back to the template!
@scitools-templating: please no share prompt

主要语言
Jupyter Notebook
星标
30
派生
19
平均合并
9 天 1 小时
30 天内合并 PR
2

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

SciTools/python-stratify 的其他 Issue

查看 SciTools/python-stratify 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。