Skip to content

Commit

Permalink
Fix pylint W0235 (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-cap authored Oct 7, 2020
1 parent fad60c2 commit d457448
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ disable=print-statement,
W0201,
W0212,
W0221,
W0235,
W0404,
W0612,
W0613,
Expand Down
3 changes: 0 additions & 3 deletions esrally/driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,6 @@ def load_local_config(coordinator_config):


class TrackPreparationActor(actor.RallyActor):
def __init__(self):
super().__init__()

@actor.no_retry("track preparator")
def receiveMsg_PrepareTrack(self, msg, sender):
# load node-specific config to have correct paths available
Expand Down
8 changes: 0 additions & 8 deletions esrally/driver/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,6 @@ class BulkIndex(Runner):
"""
Bulk indexes the given documents.
"""

def __init__(self):
super().__init__()

async def __call__(self, es, params):
"""
Runs one bulk indexing operation.
Expand Down Expand Up @@ -794,10 +790,6 @@ class Query(Runner):
* ``pages``: Total number of pages that have been retrieved.
"""

def __init__(self):
super().__init__()

async def __call__(self, es, params):
if "pages" in params and "results-per-page" in params:
return await self.scroll_query(es, params)
Expand Down
3 changes: 0 additions & 3 deletions tests/mechanic/mechanic_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ def stop(self, nodes, metrics_store):

# We stub irrelevant methods for the test
class TestMechanic(mechanic.Mechanic):
def __init__(self, cfg, metrics_store, supply, provisioners, launcher):
super().__init__(cfg, metrics_store, supply, provisioners, launcher)

def _current_race(self):
return "race 17"

Expand Down

0 comments on commit d457448

Please sign in to comment.