forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-106948: Add Doc/nitpick_ignore.yml config file
Maintaining nitpick_ignore Python list in conf.py is a burden. Add a YAML configuration file which is easier to maintain. Ignore also standard C types in the "c:identifier" domain.
- Loading branch information
Showing
4 changed files
with
109 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# nitpick_ignore of Sphinx conf.py | ||
|
||
# Standard C functions | ||
functions: | ||
- calloc | ||
- dlopen | ||
- exec | ||
- fcntl | ||
- fork | ||
- free | ||
- gmtime | ||
- localtime | ||
- main | ||
- malloc | ||
- printf | ||
- realloc | ||
- snprintf | ||
- sprintf | ||
- stat | ||
- system | ||
- vsnprintf | ||
|
||
# Standard C types | ||
types: | ||
- FILE | ||
- __int | ||
- intmax_t | ||
- off_t | ||
- ptrdiff_t | ||
- siginfo_t | ||
- size_t | ||
- ssize_t | ||
- time_t | ||
- uintmax_t | ||
- va_list | ||
- wchar_t | ||
|
||
# Standard C macros | ||
macros: | ||
- LLONG_MAX | ||
- LLONG_MIN | ||
- LONG_MAX | ||
- LONG_MIN | ||
|
||
# Standard C variables | ||
variables: | ||
- errno | ||
|
||
# Standard environment variables | ||
envvars: | ||
- BROWSER | ||
- COLUMNS | ||
- COMSPEC | ||
- DISPLAY | ||
- HOME | ||
- HOMEDRIVE | ||
- HOMEPATH | ||
- IDLESTARTUP | ||
- LANG | ||
- LANGUAGE | ||
- LC_ALL | ||
- LC_COLLATE | ||
- LC_CTYPE | ||
- LC_MESSAGES | ||
- LC_MONETARY | ||
- LC_NUMERIC | ||
- LC_TIME | ||
- LINES | ||
- LOGNAME | ||
- PAGER | ||
- PATH | ||
- PATHEXT | ||
- SOURCE_DATE_EPOCH | ||
- TEMP | ||
- TERM | ||
- TMP | ||
- TMPDIR | ||
- TZ | ||
- USER | ||
- USERNAME | ||
- USERPROFILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters