@@ -9,19 +9,17 @@ authors = [
99 {name = " OpenStack" , email = " openstack-discuss@lists.openstack.org" },
1010]
1111readme = {file = " README.rst" , content-type = " text/x-rst" }
12- license = { text = " Apache-2.0" }
12+ license = " Apache-2.0"
1313dynamic = [" version" , " dependencies" ]
1414requires-python = " >=3.10"
1515classifiers = [
1616 " Development Status :: 5 - Production/Stable" ,
1717 " Environment :: OpenStack" ,
1818 " Intended Audience :: Information Technology" ,
1919 " Intended Audience :: System Administrators" ,
20- " License :: OSI Approved :: Apache Software License" ,
2120 " Operating System :: POSIX :: Linux" ,
2221 " Programming Language :: Python" ,
2322 " Programming Language :: Python :: 3" ,
24- " Programming Language :: Python :: 3.10" ,
2523 " Programming Language :: Python :: 3.11" ,
2624 " Programming Language :: Python :: 3.12" ,
2725 " Programming Language :: Python :: 3.13" ,
@@ -55,10 +53,8 @@ N536 = "neutron_lib.hacking.checks:assert_equal_none"
5553N537 = " neutron_lib.hacking.translation_checks:no_translate_logs"
5654N535 = " neutron_lib.hacking.checks:check_no_eventlet_imports"
5755
58- [tool .setuptools ]
59- packages = [
60- " neutron_lib"
61- ]
56+ [tool .setuptools .packages .find ]
57+ include = [" neutron_lib*" ]
6258
6359[tool .mypy ]
6460incremental = true
@@ -76,7 +72,8 @@ files = "neutron_lib"
7672line-length = 79
7773
7874[tool .ruff .lint ]
79- select = [" E4" , " E5" , " E7" , " E9" , " F" , " G" , " S" , " UP" ]
75+ select = [" C90" , " E" , " F" , " G" , " S" , " UP" , " W" ]
76+ preview = true
8077ignore = [
8178 " S104" , # Possible binding to all interfaces
8279 " S311" , # Suspicious non-cryptographic random usage
@@ -85,3 +82,6 @@ ignore = [
8582
8683[tool .ruff .lint .per-file-ignores ]
8784"neutron_lib/tests/*" = [" S" ]
85+
86+ [tool .ruff .lint .mccabe ]
87+ max-complexity = 16
0 commit comments