Drop support for retired Python 3.5

Upgrade syntax using `pyupgrade --py36-plus` .

Manually drop several `six` imports.

Also:
- Remove broken pr_cache in scripts/bootstrap_history.py
- Fix broken prefix removal in lib/galaxy/tool_util/deps/mulled/mulled_build.py
This commit is contained in:
Nicola Soranzo
2020-10-07 11:52:13 +01:00
parent 57d6a3857d
commit 9d74bba7fb
622 changed files with 1918 additions and 2175 deletions
+1 -3
View File
@@ -1,5 +1,3 @@
from __future__ import print_function
import os
from xml.etree import ElementTree as ET
@@ -36,7 +34,7 @@ def getfilenamelist(startdir):
return filenamelist
class ToolBox(object):
class ToolBox:
def __init__(self):
from collections import defaultdict
self.tools = defaultdict(list)