Skip to content

Commit

Permalink
update actions and pre-commit tools too
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-waltmann committed Mar 1, 2024
1 parent 8253b1a commit 7f2b698
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python-version: ["3.9", "3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
with:
path: freud-examples
# Important! All steps that use the conda environment should define "shell: bash -l {0}".
Expand All @@ -52,7 +52,7 @@ jobs:
# Install testing requirements
mamba install pytest nbval
# Build freud from source to test the examples on the latest version
- uses: actions/checkout@v3
- uses: actions/checkout@v4.0.0
with:
path: freud
ref: main
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
# notify developers if the scheduled check fails
- name: Slack notification
if: ${{ github.event_name == 'schedule' && (failure() || cancelled()) }}
uses: 8398a7/action-slack@v3.15.1
uses: 8398a7/action-slack@v3.16.2
with:
status: ${{ job.status }}
fields: workflow,job,message,commit
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,35 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 'v4.4.0'
rev: 'v4.5.0'
hooks:
- id: end-of-file-fixer
exclude: 'setup.cfg'
- id: trailing-whitespace
exclude: 'setup.cfg'
- id: debug-statements
- repo: https://github.com/asottile/pyupgrade
rev: 'v3.3.1'
rev: 'v3.15.1'
hooks:
- id: pyupgrade
args:
- --py36-plus
- repo: https://github.com/PyCQA/isort
rev: '5.12.0'
rev: '5.13.2'
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: '23.3.0'
rev: '24.2.0'
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: '6.0.0'
rev: '7.0.0'
hooks:
- id: flake8
args:
- --max-line-length=100
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.0
rev: 1.7.1
hooks:
- id: nbqa-pyupgrade
args:
Expand Down

0 comments on commit 7f2b698

Please sign in to comment.