psf / black

The uncompromising Python code formatter
https://black.readthedocs.io/en/stable/
MIT License
38.86k stars 2.45k forks source link

no info about setting by default #4374

Open ArtemIsmagilov opened 5 months ago

ArtemIsmagilov commented 5 months ago

There is no information in the documentation about the default black parameters Does not exists info - https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#exclude Isort have this info - https://pycqa.github.io/isort/docs/configuration/options.html#skip

ArtemIsmagilov commented 5 months ago

here you can add information about default values https://github.com/psf/black?tab=readme-ov-file#configuration

ArtemIsmagilov commented 5 months ago

I found information in the source code, it is difficult to read. Still, it’s better to make it readable and indicate in the documentation the ability to use default parameters https://github.com/psf/black/blob/main/src/black/const.py

JelleZijlstra commented 5 months ago

Agree this would be useful to add to the configuration page on the docs.