Skip to content

Commit

Permalink
fixes and merges
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel.oranyeli committed Aug 1, 2024
2 parents 42b0dcd + 4bc035e commit ab4a30e
Show file tree
Hide file tree
Showing 11 changed files with 438 additions and 107 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ repos:

# The interim replacement for darglint is pydoclint.
- repo: https://github.com/jsh9/pydoclint
rev: 0.5.3
rev: 0.5.6
hooks:
- id: pydoclint
args:
- "--config=pyproject.toml"
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.0
rev: v0.5.5
hooks:
- id: ruff
args: [--fix]
6 changes: 5 additions & 1 deletion .requirements/all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ platformdirs==2.5.1
# virtualenv
pluggy==1.0.0
# via pytest
polars==1.1.0
# via
# -r docs.in
# -r testing.in
pre-commit==2.17.0
# via -r dev.in
prompt-toolkit==3.0.39
Expand Down Expand Up @@ -261,7 +265,7 @@ wheel==0.38.1
# via pip-tools
xarray==2022.3.0
# via pandas-flavor
zipp==3.7.0
zipp==3.19.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
4 changes: 2 additions & 2 deletions .requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ backcall==0.2.0
# via ipython
biopython==1.80
# via -r biology.in
certifi==2023.7.22
certifi==2024.7.4
# via requests
charset-normalizer==3.0.1
# via requests
Expand Down Expand Up @@ -145,5 +145,5 @@ watchdog==2.2.1
# via mkdocs
wcwidth==0.2.6
# via prompt-toolkit
zipp==3.17.0
zipp==3.19.1
# via importlib-metadata
2 changes: 2 additions & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ dependencies:
- xorg-libxrender
- pip:
- mknotebooks
# Temporarily pinned to fix CI
- setuptools==70.3.0
1 change: 0 additions & 1 deletion janitor/functions/convert_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def convert_matlab_date(
return df.assign(**dictionary)


@pf.register_dataframe_method
@pf.register_dataframe_method
@refactored_function(
message=(
Expand Down
3 changes: 2 additions & 1 deletion janitor/polars/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .clean_names import clean_names, make_clean_names
from .complete import complete
from .complete import complete, expand
from .dates_to_polars import convert_excel_date, convert_matlab_date
from .pivot_longer import pivot_longer, pivot_longer_spec
from .row_to_names import row_to_names
Expand All @@ -10,6 +10,7 @@
"clean_names",
"make_clean_names",
"row_to_names",
"expand",
"complete",
"convert_excel_date",
"convert_matlab_date",
Expand Down
Loading

0 comments on commit ab4a30e

Please sign in to comment.