mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 14:38:38 +00:00
Upgrade codebase with pyupgrade (>=py3.6)
Added pyupgrade utility with manual stage to pre-commit and run on all files. Ref: https://github.com/asottile/pyupgrade Closes: deluge-torrent/deluge#326
This commit is contained in:
parent
16895b4a49
commit
ec0bcc11f5
261 changed files with 440 additions and 713 deletions
|
@ -1,4 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Deluge documentation build configuration file
|
||||
#
|
||||
|
@ -219,7 +218,7 @@ latex_documents = [
|
|||
|
||||
# Autodoc section
|
||||
# ---------------
|
||||
class Mock(object):
|
||||
class Mock:
|
||||
|
||||
__all__ = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue