Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove six #369

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions rubin_sim/utils/spatial_bounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
__all__ = ("SpatialBounds", "CircleBounds", "BoxBounds")

import numpy as np
from six import with_metaclass


class SpatialBoundsMetaClass(type):
Expand All @@ -31,7 +30,7 @@ def __init__(cls, name, bases, dct):
return super(SpatialBoundsMetaClass, cls).__init__(name, bases, dct)


class SpatialBounds(with_metaclass(SpatialBoundsMetaClass, object)):
class SpatialBounds(metaclass=SpatialBoundsMetaClass):
"""
Classes inheriting from this class define spatial bounds on the objects
contained within a catalog. They also translate those bounds into
Expand Down
Loading