OpenStack library for config
Go to file
Takashi Kajinami c12e49fabb Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

pep8 errors are fixed by
 $ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
    --in-place oslo_config

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: I0c88bddde6979e3626a18be1e31905cc5f8c4e86
2024-10-21 19:42:59 +09:00
doc Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:42:59 +09:00
oslo_config Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:42:59 +09:00
releasenotes Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:42:59 +09:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:20:49 -04:00
.gitignore mypy: Add boilerplate configuration 2020-02-12 09:56:58 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:35:49 +00:00
.pre-commit-config.yaml Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:42:59 +09:00
.stestr.conf Migrating oslo.config to use stestr 2019-01-15 16:15:34 +08:00
.zuul.yaml Moves supported python runtimes from version 3.8 to 3.10 2023-04-10 13:03:19 +09:00
bindep.txt [ussuri][goal] Drop python 2.7 support and testing 2020-02-03 15:12:02 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:21:14 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:32:03 +08:00
LICENSE Add LICENSE file 2013-02-17 09:25:32 +00:00
README.rst update source link in readme 2019-10-15 10:53:35 +08:00
requirements.txt Bump hacking 2024-01-16 22:24:36 +09:00
setup.cfg Declare Python 3.12 support 2024-10-09 22:37:20 +09:00
setup.py remove outdated header 2020-02-10 18:34:03 +01:00
test-requirements.txt pre-commit: Bump versions 2024-10-21 19:41:52 +09:00
tox.ini pre-commit: Bump versions 2024-10-21 19:41:52 +09:00

Team and repository tags

image

Oslo Configuration Library

Latest Version

Downloads

The Oslo configuration API supports parsing command line arguments and .ini style configuration files.