Update setup and tox config
Change-Id: Ie14902a25f7bc958683ea9acad42970e533995a8
This commit is contained in:
parent
34b96be03b
commit
f3b4c830f5
@ -7,6 +7,7 @@ long_description_content_type = text/markdown
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/sushy/latest/
|
||||
python_requires = >=3.8
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -16,10 +17,10 @@ classifier =
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3.11
|
||||
|
||||
[files]
|
||||
packages =
|
||||
|
@ -138,7 +138,7 @@ VFDD\
|
||||
@property
|
||||
@sushy_utils.cache_it
|
||||
def idrac_card_service(self):
|
||||
"""Property to reference `DelliDRACCardService` instance of this manager.
|
||||
"""Reference to `DelliDRACCardService` instance of this manager.
|
||||
|
||||
"""
|
||||
path = sushy_utils.get_sub_resource_path_by(
|
||||
|
12
tox.ini
12
tox.ini
@ -1,12 +1,13 @@
|
||||
[tox]
|
||||
minversion = 3.18.0
|
||||
minversion = 4.4.0
|
||||
envlist = py3,pep8
|
||||
ignore_basepython_conflict=true
|
||||
|
||||
[testenv]
|
||||
basepython = python3
|
||||
constrain_package_deps = true
|
||||
usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
basepython = python3
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
@ -18,9 +19,10 @@ commands = stestr run --slowest {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
deps =
|
||||
hacking>=4.1.0,<5.0.0 # Apache-2.0
|
||||
flake8-import-order>=0.17.1 # LGPLv3
|
||||
pycodestyle>=2.0.0,<3.0.0 # MIT
|
||||
hacking~=6.0.0 # Apache-2.0
|
||||
flake8-import-order>=0.17.1 # LGPLv3
|
||||
pycodestyle>=2.0.0,<3.0.0 # MIT
|
||||
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
commands = flake8 {posargs}
|
||||
|
||||
[testenv:venv]
|
||||
|
Loading…
Reference in New Issue
Block a user