Closed keewis closed 3 years ago
the missing options are:
-c
/ --code
: formatting a string (not sure how useful this is for blackdoc
)-S
/ --skip-string-normalization
: don't normalize string quotes or prefixes (#59)--diff
: format changes as diff without writing back to disk (#56)--color
/ --no-color
: colored diff (#56)--force-exclude
: exclude even if explicitly included (#49)also missing:
Since we're using a internal function of
black
to find the files to format and that function was renamed in the recent release,blackdoc
fails. To fix that, we need togen_python_files
instead ofgen_python_files_in_dir
(but in a backwards compatible way, or vendor it?)black
as possible: they added new CLI options