You've already forked httpie-cli
mirror of
https://github.com/httpie/cli.git
synced 2025-08-10 22:42:05 +02:00
Python 3 annotations, super(), pathlib, etc.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
class BasePlugin(object):
|
||||
class BasePlugin:
|
||||
|
||||
# The name of the plugin, eg. "My auth".
|
||||
name = None
|
||||
@@ -75,7 +75,7 @@ class TransportPlugin(BasePlugin):
|
||||
raise NotImplementedError()
|
||||
|
||||
|
||||
class ConverterPlugin(object):
|
||||
class ConverterPlugin:
|
||||
|
||||
def __init__(self, mime):
|
||||
self.mime = mime
|
||||
@@ -88,7 +88,7 @@ class ConverterPlugin(object):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class FormatterPlugin(object):
|
||||
class FormatterPlugin:
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
"""
|
||||
|
@@ -12,7 +12,7 @@ ENTRY_POINT_NAMES = [
|
||||
]
|
||||
|
||||
|
||||
class PluginManager(object):
|
||||
class PluginManager:
|
||||
|
||||
def __init__(self):
|
||||
self._plugins = []
|
||||
|
Reference in New Issue
Block a user