Docs make black doesn't work on MacOS
The docs make black
target doesn't work on MacOS (and presumably other BSD) due to differences in the find command. This complicates checking docs locally (or in general investigating issues with blacken-docs).
% (cd docs; make black)
find -name "*.txt" -not -path "./_build/*" -not -path "./_theme/*" \
| xargs blacken-docs --rst-literal-block; echo $? > "_build/black/output.txt"
find: illegal option -- n
usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression]
find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]
% uname -a
Darwin --- 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 arm64
Change History
(6)
Triage Stage: |
Unreviewed → Accepted
|
Version: |
5.1 → dev
|
Triage Stage: |
Accepted → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Thank you Edmund, patch looks great!