Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.10.0
hooks:
- id: black
args: [--config, pyproject.toml]
- repo: https://github.com/econchick/interrogate
rev: 1.5.0
rev: 1.7.0
hooks:
- id: interrogate
args: [-c, pyproject.toml, -vv]
Expand All @@ -24,7 +24,7 @@ repos:
- id: darglint
args: [-v 2] # this config makes the error messages a bit less cryptic.
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
args: [--exclude, nbconvert_config.py]
1 change: 1 addition & 0 deletions docs/tracing_ext-demo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tracing extension demo."""

import time

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions pandas_flavor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Top-level API for pandas-flavor."""

from .register import (
register_dataframe_accessor,
register_dataframe_method,
Expand Down
1 change: 1 addition & 0 deletions pandas_flavor/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Version number."""

__version__ = "0.6.0"
1 change: 1 addition & 0 deletions pandas_flavor/register.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Register functions as methods of Pandas DataFrame and Series."""

from functools import wraps
from pandas.api.extensions import (
register_series_accessor,
Expand Down
1 change: 1 addition & 0 deletions pandas_flavor/xarray.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""XArray support for pandas_flavor."""

from xarray import register_dataarray_accessor, register_dataset_accessor
from functools import wraps

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup script."""

import io
import os
import sys
Expand Down
1 change: 1 addition & 0 deletions tests/test_pandas_register.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for pandas series and dataframe method registration."""

import pandas_flavor as pf
import pandas as pd

Expand Down
Loading