◐ Shell
clean mode source ↗

Tweak .codedoc.yml to make it more useful by berkerpeksag · Pull Request #71 · python/cpython

briancurtin

default:
threshold: 0.01
only_pulls: true
paths:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this means it only ends up being run for those directories, right? If so, that's good that it avoids being run on, e.g., Doc/* changes, but shouldn't it also run on directories like Objects/?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this means it only ends up being run for those directories, right?

Correct.

[...] but shouldn't it also run on directories like Objects/?

Good point. I'm reading docs again so I hopefully will have an answer :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

briancurtin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ok from what I understand of the docs (particularly the coverage/status/{changes|project} part), but I'd prefer to leave it to another set of eyes to approve.

brettcannon

- "Mac/**/*"
- "PC/**/*"
- "PCbuild/**/*"
- "Tools/**/*"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should add the Grammar directory.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, done.

@brettcannon

@berkerpeksag

@brettcannon

Then I say merge it and let python-dev (or -committers; wherever @Haypo emailed) know about the requisite change.

jaraco pushed a commit that referenced this pull request

Dec 2, 2022

lysnikolaou referenced this pull request in lysnikolaou/cpython

Apr 29, 2024
Test pasting with/without paste mode

This was referenced

Feb 11, 2025

AA-Turner added a commit to AA-Turner/cpython that referenced this pull request

Apr 19, 2025

@1nftf 1nftf mentioned this pull request

Nov 30, 2025