setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated options in 'setup.cfg' will not be supported in a future version [1]. Get ahead of the issue by replacing the dashes with underscores. Without this, we see 'UserWarning' messages like the following on new enough versions of setuptools: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I54d4f816d8de765035aa1607740345c13f9b6cc9
This commit is contained in:
parent
6815b0fb1f
commit
066263b8d0
14
setup.cfg
14
setup.cfg
|
@ -1,11 +1,11 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
name = ansible-role-collect-logs
|
name = ansible-role-collect-logs
|
||||||
summary = ansible-role-collect-logs - An Ansible role for aggregating logs from different nodes.
|
summary = ansible-role-collect-logs - An Ansible role for aggregating logs from different nodes.
|
||||||
description-file =
|
description_file =
|
||||||
README.rst
|
README.rst
|
||||||
author = TripleO Team
|
author = TripleO Team
|
||||||
author-email = openstack-discuss@lists.openstack.org
|
author_email = openstack-discuss@lists.openstack.org
|
||||||
home-page = https://opendev.org/openstack/ansible-role-collect-logs
|
home_page = https://opendev.org/openstack/ansible-role-collect-logs
|
||||||
classifier =
|
classifier =
|
||||||
License :: OSI Approved :: Apache Software License
|
License :: OSI Approved :: Apache Software License
|
||||||
Development Status :: 4 - Beta
|
Development Status :: 4 - Beta
|
||||||
|
@ -15,7 +15,7 @@ classifier =
|
||||||
Topic :: Utilities
|
Topic :: Utilities
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
setup-hooks =
|
setup_hooks =
|
||||||
pbr.hooks.setup_hook
|
pbr.hooks.setup_hook
|
||||||
|
|
||||||
[files]
|
[files]
|
||||||
|
@ -36,9 +36,9 @@ skip_changelog = True
|
||||||
[flake8]
|
[flake8]
|
||||||
# black compatible settings
|
# black compatible settings
|
||||||
# https://black.readthedocs.io/en/stable/the_black_code_style.html
|
# https://black.readthedocs.io/en/stable/the_black_code_style.html
|
||||||
max-line-length = 88
|
max_line_length = 88
|
||||||
extend-ignore = E203,E501,W503,BLK100
|
extend_ignore = E203,E501,W503,BLK100
|
||||||
show-source = True
|
show_source = True
|
||||||
builtins = _
|
builtins = _
|
||||||
|
|
||||||
[isort]
|
[isort]
|
||||||
|
|
Loading…
Reference in New Issue