Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log which python version was used during compile #828

Merged
merged 6 commits into from
Jun 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and ssbarnea committed Jun 9, 2021
commit 5624c39fb1d4006c2990db75ace8a589dd49314d
4 changes: 2 additions & 2 deletions piptools/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def write_header(self) -> Iterator[str]:
if self.emit_header:
yield comment("#")
yield comment("# This file is autogenerated by pip-compile on:")
for line in sys.version.split('\n'):
yield comment("# {}".format(line))
for line in sys.version.split("\n"):
yield comment(f"# {line}")
yield comment("# To update, run:")
yield comment("#")
compile_command = os.environ.get(
Expand Down