Skip to content

Commit dee71ce

Browse files
committed
Run lint on code base
1 parent a118afe commit dee71ce

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

docs/pip_sphinxext.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ def run(self):
5858
self.lineno - self.state_machine.input_offset - 1,
5959
)
6060
path = (
61-
pathlib.Path(source)
62-
.resolve()
63-
.parent
64-
.joinpath(self.arguments[0])
65-
.resolve()
61+
pathlib.Path(source).resolve().parent.joinpath(self.arguments[0]).resolve()
6662
)
6763
include_lines = statemachine.string2lines(
6864
path.read_text(encoding="utf-8"),
@@ -303,5 +299,5 @@ def setup(app: Sphinx) -> None:
303299
app.add_directive(
304300
"pip-requirements-file-options-ref-list", PipReqFileOptionsReference
305301
)
306-
app.add_directive('pip-news-include', PipNewsInclude)
302+
app.add_directive("pip-news-include", PipNewsInclude)
307303
app.add_directive("pip-cli", PipCLIDirective)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
Update "setuptools extras" link to match upstream.
2-

0 commit comments

Comments
 (0)