File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3030 sudo apt update
3131 sudo apt-get install -y libopenslide-dev openslide-tools libopenjp2-7 libopenjp2-tools
3232 python -m pip install --upgrade pip
33- python -m pip install ruff==0.6.5 pytest pytest-cov pytest-runner
33+ python -m pip install ruff==0.7.0 pytest pytest-cov pytest-runner
3434 pip install -r requirements/requirements.txt
3535 - name : Cache tiatoolbox static assets
3636 uses : actions/cache@v3
Original file line number Diff line number Diff line change 11ci :
22 autofix_prs : true
3- autoupdate_commit_msg : ' [pre-commit.ci] pre-commit autoupdate'
4- autoupdate_schedule : ' weekly '
3+ autoupdate_commit_msg : ' :technologist: pre-commit autoupdate'
4+ autoupdate_schedule : ' monthly '
55repos :
66 - repo : local
77 hooks :
1111 files : tests/.*\btest_\w*.py
1212 require_serial : true
1313 language : system
14- stages : [push]
14+ stages : [pre- push]
1515 - id : notebook-markdown-format
1616 name : notebook markdown format
1717 entry : python pre-commit/notebook_markdown_format.py
@@ -23,15 +23,15 @@ repos:
2323 - mdformat-black
2424 - mdformat-myst
2525 - repo : https://github.com/executablebooks/mdformat
26- rev : 0.7.17
26+ rev : 0.7.18
2727 hooks :
2828 - id : mdformat
2929 # Optionally add plugins
3030 additional_dependencies :
3131 - mdformat-gfm # GitHub flavoured markdown
3232 - mdformat-black # Black formatting for python verbatim blocks
3333 - repo : https://github.com/pre-commit/pre-commit-hooks
34- rev : v4.6 .0
34+ rev : v5.0 .0
3535 hooks :
3636 - id : check-ast # Simply checks whether the files parse as valid Python.
3737 - id : fix-byte-order-marker # Removes utf-8 byte order marker.
6060 - id : rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst.
6161 - repo : https://github.com/astral-sh/ruff-pre-commit
6262 # Ruff version.
63- rev : v0.6.5
63+ rev : v0.7.0
6464 hooks :
6565 - id : ruff
6666 args : [--fix, --exit-non-zero-on-fix]
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pytest>=7.2.0
1010pytest-cov>=4.0.0
1111pytest-runner>=6.0
1212pytest-xdist[psutil]
13- ruff==0.6.5 # This will be updated by pre-commit bot to latest version
13+ ruff==0.7.0 # This will be updated by pre-commit bot to latest version
1414toml>=0.10.2
1515twine>=4.0.1
1616wheel>=0.37.1
You can’t perform that action at this time.
0 commit comments