Skip to content

Commit

Permalink
Passing lint via the run_pylint.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxmrs committed Jan 29, 2025
1 parent aa85894 commit 2455cbc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions sdks/python/apache_beam/runners/dask/dask_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
transformations across processes and workers via Dask distributed's
scheduler.
"""
import argparse
import dataclasses

import argparse
import typing as t

from apache_beam import pvalue
Expand Down Expand Up @@ -59,7 +60,7 @@ def _parse_timeout(candidate):

@staticmethod
def _extract_bag_kwargs(dask_options: t.Dict) -> t.Dict:
"""Parse keyword arguments for `dask.Bag`s, used during graph translation."""
"""Parse keyword arguments for `dask.Bag`s; used in graph translation."""
out = {}

if npartitions := dask_options.pop('npartitions', None):
Expand Down
1 change: 1 addition & 0 deletions sdks/python/apache_beam/runners/dask/overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.
#
import dataclasses

import typing as t

import apache_beam as beam
Expand Down
7 changes: 4 additions & 3 deletions sdks/python/apache_beam/runners/dask/transform_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@
TODO(alxr): Translate ops from https://docs.dask.org/en/latest/bag-api.html.
"""
import abc
import dataclasses
from dataclasses import field

import abc
import dask.bag as db
import math
import typing as t
from dataclasses import field

import apache_beam
import dask.bag as db
from apache_beam import DoFn
from apache_beam import TaggedOutput
from apache_beam.pipeline import AppliedPTransform
Expand Down

0 comments on commit 2455cbc

Please sign in to comment.