Skip to content

Commit 9a7924c

Browse files
committed
chore: remove noqas introduced during skpkg
1 parent ad43104 commit 9a7924c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# diffpy.srxplanar documentation build configuration file, created by # noqa: E501
4+
# diffpy.srxplanar documentation build configuration file, created by
55
# sphinx-quickstart on Thu Jan 30 15:49:41 2014.
66
#
77
# This file is execfile()d with the current directory set to its
@@ -22,11 +22,11 @@
2222
try:
2323
fullversion = version("diffpy.srxplanar")
2424
except Exception:
25-
fullversion = "No version found. The correct version will appear in the released version." # noqa: E501
25+
fullversion = "No version found. The correct version will appear in the released version."
2626

2727
# If extensions (or modules to document with autodoc) are in another directory,
2828
# add these directories to sys.path here. If the directory is relative to the
29-
# documentation root, use Path().resolve() to make it absolute, like shown here. # noqa: E501
29+
# documentation root, use Path().resolve() to make it absolute, like shown here.
3030
# sys.path.insert(0, str(Path(".").resolve()))
3131
sys.path.insert(0, str(Path("../..").resolve()))
3232
sys.path.insert(0, str(Path("../../src").resolve()))

src/diffpy/srxplanar/selfcalibrate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import importlib
12
from functools import partial
23

34
import numpy as np
@@ -6,7 +7,7 @@
67

78
rcParams["backend"] = "Qt4Agg"
89
try:
9-
import PySide # noqa: F401
10+
importlib.import_module("PySide")
1011

1112
rcParams["backend.qt4"] = "PySide"
1213
import matplotlib.pyplot as plt

src/diffpy/srxplanar/srxplanarconfig.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,8 @@
505505

506506

507507
class SrXplanarConfig(ConfigBase):
508-
"""Config class, based on ConfigBase class in diffpy.srxconfutils."""
508+
"""Config class, based on ConfigBase class in
509+
diffpy.srxconfutils."""
509510

510511
# Text to display before the argument help
511512
_description = _description

src/diffpy/srxplanar/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# File coded by: Xiaohao Yang, Simon Billinge, Billinge Group members.
88
#
99
# See GitHub contributions for a more detailed list of contributors.
10-
# https://github.com/diffpy/diffpy.srxplanar/graphs/contributors # noqa: E501
10+
# https://github.com/diffpy/diffpy.srxplanar/graphs/contributors
1111
#
1212
# See LICENSE.rst for license information.
1313
#

0 commit comments

Comments
 (0)