diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-20 20:33:17 +0000 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-03-20 20:43:26 +0000 |
| commit | 38c7a6ed5d62f4ee93ee37717b89ed8bbce8a4d1 (patch) | |
| tree | 7fefb1699ab639a0cb708b8e539245d9202717ef /setuptools | |
| parent | 32caf7312860ecdb54a5d70067f2c0a914c73b25 (diff) | |
| download | python-setuptools-git-38c7a6ed5d62f4ee93ee37717b89ed8bbce8a4d1.tar.gz | |
Use blank lines to emphasize warnings
This matches the level of emphasis used by distutils.
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/config/_apply_pyprojecttoml.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/config/_apply_pyprojecttoml.py b/setuptools/config/_apply_pyprojecttoml.py index 300b5d71..c8ddab4b 100644 --- a/setuptools/config/_apply_pyprojecttoml.py +++ b/setuptools/config/_apply_pyprojecttoml.py @@ -149,8 +149,8 @@ def _project_urls(dist: "Distribution", val: dict, _root_dir): # Let's add a warning before distutils check to help users understand the problem: if not dist.metadata.url: msg = ( - "Missing `Homepage` url. It is advisable to link some kind of reference " - "for your project (e.g. source code or documentation)." + "Missing `Homepage` url.\nIt is advisable to link some kind of reference " + "for your project (e.g. source code or documentation).\n" ) _logger.warning(msg) _set_config(dist, "project_urls", val.copy()) |
