Remove inheritance from object base
This commit is contained in:
committed by
Yannick Jadoul
parent
e8d121552c
commit
48055273f1
@@ -41,7 +41,7 @@ def split_env_items(env_string):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
class EnvironmentAssignment(object):
|
class EnvironmentAssignment:
|
||||||
def __init__(self, assignment):
|
def __init__(self, assignment):
|
||||||
name, equals, value = assignment.partition('=')
|
name, equals, value = assignment.partition('=')
|
||||||
if not equals:
|
if not equals:
|
||||||
@@ -60,7 +60,7 @@ class EnvironmentAssignment(object):
|
|||||||
return '%s=%s' % (self.name, self.value)
|
return '%s=%s' % (self.name, self.value)
|
||||||
|
|
||||||
|
|
||||||
class ParsedEnvironment(object):
|
class ParsedEnvironment:
|
||||||
def __init__(self, assignments):
|
def __init__(self, assignments):
|
||||||
self.assignments = assignments
|
self.assignments = assignments
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ def get_build_verbosity_extra_flags(level):
|
|||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
||||||
class BuildSelector(object):
|
class BuildSelector:
|
||||||
def __init__(self, build_config, skip_config):
|
def __init__(self, build_config, skip_config):
|
||||||
self.build_patterns = build_config.split()
|
self.build_patterns = build_config.split()
|
||||||
self.skip_patterns = skip_config.split()
|
self.skip_patterns = skip_config.split()
|
||||||
@@ -38,7 +38,7 @@ class BuildSelector(object):
|
|||||||
|
|
||||||
|
|
||||||
# Taken from https://stackoverflow.com/a/107717
|
# Taken from https://stackoverflow.com/a/107717
|
||||||
class Unbuffered(object):
|
class Unbuffered:
|
||||||
def __init__(self, stream):
|
def __init__(self, stream):
|
||||||
self.stream = stream
|
self.stream = stream
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import subprocess
|
|||||||
from cibuildwheel import linux, macos, windows, util
|
from cibuildwheel import linux, macos, windows, util
|
||||||
|
|
||||||
|
|
||||||
class ArgsInterceptor(object):
|
class ArgsInterceptor:
|
||||||
def __call__(self, *args, **kwargs):
|
def __call__(self, *args, **kwargs):
|
||||||
self.args = args
|
self.args = args
|
||||||
self.kwargs = kwargs
|
self.kwargs = kwargs
|
||||||
|
|||||||
Reference in New Issue
Block a user