Skip to content

Commit

Permalink
[DOCS] pre-commit autoupdate; fix Python lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Sep 18, 2024
1 parent b4800d3 commit 2dedc70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
args: [--ignore-words=.github/linters/codespell.txt]
exclude: ^docs/image|^spark/common/src/test/resources|^docs/usecases|^tools/maven/scalafmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.10
rev: v0.6.5
hooks:
- id: ruff
args: [--config=.github/linters/ruff.toml, --fix]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@
],
"source": [
"%%timeit\n",
"from pandas import DataFrame\n",
"cursor = connection.cursor()\n",
"cursor.execute(\"SELECT * FROM clima.t_indices_prec_cpc t Where r100mm > 2000\")\n",
"names = [ x[0] for x in cursor.description]\n",
"result = cursor.fetchall()\n",
"from pandas import DataFrame\n",
"df = DataFrame(result, columns=names)"
]
},
Expand Down

0 comments on commit 2dedc70

Please sign in to comment.