diff --git a/.isort.cfg b/.isort.cfg index e409e00..5e5af7f 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -10,7 +10,6 @@ known_third_party = pytz, requests, simplejson, - six, sphinx, stix2patterns, taxii2client, diff --git a/docs/conf.py b/docs/conf.py index 9723e39..5d12af3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -4,7 +4,6 @@ import os import re import sys -from six import class_types from sphinx.ext.autodoc import ClassDocumenter from stix2.base import _STIXBase @@ -107,7 +106,7 @@ class STIXPropertyDocumenter(ClassDocumenter): @classmethod def can_document_member(cls, member, membername, isattr, parent): - return isinstance(member, class_types) and \ + return isinstance(member, type) and \ issubclass(member, _STIXBase) and \ hasattr(member, '_properties')