Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1393)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.1](astral-sh/ruff-pre-commit@v0.5.6...v0.6.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Aug 20, 2024
1 parent 71749e9 commit 9f8d684
Show file tree
Hide file tree
Showing 27 changed files with 711 additions and 730 deletions.
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

0 comments on commit 9f8d684

Please sign in to comment.