Skip to content

Commit

Permalink
Re-enable docs dir for isort
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Oct 3, 2023
1 parent 31b88a8 commit 74ee24c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pytest:
.PHONY: black
black:
poetry run black --check ${NORNIR_DIRS}
poetry run isort --profile black --check nornir tests
poetry run isort --profile black --check ${NORNIR_DIRS}

.PHONY: sphinx
sphinx:
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
import sys
from typing import Dict

from nornir import __version__

from sphinx.application import Sphinx

from nornir import __version__

sys.path.insert(0, os.path.abspath("../"))


Expand Down
2 changes: 0 additions & 2 deletions docs/highlighter.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from IPython.core.magic import register_line_magic
from IPython.display import HTML

from pygments import highlight
from pygments.formatters import HtmlFormatter
from pygments.lexers import get_lexer_for_filename


HTML_TEMPLATE = """<style>
{}
</style>
Expand Down

0 comments on commit 74ee24c

Please sign in to comment.