Skip to content

Commit

Permalink
Remove inheritance from object base
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki authored and YannickJadoul committed Feb 4, 2020
1 parent 272498b commit d0e88d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cibuildwheel/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def split_env_items(env_string):
return result


class EnvironmentAssignment(object):
class EnvironmentAssignment:
def __init__(self, assignment):
name, equals, value = assignment.partition('=')
if not equals:
Expand All @@ -60,7 +60,7 @@ def __repr__(self):
return '%s=%s' % (self.name, self.value)


class ParsedEnvironment(object):
class ParsedEnvironment:
def __init__(self, assignments):
self.assignments = assignments

Expand Down
4 changes: 2 additions & 2 deletions cibuildwheel/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_build_verbosity_extra_flags(level):
return []


class BuildSelector(object):
class BuildSelector:
def __init__(self, build_config, skip_config):
self.build_patterns = build_config.split()
self.skip_patterns = skip_config.split()
Expand All @@ -38,7 +38,7 @@ def __repr__(self):


# Taken from https://stackoverflow.com/a/107717
class Unbuffered(object):
class Unbuffered:
def __init__(self, stream):
self.stream = stream

Expand Down
2 changes: 1 addition & 1 deletion unit_test/main_util_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from cibuildwheel import linux, macos, windows, util


class ArgsInterceptor(object):
class ArgsInterceptor:
def __call__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
Expand Down

0 comments on commit d0e88d3

Please sign in to comment.