Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
ColCarroll committed Apr 3, 2024
1 parent 63bb4c8 commit cf38c6d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
22 changes: 2 additions & 20 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ unsafe-load-any-extension=no
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED.
confidence=

# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once). You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use "--disable=all --enable=classes
# --disable=W".
disable=bad-continuation

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
Expand Down Expand Up @@ -127,13 +116,6 @@ max-line-length=100
# Maximum number of lines in a module.
max-module-lines=1000

# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator

# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
single-line-class-stmt=no
Expand Down Expand Up @@ -491,5 +473,5 @@ min-public-methods=1

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception
1 change: 1 addition & 0 deletions ridge_map/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
"""A library for plotting ridges with ridges."""

__version__ = "0.0.4"
from .ridge_map import RidgeMap, FontManager
3 changes: 2 additions & 1 deletion ridge_map/ridge_map.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""3D maps with 1D lines."""

from urllib.request import urlopen
from tempfile import NamedTemporaryFile

Expand Down Expand Up @@ -255,7 +256,7 @@ def plot_map(
fontproperties=self.font,
size=label_size,
verticalalignment=label_verticalalignment,
bbox=dict(facecolor=background_color, alpha=1, linewidth=0),
bbox={"facecolor": background_color, "alpha": 1, "linewidth": 0},
zorder=len(values) + 10,
)

Expand Down

0 comments on commit cf38c6d

Please sign in to comment.