On the first pass, these hyperlinks are pushed to the next line with an additional newline above them.
On the second pass, another newline is added above them.
On the third pass, docformatter doesn't make additional changes.
❯ cat test.py
"""Django settings for webapp project.
Generated by 'django-admin startproject' using Django 4.1.1.
For more information on this file, see https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see https://docs.djangoproject.com/en/4.1/ref/settings/
"""
❯ pre-commit run docformatter --files test.py
docformatter.............................................................Failed
- hook id: docformatter
- exit code: 3
❯ cat test.py
"""Django settings for webapp project.
Generated by 'django-admin startproject' using Django 4.1.1.
For more information on this file, see
https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
❯ pre-commit run docformatter --files test.py
docformatter.............................................................Failed
- hook id: docformatter
- exit code: 3
❯ cat test.py
"""Django settings for webapp project.
Generated by 'django-admin startproject' using Django 4.1.1.
For more information on this file, see
https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
❯ pre-commit run docformatter --files test.py
docformatter.............................................................Passed
❯
Ran v1.6.1 and encountered this situation.
docformatter
doesn't make additional changes.