Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dgauldie committed Jan 11, 2024
1 parent 1923de8 commit c9c07fd
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ indent_style = space
[*.{yml,yaml}]
indent_style = space

[*.{py}]
indent_size = 4
indent_style = space

[*.{cmd,bat}]
end_of_line = crlf

Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ authors = ["Powell Fendley", "Five Grant"]
readme = "README.md"
packages = [{include = "service"}, {include = "tests"}]


[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.31.0"
Expand All @@ -21,6 +22,7 @@ poethepoet = "^0.21.1"
# juliacall = { version="^0.9.14", optional = true }
dill = "^0.3.7"


[tool.poetry.scripts]
mockrabbitmq = "service.utils.rabbitmq:mock_rabbitmq_consumer"

Expand All @@ -35,6 +37,7 @@ mock = "^5.1.0"
fakeredis = "^2.17.0"
httpx = "^0.24.1"


[tool.poe.tasks]
install-pyciemss = "pip install --no-cache-dir git+https://github.com/fivegrant/pyciemss.git@087bc64d935f2ab5090330f1f7d6bde930404115 --use-pep517"

Expand All @@ -47,3 +50,7 @@ pythonpath = "service"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"


[tool.ruff]
ignore = ["E501"]
1 change: 0 additions & 1 deletion service/execute.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging

# from juliacall import newmodule
from settings import settings
from utils.tds import (
update_tds_status,
cleanup_job_dir,
Expand Down
1 change: 0 additions & 1 deletion service/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from utils.convert import convert_to_static_interventions, convert_to_solution_mapping
from utils.rabbitmq import gen_rabbitmq_hook # noqa: F401
from utils.tds import fetch_dataset, fetch_model, fetch_inferred_parameters
from settings import settings


class Timespan(BaseModel):
Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_calibrate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json

import pytest
from uuid import uuid4

from service.settings import settings

Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_ensemble_simulate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json

import pytest
from uuid import uuid4

from service.settings import settings

Expand Down
1 change: 0 additions & 1 deletion tests/integration/test_simulate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import json

import pytest
from uuid import uuid4

from service.settings import settings

Expand Down

0 comments on commit c9c07fd

Please sign in to comment.