diff --git a/docs/conf.py b/docs/conf.py
index 70f2b6fbde..aef08afa82 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,6 +17,11 @@
#
import os
+import pipenv.vendor.click
+
+# Hackery to get the CLI docs to generate
+from pipenv.vendor import click
+
# Path hackery to get current version number.
here = os.path.abspath(os.path.dirname(__file__))
@@ -24,11 +29,6 @@
with open(os.path.join(here, "..", "pipenv", "__version__.py")) as f:
exec(f.read(), about)
-# Hackery to get the CLI docs to generate
-import click
-
-import pipenv.vendor.click
-
click.Command = pipenv.vendor.click.Command
click.Group = pipenv.vendor.click.Group
click.BaseCommand = pipenv.vendor.click.BaseCommand
@@ -80,7 +80,10 @@
# General information about the project.
project = "pipenv"
-copyright = '2020. A project founded by Kenneth Reitz and maintained by Python Packaging Authority (PyPA).'
+copyright = (
+ "2020. A project founded by Kenneth Reitz and maintained by "
+ 'Python Packaging Authority (PyPA).'
+)
author = "Python Packaging Authority"
# The version info for the project you're documenting, acts as replacement for
diff --git a/pyproject.toml b/pyproject.toml
index 23d836913c..e3c56a75b7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -136,7 +136,16 @@ lint.select = [
"W",
"YTT",
]
-lint.ignore = [ "B904", "PIE790", "PLR5501", "PLW2901" ]
+lint.ignore = [
+ "B904",
+ "PIE790",
+ "PLR0912", # Too many branches
+ "PLR0913", # Too many arguments
+ "PLR2004", # Magic numbers
+ "PLR5501",
+ "PLW2901",
+ "TID252", # Relative imports
+]
lint.per-file-ignores = { "pipenv/cli/command.py" = [
"F811",
], "pipenv/__init__.py" = [