Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sudohainguyen committed May 7, 2024
1 parent c631231 commit 98c3192
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
cd python
./scripts/install-deps.sh
- name: Lint with flake8
- name: Lint with ruff
run: |
cd python
ruff format --check .
Expand All @@ -64,7 +64,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Start Testing Containers
Expand Down
1 change: 1 addition & 0 deletions python/pyhive/presto.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
# Make all exceptions visible in this module per DB-API
from pyhive.exc import (
DatabaseError,
Error, # noqa: F401
NotSupportedError,
OperationalError,
ProgrammingError,
Expand Down
1 change: 1 addition & 0 deletions python/pyhive/trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pyhive.common import DBAPITypeObject
from pyhive.exc import (
DatabaseError,
Error, # noqa: F401
OperationalError,
)
from pyhive.presto import (
Expand Down

0 comments on commit 98c3192

Please sign in to comment.