Skip to content

Commit

Permalink
isort fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
astro-friedel committed Dec 3, 2024
1 parent 69cfc7b commit 0316cf9
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
7 changes: 4 additions & 3 deletions parsl/app/futures.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""This module implements DataFutures.
"""
import logging
import os.path
from concurrent.futures import Future
from datetime import datetime, timezone
from hashlib import md5
import logging
from os import stat
from concurrent.futures import Future
from typing import TYPE_CHECKING, Optional
from datetime import datetime, timezone

import typeguard

from parsl.data_provider.files import File
Expand Down
5 changes: 2 additions & 3 deletions parsl/data_provider/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
on where (client-side, remote-side, intermediary-side) the File.filepath is
being called from.
"""
import datetime
import logging
from hashlib import md5
import os
import datetime
import uuid
from typing import Optional, Union
from urllib.parse import urlparse
import uuid

import typeguard

Expand Down
2 changes: 1 addition & 1 deletion parsl/dataflow/dflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import atexit
import concurrent.futures as cf
import datetime
from hashlib import md5
import inspect
import logging
import os
Expand All @@ -15,6 +14,7 @@
from concurrent.futures import Future
from functools import partial
from getpass import getuser
from hashlib import md5
from socket import gethostname
from typing import Any, Callable, Dict, List, Optional, Sequence, Tuple, Union
from uuid import uuid4
Expand Down
2 changes: 1 addition & 1 deletion parsl/executors/base.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os
import uuid
from abc import ABCMeta, abstractmethod
from concurrent.futures import Future
from typing import Any, Callable, Dict, Optional
import uuid

from typing_extensions import Literal, Self

Expand Down
19 changes: 9 additions & 10 deletions parsl/monitoring/visualization/views.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
import datetime
import os.path as ospath

import pandas as pd
from flask import current_app as app
from flask import render_template, request
import os.path as ospath

import parsl.monitoring.queries.pandas as queries
from parsl.monitoring.visualization.form_fields import FileForm
from parsl.monitoring.visualization.models import (
Environment,
File,
InputFile,
MiscInfo,
OutputFile,
Status,
Task,
Workflow,
db,
File,
InputFile,
OutputFile,
Environment,
MiscInfo,
)
from parsl.monitoring.visualization.plots.default.task_plots import (
time_series_memory_per_task_plot,
Expand All @@ -29,10 +32,6 @@
worker_efficiency,
)

from parsl.monitoring.visualization.form_fields import FileForm

import datetime

dummy = True


Expand Down
5 changes: 3 additions & 2 deletions parsl/tests/test_monitoring/test_file_provenance.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import pytest
import os
import shutil
import time

import pytest

import parsl
from parsl.config import Config
from parsl.data_provider.files import File
from parsl.executors import ThreadPoolExecutor
from parsl.monitoring import MonitoringHub
from parsl.data_provider.files import File


@parsl.bash_app
Expand Down

0 comments on commit 0316cf9

Please sign in to comment.