Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit suggestions (#483)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/asottile/pyupgrade: v3.17.0 →
v3.19.1](asottile/pyupgrade@v3.17.0...v3.19.1)
- [github.com/google/yapf: v0.40.2 →
v0.43.0](google/yapf@v0.40.2...v0.43.0)
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 →
v0.8.6](astral-sh/ruff-pre-commit@v0.6.9...v0.8.6)
- [github.com/pre-commit/mirrors-mypy: v1.11.2 →
v1.14.1](pre-commit/mirrors-mypy@v1.11.2...v1.14.1)
- [github.com/executablebooks/mdformat: 0.7.17 →
0.7.21](hukkin/mdformat@0.7.17...0.7.21)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akihiro Nitta <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and akihironitta authored Jan 7, 2025
1 parent c4e0ea8 commit bbab176
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ permissions:
jobs:
auto-merge:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}
steps:
- name: Auto-approve
uses: hmarr/auto-approve-action@v4

- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Auto-approve
uses: hmarr/auto-approve-action@v4
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
args: [-d, '{extends: default, rules: {line-length: disable, document-start: disable, truthy: {level: error}, braces: {max-spaces-inside: 1}}}']

- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.19.1
hooks:
- id: pyupgrade
name: Upgrade Python syntax
Expand All @@ -54,7 +54,7 @@ repos:
]

- repo: https://github.com/google/yapf
rev: v0.40.2
rev: v0.43.0
hooks:
- id: yapf
name: Format code
Expand All @@ -74,22 +74,22 @@ repos:
additional_dependencies: [Flake8-pyproject]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.9
rev: v0.8.6
hooks:
- id: ruff
name: Ruff formatting
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.2
rev: v1.14.1
hooks:
- id: mypy
name: Check types
additional_dependencies: [torch==2.5.0]
exclude: "^test/|^examples/|^benchmark/"

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.21
hooks:
- id: mdformat
name: Format Markdown
Expand Down
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

## \[Unreleased\]
## [Unreleased]

### Added

Expand Down Expand Up @@ -31,7 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Removed CUDA synchronizations from `nn.LinearEmbeddingEncoder` ([#432](https://github.com/pyg-team/pytorch-frame/pull/432))
- Removed CUDA synchronizations from N/A imputation logic in `nn.StypeEncoder` ([#433](https://github.com/pyg-team/pytorch-frame/pull/433), [#434](https://github.com/pyg-team/pytorch-frame/pull/434))

## \[0.2.3\] - 2024-07-08
## [0.2.3] - 2024-07-08

### Added

Expand All @@ -43,7 +43,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

- Updated `ExcelFormer` implementation and related scripts ([#391](https://github.com/pyg-team/pytorch-frame/pull/391))

## \[0.2.2\] - 2024-03-04
## [0.2.2] - 2024-03-04

### Added

Expand All @@ -69,7 +69,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Fixed the split of `DataFrameTextBenchmark` ([#358](https://github.com/pyg-team/pytorch-frame/pull/358))
- Fixed empty `MultiNestedTensor` col indexing ([#355](https://github.com/pyg-team/pytorch-frame/pull/355))

## \[0.2.1\] - 2024-01-16
## [0.2.1] - 2024-01-16

### Added

Expand All @@ -91,7 +91,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Fixed `TimestampEncoder` not applying `CyclicEncoder` to cyclic features ([#311](https://github.com/pyg-team/pytorch-frame/pull/311))
- Fixed NaN masking in `multicateogrical` stype ([#307](https://github.com/pyg-team/pytorch-frame/pull/307))

## \[0.2.0\] - 2023-12-15
## [0.2.0] - 2023-12-15

### Added

Expand Down Expand Up @@ -143,7 +143,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

- No manual passing of `in_channels` to `LinearEmbeddingEncoder` for `stype.text_embedded` ([#222](https://github.com/pyg-team/pytorch-frame/pull/222))

## \[0.1.0\] - 2023-10-23
## [0.1.0] - 2023-10-23

### Added

Expand Down

0 comments on commit bbab176

Please sign in to comment.