Skip to content

Commit

Permalink
autoformat: isort & black
Browse files Browse the repository at this point in the history
  • Loading branch information
priscavdsluis committed Nov 14, 2022
1 parent 41bab71 commit 4c0c353
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
7 changes: 6 additions & 1 deletion hydrolib/core/io/dimr/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
from pydantic import Field, validator

from hydrolib.core import __version__
from hydrolib.core.basemodel import BaseModel, FileModel, ParsableFileModel, SerializerConfig
from hydrolib.core.basemodel import (
BaseModel,
FileModel,
ParsableFileModel,
SerializerConfig,
)
from hydrolib.core.io.dflowfm.mdu.models import FMModel
from hydrolib.core.io.dimr.parser import DIMRParser
from hydrolib.core.io.dimr.serializer import DIMRSerializer
Expand Down
3 changes: 2 additions & 1 deletion hydrolib/core/io/dimr/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
from pathlib import Path
from typing import List
from xml.dom import minidom
from hydrolib.core.basemodel import SerializerConfig

from lxml import etree as e

from hydrolib.core.basemodel import SerializerConfig


class DIMRSerializer:
"""A serializer for DIMR files."""
Expand Down
1 change: 1 addition & 0 deletions hydrolib/core/io/rr/meteo/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from datetime import datetime, timedelta
from pathlib import Path
from typing import Dict, List

from hydrolib.core.basemodel import SerializerConfig


Expand Down
1 change: 1 addition & 0 deletions hydrolib/core/io/rr/topology/serializer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
from pathlib import Path
from typing import Any, Dict

from hydrolib.core.basemodel import SerializerConfig


Expand Down
2 changes: 1 addition & 1 deletion tests/io/rr/meteo/test_bui.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
from pathlib import Path

import pytest
from hydrolib.core.basemodel import SerializerConfig

from hydrolib.core.basemodel import SerializerConfig
from hydrolib.core.io.rr.meteo.models import BuiModel, BuiPrecipitationEvent
from hydrolib.core.io.rr.meteo.parser import (
BuiEventListParser,
Expand Down
2 changes: 1 addition & 1 deletion tests/io/rr/topology/test_serializer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path
from hydrolib.core.basemodel import SerializerConfig

from hydrolib.core.basemodel import SerializerConfig
from hydrolib.core.io.rr.topology.serializer import (
LinkFileSerializer,
NodeFileSerializer,
Expand Down

0 comments on commit 4c0c353

Please sign in to comment.