diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e23a3e9..3c4085c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,17 +10,17 @@ repos: - id: pretty-format-json args: ["--autofix", "--indent=2", "--no-sort-keys"] - - repo: https://github.com/psf/black - rev: 21.9b0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/PyCQA/isort - rev: 5.9.3 + rev: 7.0.0 hooks: - id: isort diff --git a/cava_tools/discrete_summary/api.py b/cava_tools/discrete_summary/api.py index ef622c4..a3cdd37 100644 --- a/cava_tools/discrete_summary/api.py +++ b/cava_tools/discrete_summary/api.py @@ -119,7 +119,7 @@ def get_latest_content( def read_and_clean( - discrete_summaries: Union[pd.DataFrame, pd.Series] + discrete_summaries: Union[pd.DataFrame, pd.Series], ) -> Tuple[dict]: # noqa """ Reads in discrete summaries csvs and cleans them by @@ -191,7 +191,7 @@ def read_and_clean( def split_summary_data( - svdf_dict: Dict[str, pd.DataFrame] + svdf_dict: Dict[str, pd.DataFrame], ) -> Dict[str, pd.DataFrame]: # noqa """Split discrete summary data to profile and discrete""" profile_list, discrete_list = [], []