Skip to content

Commit

Permalink
Remove unused six imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Jul 27, 2023
1 parent 2cb91df commit 730a2c7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions brian2genn/genn_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
The code generator for the "genn" language. This is mostly C++ with some specific
decorators (mainly "__host__ __device__") to allow operation in a CUDA context.
'''

from six import iteritems
from brian2.utils.stringtools import (deindent, stripped_deindented_lines,
word_substitute)
from brian2.utils.logger import get_logger
Expand Down
1 change: 0 additions & 1 deletion brian2genn/sphinxext/briandoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import inspect
from docutils import statemachine
from docutils.parsers.rst import directives, Directive
from six import iteritems

import sphinx
from sphinx.roles import XRefRole
Expand Down
1 change: 0 additions & 1 deletion brian2genn/sphinxext/docscrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import textwrap
import re
import pydoc
from six import iteritems, iterkeys
from warnings import warn

from sphinx.pycode import ModuleAnalyzer
Expand Down
1 change: 0 additions & 1 deletion brian2genn/sphinxext/docscrape_sphinx.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import re, inspect, textwrap, pydoc
import sphinx
from sphinx.pycode import ModuleAnalyzer
from six import iteritems
from .docscrape import NumpyDocString, FunctionDoc, ClassDoc

class SphinxDocString(NumpyDocString):
Expand Down

0 comments on commit 730a2c7

Please sign in to comment.