Skip to content

Commit

Permalink
suppress linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Leighton Pritchard committed Dec 8, 2019
1 parent fee83b4 commit 5d9def5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyani/pyani_graphics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@

import matplotlib # pylint: disable=C0411

from . import mpl # matplotlib wrappers
from . import sns # seaborn wrappers
from . import mpl # noqa: F401 # matplotlib wrappers
from . import sns # noqa: F401 # seaborn wrappers

# Specify matplotlib backend. This *must* be done before pyplot import, but
# raises errors with flake8 etc. So we comment out the specific error
matplotlib.use("Agg")
import matplotlib.pyplot as plt # noqa: E402 # pylint: disable=wrong-import-position,wrong-import-order
import matplotlib.pyplot as plt # noqa: E402,E501 # pylint: disable=wrong-import-position,wrong-import-order


# Convenience class to hold heatmap graphics parameters
Expand Down
4 changes: 2 additions & 2 deletions pyani/pyani_graphics/mpl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@
# Specify matplotlib backend. This *must* be done before pyplot import, but
# raises errors with flake8 etc. So we comment out the specific error
matplotlib.use("Agg")
import matplotlib.pyplot as plt # noqa: E402 # pylint: disable=wrong-import-position,wrong-import-order
import matplotlib.gridspec as gridspec # noqa: E402 # pylint: disable=wrong-import-position,wrong-import-order
import matplotlib.pyplot as plt # noqa: E402,E501 # pylint: disable=wrong-import-position,wrong-import-order,ungrouped-imports
import matplotlib.gridspec as gridspec # noqa: E402,E501 # pylint: disable=wrong-import-position,wrong-import-order,ungrouped-imports


# Register Matplotlib colourmaps
Expand Down

0 comments on commit 5d9def5

Please sign in to comment.