Skip to content

Commit

Permalink
Merge pull request #316 from HLasse/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
HLasse authored Jan 29, 2024
2 parents 1fd6492 + 1d06d1d commit 144edd4
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
- id: pyupgrade

- repo: https://github.com/bwhmather/ssort
rev: 0.12.2
rev: 0.12.3
hooks:
- id: ssort

Expand All @@ -47,7 +47,7 @@ repos:
# ]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
#args: [--line-length, "88"]
Expand Down
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 144edd4

Please sign in to comment.