Skip to content

Commit

Permalink
Format code with black and isort (#30)
Browse files Browse the repository at this point in the history
* Format code with black and isort

This commit fixes the style issues introduced in 2c9b750 according to the output
from black and isort.

Details: https://deepsource.io/gh/digimach/cookiecutter-python-package/transform/785feaf3-ba29-430c-a5dd-a32a25b5f8c4/

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Co-authored-by: Komail Kanjee <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 8, 2022
1 parent 120c5ae commit a9c39da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion {{cookiecutter.project_slug}}/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@

# -- Path setup --------------------------------------------------------------

import datetime

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
import datetime
from importlib import import_module

sys.path.insert(0, os.path.abspath("../src"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
my_script = {{ cookiecutter.project_slug }}.cli:main
"""
import pkgutil
import importlib
import pathlib
import pkgutil
import sys

for module in pkgutil.iter_modules(path=[pathlib.Path(__file__).parent.absolute()]):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""
import platform
import sys

import click

from .. import __version__
Expand Down

0 comments on commit a9c39da

Please sign in to comment.