Skip to content

Commit

Permalink
black .
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein committed Jan 29, 2024
1 parent fd096e3 commit bbd4d2c
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dev_requirements/requirements-linting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ astroid==3.0.2
# via pylint
dill==0.3.7
# via pylint
isort==5.12.0
isort==5.13.0
# via pylint
mccabe==0.7.0
# via pylint
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
kohlrahbi is a package to scrape AHBs (in docx format)
"""

import fnmatch
import gc
import json
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/ahb/ahbtable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module provides the AhbTable class
"""

from pathlib import Path
from typing import Union

Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/ahb/ahbtablerow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains the class AhbTableRow
"""

from typing import Optional

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/changehistory/changehistorytable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module provides the ChangeHistoryTable class
"""

import attrs
import pandas as pd
from docx.table import Table # type:ignore[import]
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/collect_pruefis.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Use this script to create an updated version of the all_known_pruefis.toml file.
You should run it every time there is an update at edi-energy.de.
"""

from datetime import date
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/docxfilefinder.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains the DocxFileFinder class.
"""

from itertools import groupby
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/docxtablecells/bodycell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains the class BodyCell
"""

import attrs
import pandas as pd
from docx.table import _Cell # type:ignore[import]
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/docxtablecells/edifactstrukturcell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains the class EdifactStrukturCell
"""

import re

import attrs
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module provides a logger instance for kohlrahbi
"""

import logging.config
from pathlib import Path

Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/read_functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
A collection of functions to get information from AHB tables.
"""

import re
from datetime import datetime
from typing import Generator, Optional, Union
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/row_type_checker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains all functions to define the type of a row of the tables in an AHB.
"""

from docx.oxml.ns import qn # type:ignore[import]
from docx.oxml.parser import OxmlElement # type:ignore[import]
from docx.shared import RGBColor # type:ignore[import]
Expand Down
1 change: 1 addition & 0 deletions src/kohlrahbi/unfoldedahb/unfoldedahbtable.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains the UnfoldedAhbTable class.
"""

import copy
import json
import re
Expand Down
1 change: 1 addition & 0 deletions unittests/test_docx_extensions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
tests all the features the kohlrahbi package provides to process Docx files (by using the docx package)
"""

import pytest # type:ignore[import]
from _pytest.fixtures import SubRequest # type:ignore[import]
from docx import Document # type:ignore[import]
Expand Down

0 comments on commit bbd4d2c

Please sign in to comment.