Skip to content

Declare support for Python 3.11 #1541

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

Merged
merged 4 commits into from
Jan 17, 2023
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
Upgrade Python syntax with pyupgrade --py37-plus
  • Loading branch information
hugovk committed Jan 15, 2023
commit 496c69c5328b366ff3b86e25652683e528eec034
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def make_release_tree(self, base_dir: str, files: Sequence) -> None:
def _stamp_version(filename: str) -> None:
found, out = False, []
try:
with open(filename, "r") as f:
with open(filename) as f:
for line in f:
if "__version__ =" in line:
line = line.replace("\"git\"", "'%s'" % VERSION)
Expand Down