OpenStack library for rootwrap
Go to file
Takashi Kajinami 863f06f1a6 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_rootwrap

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

Change-Id: I5964917e735e11f9979ee95e92243bf012edcdbf
2024-10-21 19:56:49 +09:00
benchmark Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:56:49 +09:00
doc Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:56:49 +09:00
etc Always close all passed in fds beyond sensible_fd_limit on launch 2019-03-23 11:30:30 +01:00
oslo_rootwrap Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:56:49 +09:00
releasenotes Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:56:49 +09:00
.coveragerc Display coverage report 2024-02-07 12:23:41 +09:00
.gitignore ignore reno generated artifacts 2020-09-03 14:19:23 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:40:43 +00:00
.pre-commit-config.yaml Run pyupgrade to clean up Python 2 syntaxes 2024-10-21 19:56:49 +09:00
.stestr.conf Switch to stestr 2018-07-03 16:00:44 +07:00
.zuul.yaml Update CI to use unversioned jobs template 2022-03-15 15:07:42 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:29:28 +02:00
LICENSE Add standalone project packaging support files 2013-11-21 16:25:23 +01:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-24 19:10:25 +08:00
requirements.txt Bump hacking 2024-01-26 01:19:47 +09:00
setup.cfg Declare Python 3.12 support 2024-10-10 13:44:14 +09:00
setup.py remove outdated header 2020-02-10 18:35:20 +01:00
test-requirements.txt pre-commit: Bump versions 2024-10-21 10:56:05 +00:00
tox.ini pre-commit: Bump versions 2024-10-21 10:56:05 +00:00

Team and repository tags

image

oslo.rootwrap -- Escalated Permission Control

Latest Version

Downloads

oslo.rootwrap allows fine-grained filtering of shell commands to run as root from OpenStack services.