diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-26 18:10:41 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-26 18:10:45 -0700 |
commit | 57fcf767179462a5696543c8119f9e67082f9e48 (patch) | |
tree | 1516753764243ba084873643497379ecca733313 | |
parent | 05f999ed83a847d7f7ddb63e6f8627398e9afa18 (diff) | |
download | fatcat-57fcf767179462a5696543c8119f9e67082f9e48.tar.gz fatcat-57fcf767179462a5696543c8119f9e67082f9e48.zip |
HACK: try to squelch pylint in CI
Gitlab CI is showing lint errors like:
=================================== FAILURES ===================================
6316 _______________________ [pylint] tests/harvest_state.py ________________________
6317 E: 19,11: hs.next is not callable (not-callable)
6318 E: 33,11: hs.next is not callable (not-callable)
6319 E: 19,11: hs.next is not callable (not-callable)
[...]
this is confusing as we use pipenv with a lock, so I should see the
exact same errors locally.
This commit is a hack to try and fix this and unbreak builds until we
can debug further.
-rw-r--r-- | python/tests/harvest_state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/harvest_state.py b/python/tests/harvest_state.py index da9bef84..4273830f 100644 --- a/python/tests/harvest_state.py +++ b/python/tests/harvest_state.py @@ -16,7 +16,7 @@ def test_harvest_state(): for d in list(hs.to_process): hs.complete(d) - assert hs.next() is None + assert hs.next() is None # pylint: disable=not-callable hs = HarvestState( start_date=datetime.date(2000,1,1), @@ -30,7 +30,7 @@ def test_harvest_state(): assert len(hs.to_process) == 5 hs = HarvestState(catchup_days=0) - assert hs.next() is None + assert hs.next() is None # pylint: disable=not-callable hs.enqueue_period( start_date=datetime.date(2000,1,1), end_date=datetime.date(2000,1,3), |