Skip to content

Commit

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

updates:
- [github.com/psf/black: 23.12.1 → 24.3.0](psf/black@23.12.1...24.3.0)
- [github.com/PyCQA/bandit: 1.7.6 → 1.7.8](PyCQA/bandit@1.7.6...1.7.8)
- [github.com/kynan/nbstripout: 0.6.1 → 0.7.1](kynan/nbstripout@0.6.1...0.7.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 Jun 1, 2024
1 parent 55e34b5 commit 54928ba
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 70 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: check-added-large-files

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.3.0
hooks:
- id: black
name: "Black: The uncompromising Python code formatter"
Expand All @@ -31,7 +31,7 @@ repos:
args: [ "--profile black" ]

- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
rev: 1.7.8
hooks:
- id: bandit
language_version: python3
Expand All @@ -50,6 +50,6 @@ repos:
pass_filenames: false

- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
rev: 0.7.1
hooks:
- id: nbstripout
1 change: 1 addition & 0 deletions chitra/visualization/metrics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""https://www.kaggle.com/grfiv4/plot-a-confusion-matrix."""

from itertools import product
from typing import List, Union

Expand Down
34 changes: 17 additions & 17 deletions examples/nbs/07_import_utils.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "everyday-mortgage",
"id": "0",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -12,7 +12,7 @@
},
{
"cell_type": "markdown",
"id": "industrial-tablet",
"id": "1",
"metadata": {},
"source": [
"# import_utils\n",
Expand All @@ -23,7 +23,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "mental-refrigerator",
"id": "2",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -34,7 +34,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "naval-sucking",
"id": "3",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -45,7 +45,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "sorted-lighter",
"id": "4",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -68,7 +68,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "effective-refrigerator",
"id": "5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -79,7 +79,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "received-apartment",
"id": "6",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -89,7 +89,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "welcome-chemical",
"id": "7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -99,7 +99,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "decreased-document",
"id": "8",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -111,7 +111,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "trained-lloyd",
"id": "9",
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -139,7 +139,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "surface-lesson",
"id": "10",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -154,7 +154,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "artificial-stanley",
"id": "11",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -166,39 +166,39 @@
{
"cell_type": "code",
"execution_count": null,
"id": "multiple-winter",
"id": "12",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "lesbian-luther",
"id": "13",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "external-command",
"id": "14",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "basic-classics",
"id": "15",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "combined-moscow",
"id": "16",
"metadata": {},
"outputs": [],
"source": []
Expand Down
Loading

0 comments on commit 54928ba

Please sign in to comment.