Add pyupgrade to pre-commit configuration (#1783)

To help us switch to f-strings and other 3.6+ changes, add pyupgrade to
our pre-commit configuration to keep the codebase clean.
This commit is contained in:
Steve Kowalik
2020-12-15 14:07:33 +11:00
committed by GitHub
parent 2432cffd3b
commit e113e37de1
220 changed files with 383 additions and 815 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
############################ Copyrights and license ############################
# #
# Copyright 2012 Vincent Jacques <vincent@vincent-jacques.net> #
@@ -31,7 +29,7 @@
import github.GithubObject
class InputFileContent(object):
class InputFileContent:
"""
This class represents InputFileContents
"""