#36162: Docs make black doesn't work on MacOS
----------------------------------------+------------------------------
               Reporter:  Mike Edmunds  |          Owner:  Mike Edmunds
                   Type:  Bug           |         Status:  assigned
              Component:  Packaging     |        Version:  5.1
               Severity:  Normal        |       Keywords:
           Triage Stage:  Unreviewed    |      Has patch:  0
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
                  UI/UX:  0             |
----------------------------------------+------------------------------
 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).

 {{{#!shell
 % (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
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36162>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070194bde70a5f-ffaee6b2-7a1d-4075-b18b-34e99a73dc7f-000000%40eu-central-1.amazonses.com.

Reply via email to