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 #1393

Merged
merged 2 commits into from
Aug 20, 2024
Merged
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
- "--config=pyproject.toml"
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.6
rev: v0.6.1
hooks:
- id: ruff
args: [--fix]
3 changes: 1 addition & 2 deletions examples/notebooks/Pivot Data from Long to Wide Form.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd \n",
"import janitor as jn "
"import pandas as pd\n"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions examples/notebooks/Pivoting Data from Wide to Long.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"metadata": {},
"outputs": [],
"source": [
"import janitor\n",
"import pandas as pd\n",
"import re\n",
"\n",
"import numpy as np\n",
"import re"
"import pandas as pd"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions examples/notebooks/Row_to_Names.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import janitor\n",
"from io import StringIO"
"from io import StringIO\n",
"\n",
"import pandas as pd\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/anime.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"outputs": [],
"source": [
"# Import pyjanitor and pandas\n",
"import janitor\n",
"import pandas as pd\n",
"import pandas_flavor as pf"
]
Expand All @@ -57,6 +56,7 @@
"source": [
"# Suppress user warnings when we try overwriting our custom pandas flavor functions\n",
"import warnings\n",
"\n",
"warnings.filterwarnings('ignore')"
]
},
Expand Down
5 changes: 2 additions & 3 deletions examples/notebooks/bad_values.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import janitor\n",
"import numpy as np"
"import numpy as np\n",
"import pandas as pd\n"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions examples/notebooks/bird_call.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import janitor"
"import pandas as pd\n"
]
},
{
Expand Down
5 changes: 2 additions & 3 deletions examples/notebooks/board_games.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import janitor\n",
"import os"
"\n",
"import pandas as pd\n"
]
},
{
Expand Down
Loading
Loading