summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Ganssle <git@m.ganssle.io>2022-12-03 13:19:28 -0500
committerPaul Ganssle <git@m.ganssle.io>2022-12-03 14:16:15 -0500
commit95e20ce2afaf9f744b0ccb990b32565d19eef349 (patch)
treea46393214b8919a2eaaef989947aa6a82f150424
parent8ecdd44c0f090fb5fd64c90e13044b047597b1ea (diff)
downloaddateutil-git-95e20ce2afaf9f744b0ccb990b32565d19eef349.tar.gz
Remove trailing whitespace
-rw-r--r--README.rst2
-rw-r--r--src/dateutil/relativedelta.py2
-rw-r--r--tests/test_isoparser.py8
3 files changed, 6 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index 106023b..c9db1fd 100644
--- a/README.rst
+++ b/README.rst
@@ -147,7 +147,7 @@ keys can be found below:
=========== ============================
Releases Signing key fingerprint
=========== ============================
-2.4.1-2.8.2 `6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB`_
+2.4.1-2.8.2 `6B49 ACBA DCF6 BD1C A206 67AB CD54 FCE3 D964 BEFB`_
=========== ============================
New releases *may* have signed tags, but binary and source distributions
diff --git a/src/dateutil/relativedelta.py b/src/dateutil/relativedelta.py
index a9e85f7..cd323a5 100644
--- a/src/dateutil/relativedelta.py
+++ b/src/dateutil/relativedelta.py
@@ -48,7 +48,7 @@ class relativedelta(object):
the corresponding arithmetic operation on the original datetime value
with the information in the relativedelta.
- weekday:
+ weekday:
One of the weekday instances (MO, TU, etc) available in the
relativedelta module. These instances may receive a parameter N,
specifying the Nth weekday, which could be positive or negative
diff --git a/tests/test_isoparser.py b/tests/test_isoparser.py
index 35899ab..c33881f 100644
--- a/tests/test_isoparser.py
+++ b/tests/test_isoparser.py
@@ -80,10 +80,10 @@ def _isoparse_date_and_time(dt, date_fmt, time_fmt, tzoffset,
if not fmt.endswith('%f'): # pragma: nocover
raise ValueError('Time format has no microseconds!')
- if microsecond_precision != 6:
- dtstr = dtstr[:-(6 - microsecond_precision)]
- elif microsecond_precision > 6: # pragma: nocover
- raise ValueError('Precision must be 1-6')
+ if microsecond_precision != 6:
+ dtstr = dtstr[: -(6 - microsecond_precision)]
+ elif microsecond_precision > 6: # pragma: nocover
+ raise ValueError("Precision must be 1-6")
dtstr += offset_str