10000 Infra: Fix non-PEP txt files being included and erroring out the build by CAM-Gerlach · Pull Request #2405 · python/peps · GitHub
[go: up one dir, main page]

Skip to content
8000

Infra: Fix non-PEP txt files being included and erroring out the build #2405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Infra: Fix non-PEP txt files being included and erroring out the build
  • Loading branch information
CAM-Gerlach committed Mar 10, 2022
commit 00dd9f4fc190561fd9968cc22b49399a1270b297
10 changes: 10 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@

# List of patterns (relative to source dir) to ignore when looking for source files.
exclude_patterns = [
# .txt files in subdirs
"**/*.txt",
# .txt files in the root not matching PEP pattern
"*[!0-9].txt",
"*[!0-9]?.txt",
"*[!0-9]??.txt",
"*[!0-9]???.txt",
"*[!p]?????.txt",
"*[!e]??????.txt",
"*[!p]???????.txt",
# Windows:
"Thumbs.db",
".DS_Store",
Expand Down
0