Skip to content

Commit

Permalink
Remove some useless 'pass' statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Jan 12, 2024
1 parent e9c8742 commit 9153d21
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import ipaddress
from typing import TYPE_CHECKING

import pytest

Expand All @@ -11,9 +10,6 @@
from qcportal.serverinfo.models import AccessLogQueryFilters
from qcportal.utils import now_at_utc

if TYPE_CHECKING:
pass

# First part of the tuple is the ip address
# second is the range, as stored in the MaxMind test JSON file
test_ips = [
Expand Down
5 changes: 0 additions & 5 deletions qcfractal/qcfractal/components/test_record_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"""
from __future__ import annotations

from typing import TYPE_CHECKING

import pytest

from qcarchivetesting import test_users
Expand All @@ -26,9 +24,6 @@
from qcportal.record_models import PriorityEnum, RecordStatusEnum
from qcportal.utils import now_at_utc

if TYPE_CHECKING:
pass


def test_record_client_get(snowflake: QCATestingSnowflake):
storage_socket = snowflake.get_storage_socket()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from __future__ import annotations

import re
from typing import TYPE_CHECKING

from qcarchivetesting.testing_classes import QCATestingSnowflake
from qcfractal.components.optimization.testing_helpers import load_test_data as load_opt_test_data
Expand All @@ -15,9 +14,6 @@
from qcportal.managers import ManagerName
from qcportal.record_models import PriorityEnum

if TYPE_CHECKING:
pass


def test_record_client_waiting_reason(snowflake: QCATestingSnowflake):
storage_socket = snowflake.get_storage_socket()
Expand Down
1 change: 0 additions & 1 deletion qcfractal/qcfractal/testing_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class DummyJobProgress:

def __init__(self):
self._runner_uuid = "1234-5678-9101-1213"
pass

def update_progress(self, progress: int):
pass
Expand Down
1 change: 0 additions & 1 deletion qcfractalcompute/qcfractalcompute/executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,5 @@ def build_executor(executor_label: str, executor_config: ExecutorConfig) -> Pars
self.tag_executor_map[tag] = ex.label

self.executor_config_map[ex.label] = executor_config
pass
else:
raise ValueError("Unknown executor type: {}".format(executor_config.type))
2 changes: 0 additions & 2 deletions qcportal/qcportal/reaction/record_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ class Config:
pass
# extra = Extra.forbid

pass


class ReactionSpecification(BaseModel):
class Config:
Expand Down

0 comments on commit 9153d21

Please sign in to comment.