summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-05-22 16:52:38 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-05-22 16:52:40 -0700
commit99dfb5031511eb730c3397b18f2bd6e537b67e9a (patch)
tree9a41ae7c0b088c4fa487cbd57ffa2ba6b1f59c90 /python
parent376d1ee7844d8ac702d9b68e936e634f1ed3d4a8 (diff)
downloadfatcat-99dfb5031511eb730c3397b18f2bd6e537b67e9a.tar.gz
fatcat-99dfb5031511eb730c3397b18f2bd6e537b67e9a.zip
HACK: skip pylint errors on lines that seem to be fine
It seems to be an inadvertantly ugraded version of pylint saying that these lines are not-callable.
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_tools/harvest/doi_registrars.py2
-rw-r--r--python/fatcat_tools/harvest/oaipmh.py2
-rw-r--r--python/fatcat_tools/harvest/pubmed.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py
index 3acb7d96..4e027738 100644
--- a/python/fatcat_tools/harvest/doi_registrars.py
+++ b/python/fatcat_tools/harvest/doi_registrars.py
@@ -174,7 +174,7 @@ class HarvestCrossrefWorker:
def run(self, continuous=False):
while True:
- current = self.state.next(continuous)
+ current = self.state.next(continuous) # pylint: disable=not-callable
if current:
print("Fetching DOIs updated on {} (UTC)".format(current), file=sys.stderr)
self.fetch_date(current)
diff --git a/python/fatcat_tools/harvest/oaipmh.py b/python/fatcat_tools/harvest/oaipmh.py
index c95f3445..af1ca0d5 100644
--- a/python/fatcat_tools/harvest/oaipmh.py
+++ b/python/fatcat_tools/harvest/oaipmh.py
@@ -98,7 +98,7 @@ class HarvestOaiPmhWorker:
def run(self, continuous=False):
while True:
- current = self.state.next(continuous)
+ current = self.state.next(continuous) # pylint: disable=not-callable
if current:
print("Fetching DOIs updated on {} (UTC)".format(current), file=sys.stderr)
self.fetch_date(current)
diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py
index 3f31696e..d78045c6 100644
--- a/python/fatcat_tools/harvest/pubmed.py
+++ b/python/fatcat_tools/harvest/pubmed.py
@@ -144,7 +144,7 @@ class PubmedFTPWorker:
if len(self.date_file_map) == 0:
raise ValueError("map from dates to files should not be empty, maybe the HTML changed?")
- current = self.state.next(continuous)
+ current = self.state.next(continuous) # pylint: disable=not-callable
if current:
print("Fetching citations updated on {} (UTC)".format(current), file=sys.stderr)
self.fetch_date(current)