Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#324)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jan 29, 2024
1 parent 128b102 commit 77935ec
Show file tree
Hide file tree
Showing 8 changed files with 7 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 @@ -16,7 +16,7 @@ repos:
hooks:
- id: ruff
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Sphinx configuration."""

import os
import sys

Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Nox session configuration."""

from typing import List

import nox
Expand Down
1 change: 1 addition & 0 deletions pyprql/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Source code for pyprql."""

import prql_python as prql # noqa: F401
from prql_python import compile # noqa: F401

Expand Down
1 change: 1 addition & 0 deletions pyprql/magic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
In [1]: %load_ext pyprql.magic
"""

from IPython import InteractiveShell

from .prql import PrqlMagic
Expand Down
1 change: 1 addition & 0 deletions pyprql/magic/prql.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""A magic class for parsing PRQL in IPython or Jupyter."""

from __future__ import annotations

from IPython.core.magic import cell_magic, line_magic, magics_class, needs_local_scope
Expand Down
1 change: 1 addition & 0 deletions pyprql/pandas_accessor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
results_df = df.prql.query('select [age,name,occupation] | filter age > 21')
"""

import pyprql.pandas_accessor.prql # noqa: F401
1 change: 0 additions & 1 deletion pyprql/tests/test_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Thanks to @ploomber for providing the base for these tests as well as the extension.
"""


import os.path
import re
import tempfile
Expand Down

0 comments on commit 77935ec

Please sign in to comment.