Skip to content

Commit 8d2cd24

Browse files
committed
pre-commit: update versions
Signed-off-by: Benjamin Gilbert <bgilbert@cs.cmu.edu>
1 parent e15576c commit 8d2cd24

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ repos:
1515
- id: trailing-whitespace
1616

1717
- repo: https://github.com/asottile/pyupgrade
18-
rev: v3.19.0
18+
rev: v3.19.1
1919
hooks:
2020
- id: pyupgrade
2121
name: Modernize Python code
2222
args: ["--py313-plus"]
2323

2424
- repo: https://github.com/PyCQA/isort
25-
rev: 5.13.2
25+
rev: 6.0.1
2626
hooks:
2727
- id: isort
2828
name: Reorder Python imports with isort
2929

3030
- repo: https://github.com/psf/black
31-
rev: 24.10.0
31+
rev: 25.1.0
3232
hooks:
3333
- id: black
3434
name: Format Python code with black
@@ -40,14 +40,14 @@ repos:
4040
additional_dependencies: [flake8-bugbear, Flake8-pyproject]
4141

4242
- repo: https://github.com/PyCQA/flake8
43-
rev: 7.1.1
43+
rev: 7.2.0
4444
hooks:
4545
- id: flake8
4646
name: Lint Python code with flake8
4747
additional_dependencies: [flake8-bugbear, Flake8-pyproject]
4848

4949
- repo: https://github.com/pre-commit/mirrors-mypy
50-
rev: v1.13.0
50+
rev: v1.15.0
5151
hooks:
5252
- id: mypy
5353
name: Check Python types

demo/_synctiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ def finish_retile(ctxfile: TextIO, summarydir: Path) -> None:
744744

745745

746746
if __name__ == '__main__':
747-
cpu_count = os.process_cpu_count() # type: ignore[attr-defined]
747+
cpu_count = os.process_cpu_count()
748748

749749
parser = ArgumentParser()
750750
subparsers = parser.add_subparsers(metavar='subcommand', required=True)

0 commit comments

Comments
 (0)