Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent e7f4b31 commit 1d06d1d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/textdescriptives/components/dependency_distance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Calculation of statistics related to dependency distance."""

from typing import Callable

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/components/descriptive_stats.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Calculation of descriptive statistics."""

from typing import Callable, Dict, Union

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/components/quality.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Component for calculating quality metrics."""

from collections import Counter, defaultdict
from typing import Callable, Dict, List, Mapping, Optional, Tuple, Union

Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/components/quality_data_classes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Data classes used for the quality component."""

from typing import Any, Dict, Optional, Tuple, Union

from pydantic import BaseModel, Extra, Field
Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/components/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Utility functions for calculating various text descriptives."""

from typing import Union

from pyphen import Pyphen
Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/extractors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Extract metrics as Pandas DataFrame."""

from typing import Any, Dict, Iterable, List, Optional, Union

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions src/textdescriptives/load_components.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" Adds all components to a spaCy pipeline."""

from spacy.language import Language
from spacy.tokens import Doc

Expand Down

0 comments on commit 1d06d1d

Please sign in to comment.