Skip to content

Commit 885bc8d

Browse files
[pre-commit.ci] pre-commit autoupdate (#226)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2) - [github.com/astral-sh/ruff-pre-commit: v0.2.0 → v0.3.5](astral-sh/ruff-pre-commit@v0.2.0...v0.3.5) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.9.0](pre-commit/mirrors-mypy@v1.8.0...v1.9.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent feb9fc7 commit 885bc8d

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ ci:
44
exclude: ^src/pdm/backend/_vendor
55
repos:
66
- repo: https://github.com/asottile/pyupgrade
7-
rev: v3.15.0
7+
rev: v3.15.2
88
hooks:
99
- id: pyupgrade
1010
args:
1111
- --py37-plus
1212

1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: 'v0.2.0'
14+
rev: 'v0.3.5'
1515
hooks:
1616
- id: ruff
1717
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
1818
- id: ruff-format
1919

2020
- repo: https://github.com/pre-commit/mirrors-mypy
21-
rev: v1.8.0
21+
rev: v1.9.0
2222
hooks:
2323
- id: mypy
2424
exclude: ^(src/pdm/backend/_vendor|tests|scripts)

scripts/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
This is a simple script to call pdm-pep517's backend apis to make release artifacts.
33
"""
4+
45
import argparse
56
import logging
67
import os

src/pdm/backend/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
PEP-517 compliant pyproject build-system API
33
"""
4+
45
from __future__ import annotations
56

67
from pathlib import Path

src/pdm/backend/hooks/setuptools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""A built-in hook to generate setup.py and run the script"""
2+
23
from __future__ import annotations
34

45
import atexit

src/pdm/backend/macosx_platform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Adapted from
88
https://github.com/pypa/wheel/blob/6e86e6b886/src/wheel/macosx_libfile.py
99
"""
10+
1011
from __future__ import annotations
1112

1213
import ctypes

0 commit comments

Comments
 (0)