Skip to content

Commit

Permalink
Merge pull request #5994 from pradyunsg/misc/linter-fix
Browse files Browse the repository at this point in the history
Fix minor linting issues
  • Loading branch information
pradyunsg committed Nov 8, 2018
2 parents 28cfd7d + 0c6e937 commit b0f06c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ include pyproject.toml

include src/pip/_vendor/README.rst
include src/pip/_vendor/vendor.txt
recursive-include src/pip/_vendor/ *LICENSE*
recursive-include src/pip/_vendor/ *COPYING*
recursive-include src/pip/_vendor *LICENSE*
recursive-include src/pip/_vendor *COPYING*

include docs/docutils.conf

Expand Down
4 changes: 3 additions & 1 deletion docs/pip_sphinxext.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class PipCommandUsage(rst.Directive):

def run(self):
cmd = commands[self.arguments[0]]
usage = dedent(cmd.usage.replace('%prog', 'pip {}'.format(cmd.name))).strip()
usage = dedent(
cmd.usage.replace('%prog', 'pip {}'.format(cmd.name))
).strip()
node = nodes.literal_block(usage, usage)
return [node]

Expand Down

0 comments on commit b0f06c8

Please sign in to comment.