Skip to content

Commit b38dba5

Browse files
committed
Add distutils to tidy imports linter
1 parent 78f7c04 commit b38dba5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

templates/github/pyproject.toml.tool.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,11 @@ extend-select = [
7474
"TID",
7575
"T10",
7676
]
77-
{%- if plugin_name != "pulpcore" %}
7877

7978
[tool.ruff.lint.flake8-tidy-imports.banned-api]
8079
# This section is managed by the plugin template. Do not edit manually.
80+
"distutils".msg = "The 'distutils' module has been deprecated since Python 3.9."
81+
{%- if plugin_name != "pulpcore" %}
8182
"pulpcore.app".msg = "The 'pulpcore' apis must only be consumed via 'pulpcore.plugin'."
8283
{%- endif %}
8384

0 commit comments

Comments
 (0)