Skip to content

Commit

Permalink
chore(deps): update ruff requirement from ~=0.7.2 to ~=0.8.1 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Dec 4, 2024
1 parent 113c44c commit 341dfed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'tekumara/fakesnow'
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
# don't include verbose dependabot PR description as body when merging
Expand Down
3 changes: 1 addition & 2 deletions fakesnow/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,7 @@ def integer_precision(expression: exp.Expression) -> exp.Expression:
if (
isinstance(expression, exp.DataType)
and (expression.this == exp.DataType.Type.DECIMAL and not expression.expressions)
or expression.this in (exp.DataType.Type.INT, exp.DataType.Type.SMALLINT, exp.DataType.Type.TINYINT)
):
) or expression.this in (exp.DataType.Type.INT, exp.DataType.Type.SMALLINT, exp.DataType.Type.TINYINT):
return exp.DataType(
this=exp.DataType.Type.BIGINT,
nested=False,
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dev = [
"pyarrow-stubs==10.0.1.9",
"pytest~=8.0",
"pytest-asyncio",
"ruff~=0.7.2",
"ruff~=0.8.1",
"twine~=6.0",
"snowflake-sqlalchemy~=1.7.0",
]
Expand Down Expand Up @@ -96,9 +96,6 @@ select = [
]

ignore = [
# allow untyped self and cls args
"ANN101",
"ANN102",
# allow no return type from dunder methods
"ANN204",
# allow == True because pandas dataframes overload equality
Expand Down

0 comments on commit 341dfed

Please # to comment.