Skip to content

Commit

Permalink
style: adapt to new ruff version 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
JGrothoff committed Nov 28, 2024
1 parent af19661 commit 1ffd8a0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/pdf2aas/dictionary/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from .etim import ETIM

__all__ = [
"Dictionary",
"dictionary_serializer",
"CDD",
"ECLASS",
"ETIM",
"Dictionary",
"dictionary_serializer",
]
2 changes: 1 addition & 1 deletion src/pdf2aas/evaluation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
from .values import EvaluationValues

__all__ = [
"EvaluationArticle",
"Evaluation",
"EvaluationAAS",
"EvaluationArticle",
"EvaluationCounts",
"EvaluationPrompt",
"EvaluationValues",
Expand Down
4 changes: 2 additions & 2 deletions src/pdf2aas/extractor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from .property_llm_search import PropertyLLMSearch

__all__ = [
"CustomLLMClient",
"CustomLLMClientHTTP",
"Extractor",
"PropertyLLM",
"PropertyLLMSearch",
"CustomLLMClient",
"CustomLLMClientHTTP",
]
4 changes: 2 additions & 2 deletions src/pdf2aas/generator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from .csv import CSV

__all__ = [
"Generator",
"CSV",
"AASTemplate",
"AASSubmodelTechnicalData",
"AASTemplate",
"Generator",
]
4 changes: 2 additions & 2 deletions src/pdf2aas/generator/aas_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ def _fill_definition_from_data_spec(

if (
definition.values is None
or len(definition.values) == 0
or (len(definition.values) == 0
and data_spec.value_list is not None
and len(data_spec.value_list) > 0
and len(data_spec.value_list) > 0)
):
values: list[dict[ValueDefinitionKeyType, str]] = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/pdf2aas/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
from .property_definition import PropertyDefinition, SimplePropertyDataType, ValueDefinitionKeyType

__all__ = [
"PropertyDefinition",
"ClassDefinition",
"Property",
"PropertyDefinition",
"SimplePropertyDataType",
"ValueDefinitionKeyType",
]
6 changes: 3 additions & 3 deletions src/pdf2aas/preprocessor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
from .text import Text

__all__ = [
"Preprocessor",
"PDF2HTMLEX",
"ReductionLevel",
"PDFium",
"PDFPlumber",
"PDFPlumberTable",
"PDFium",
"Preprocessor",
"ReductionLevel",
"Text",
]

0 comments on commit 1ffd8a0

Please sign in to comment.