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

Fix black action arguments + formatting #9

Merged
merged 3 commits into from
May 25, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
- uses: actions/setup-python@v2
- uses: psf/black@stable
with:
args: ". --check"
options: "--check"
src: "."
- name: docstrings
run: |
pip install flit
Expand Down
3 changes: 2 additions & 1 deletion {{cookiecutter.github_project_name}}/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#
import os
import sys

sys.path.insert(0, os.path.abspath('../{{ cookiecutter.python_package_name }}'))


Expand All @@ -37,7 +38,7 @@
"numpydoc",
'sphinx.ext.autodoc',
'sphinx.ext.inheritance_diagram',
'autoapi.sphinx'
'autoapi.sphinx',
]

sphinx_gallery_conf = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
# Copyright (c) {{ cookiecutter.author_name }}.
# Distributed under the terms of the Modified BSD License.

# Must import __version__ first to avoid errors importing this file during the build process.
# Must import __version__ first to avoid errors importing this file during the build process.
# See https://github.com/pypa/setuptools/issues/1724#issuecomment-627241822
from ._version import __version__

from .example import example_function

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def example_function(ax, data, above_color="r", below_color="k", **kwargs):
The color of points with `y>0`
below_color : color-like, default: 'k'
The color of points with `y<0`
kwargs :
**kwargs
Passed through to `ax.scatter`

Returns
Expand Down