pyproject-pre-commit 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.github/workflows/test.yml +3 -7
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.pre-commit-hooks.yaml +2 -2
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/PKG-INFO +1 -3
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/pyproject.toml +2 -2
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/tests/test_pyproject_pre_commit.py +2 -2
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/tests/test_version.py +1 -1
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/uv.lock +28 -28
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.github/FUNDING.yml +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.github/workflows/pypi.yml +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.gitignore +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/.pre-commit-config.yaml +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/LICENSE +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/README.md +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/renovate.json +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/__init__.py +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/__version__.py +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/py.typed +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/pyproject_pre_commit.py +0 -0
- {pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/tests/__init__.py +0 -0
@@ -53,7 +53,7 @@ jobs:
|
|
53
53
|
fail-fast: false
|
54
54
|
matrix:
|
55
55
|
os: [ubuntu-latest]
|
56
|
-
python-version: ["3.12", "3.11", "3.10", "3.9"
|
56
|
+
python-version: ["3.12", "3.11", "3.10", "3.9"]
|
57
57
|
permissions:
|
58
58
|
contents: write
|
59
59
|
runs-on: ${{ matrix.os }}
|
@@ -77,16 +77,12 @@ jobs:
|
|
77
77
|
else
|
78
78
|
echo "DEBUG=0" >> $GITHUB_ENV
|
79
79
|
fi
|
80
|
-
- uses: rcmdnk/python-action@
|
80
|
+
- uses: rcmdnk/python-action@v3
|
81
81
|
with:
|
82
82
|
checkout: 1
|
83
83
|
setup-python: 1
|
84
84
|
python-version: "${{ matrix.python-version }}"
|
85
|
-
|
86
|
-
setup-cmd: 'poetry install'
|
87
|
-
pip-packages: ''
|
88
|
-
poetry: 1
|
89
|
-
cache: 'poetry'
|
85
|
+
setup-type: 'uv'
|
90
86
|
pytest: 1
|
91
87
|
pytest-tests-path: 'tests/'
|
92
88
|
pytest-ignore: ''
|
@@ -30,7 +30,7 @@
|
|
30
30
|
name: ruff-format-diff
|
31
31
|
description: "Show diff of ruff for formatting"
|
32
32
|
entry: ruff format --diff --force-exclude
|
33
|
-
language:
|
33
|
+
language: system
|
34
34
|
types_or:
|
35
35
|
- python
|
36
36
|
- pyi
|
@@ -44,7 +44,7 @@
|
|
44
44
|
name: ruff-format
|
45
45
|
description: "Fix by ruff for formatting"
|
46
46
|
entry: ruff format --force-exclude
|
47
|
-
language:
|
47
|
+
language: system
|
48
48
|
types_or:
|
49
49
|
- python
|
50
50
|
- pyi
|
@@ -1,10 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: pyproject-pre-commit
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.2
|
4
4
|
Summary: pre-commit hooks for python projects using pyproject.toml.
|
5
5
|
Author-email: rcmdnk <rcmdnk@gmail.com>
|
6
|
-
License-Expression: Apache-2.0
|
7
|
-
License-File: LICENSE
|
8
6
|
Keywords: pre-commit,pyproject.toml,uv
|
9
7
|
Classifier: Development Status :: 3 - Alpha
|
10
8
|
Classifier: Environment :: Console
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "pyproject-pre-commit"
|
3
|
-
version = "0.3.
|
3
|
+
version = "0.3.2"
|
4
4
|
description = "pre-commit hooks for python projects using pyproject.toml."
|
5
5
|
authors = [
|
6
6
|
{ name = "rcmdnk", email = "rcmdnk@gmail.com" }
|
@@ -77,7 +77,6 @@ testpaths = ["tests",]
|
|
77
77
|
|
78
78
|
[tool.ruff]
|
79
79
|
line-length = 79
|
80
|
-
# quote-style = "single"
|
81
80
|
|
82
81
|
[tool.ruff.lint]
|
83
82
|
## select = ["ALL"]
|
@@ -117,6 +116,7 @@ ignore = [
|
|
117
116
|
max-complexity = 10
|
118
117
|
|
119
118
|
[tool.ruff.format]
|
119
|
+
# quote-style = "single"
|
120
120
|
docstring-code-format = true
|
121
121
|
|
122
122
|
[tool.black]
|
{pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/tests/test_pyproject_pre_commit.py
RENAMED
@@ -10,11 +10,11 @@ from pyproject_pre_commit import __version__, main
|
|
10
10
|
[
|
11
11
|
(
|
12
12
|
["ppc"],
|
13
|
-
"
|
13
|
+
"Usage: ppc <--pre-commit | --pyproject> [--ruff] [--black]\n",
|
14
14
|
),
|
15
15
|
(
|
16
16
|
["ppc", "--wrong"],
|
17
|
-
"
|
17
|
+
"Usage: ppc <--pre-commit | --pyproject> [--ruff] [--black]\n",
|
18
18
|
),
|
19
19
|
],
|
20
20
|
)
|
@@ -9,5 +9,5 @@ def test_version():
|
|
9
9
|
except ModuleNotFoundError:
|
10
10
|
import tomli as tomllib
|
11
11
|
with open(Path(__file__).parents[1] / "pyproject.toml", "rb") as f:
|
12
|
-
version = tomllib.load(f)["
|
12
|
+
version = tomllib.load(f)["project"]["version"]
|
13
13
|
assert version == __version__
|
@@ -532,11 +532,11 @@ wheels = [
|
|
532
532
|
|
533
533
|
[[package]]
|
534
534
|
name = "identify"
|
535
|
-
version = "2.6.
|
535
|
+
version = "2.6.2"
|
536
536
|
source = { registry = "https://pypi.org/simple" }
|
537
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
537
|
+
sdist = { url = "https://files.pythonhosted.org/packages/02/79/7a520fc5011e02ca3f3285b5f6820eaf80443eb73e3733f73c02fb42ba0b/identify-2.6.2.tar.gz", hash = "sha256:fab5c716c24d7a789775228823797296a2994b075fb6080ac83a102772a98cbd", size = 99113 }
|
538
538
|
wheels = [
|
539
|
-
{ url = "https://files.pythonhosted.org/packages/
|
539
|
+
{ url = "https://files.pythonhosted.org/packages/e0/86/c4395700f3c5475424fb5c41e20c16be28d10c904aee4d005ba3217fc8e7/identify-2.6.2-py2.py3-none-any.whl", hash = "sha256:c097384259f49e372f4ea00a19719d95ae27dd5ff0fd77ad630aa891306b82f3", size = 98982 },
|
540
540
|
]
|
541
541
|
|
542
542
|
[[package]]
|
@@ -868,11 +868,11 @@ wheels = [
|
|
868
868
|
|
869
869
|
[[package]]
|
870
870
|
name = "packaging"
|
871
|
-
version = "24.
|
871
|
+
version = "24.2"
|
872
872
|
source = { registry = "https://pypi.org/simple" }
|
873
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
873
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d0/63/68dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da/packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f", size = 163950 }
|
874
874
|
wheels = [
|
875
|
-
{ url = "https://files.pythonhosted.org/packages/
|
875
|
+
{ url = "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759", size = 65451 },
|
876
876
|
]
|
877
877
|
|
878
878
|
[[package]]
|
@@ -980,7 +980,7 @@ wheels = [
|
|
980
980
|
|
981
981
|
[[package]]
|
982
982
|
name = "pyproject-pre-commit"
|
983
|
-
version = "0.3.
|
983
|
+
version = "0.3.2"
|
984
984
|
source = { editable = "." }
|
985
985
|
dependencies = [
|
986
986
|
{ name = "autoflake" },
|
@@ -1263,27 +1263,27 @@ wheels = [
|
|
1263
1263
|
|
1264
1264
|
[[package]]
|
1265
1265
|
name = "ruff"
|
1266
|
-
version = "0.7.
|
1267
|
-
source = { registry = "https://pypi.org/simple" }
|
1268
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
1269
|
-
wheels = [
|
1270
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1271
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1272
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1273
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1274
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1275
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1276
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1277
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1278
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1279
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1280
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1281
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1282
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1283
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1284
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1285
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1286
|
-
{ url = "https://files.pythonhosted.org/packages/
|
1266
|
+
version = "0.7.3"
|
1267
|
+
source = { registry = "https://pypi.org/simple" }
|
1268
|
+
sdist = { url = "https://files.pythonhosted.org/packages/4b/06/09d1276df977eece383d0ed66052fc24ec4550a61f8fbc0a11200e690496/ruff-0.7.3.tar.gz", hash = "sha256:e1d1ba2e40b6e71a61b063354d04be669ab0d39c352461f3d789cac68b54a313", size = 3243664 }
|
1269
|
+
wheels = [
|
1270
|
+
{ url = "https://files.pythonhosted.org/packages/c0/56/933d433c2489e4642487b835f53dd9ff015fb3d8fa459b09bb2ce42d7c4b/ruff-0.7.3-py3-none-linux_armv6l.whl", hash = "sha256:34f2339dc22687ec7e7002792d1f50712bf84a13d5152e75712ac08be565d344", size = 10372090 },
|
1271
|
+
{ url = "https://files.pythonhosted.org/packages/20/ea/1f0a22a6bcdd3fc26c73f63a025d05bd565901b729d56bcb093c722a6c4c/ruff-0.7.3-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:fb397332a1879b9764a3455a0bb1087bda876c2db8aca3a3cbb67b3dbce8cda0", size = 10190037 },
|
1272
|
+
{ url = "https://files.pythonhosted.org/packages/16/74/aca75666e0d481fe394e76a8647c44ea919087748024924baa1a17371e3e/ruff-0.7.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:37d0b619546103274e7f62643d14e1adcbccb242efda4e4bdb9544d7764782e9", size = 9811998 },
|
1273
|
+
{ url = "https://files.pythonhosted.org/packages/20/a1/cf446a0d7f78ea1f0bd2b9171c11dfe746585c0c4a734b25966121eb4f5d/ruff-0.7.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d59f0c3ee4d1a6787614e7135b72e21024875266101142a09a61439cb6e38a5", size = 10620626 },
|
1274
|
+
{ url = "https://files.pythonhosted.org/packages/cd/c1/82b27d09286ae855f5d03b1ad37cf243f21eb0081732d4d7b0d658d439cb/ruff-0.7.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:44eb93c2499a169d49fafd07bc62ac89b1bc800b197e50ff4633aed212569299", size = 10177598 },
|
1275
|
+
{ url = "https://files.pythonhosted.org/packages/b9/42/c0acac22753bf74013d035a5ef6c5c4c40ad4d6686bfb3fda7c6f37d9b37/ruff-0.7.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6d0242ce53f3a576c35ee32d907475a8d569944c0407f91d207c8af5be5dae4e", size = 11171963 },
|
1276
|
+
{ url = "https://files.pythonhosted.org/packages/43/18/bb0befb7fb9121dd9009e6a72eb98e24f1bacb07c6f3ecb55f032ba98aed/ruff-0.7.3-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:6b6224af8b5e09772c2ecb8dc9f3f344c1aa48201c7f07e7315367f6dd90ac29", size = 11856157 },
|
1277
|
+
{ url = "https://files.pythonhosted.org/packages/5e/91/04e98d7d6e32eca9d1372be595f9abc7b7f048795e32eb2edbd8794d50bd/ruff-0.7.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c50f95a82b94421c964fae4c27c0242890a20fe67d203d127e84fbb8013855f5", size = 11440331 },
|
1278
|
+
{ url = "https://files.pythonhosted.org/packages/f5/dc/3fe99f2ce10b76d389041a1b9f99e7066332e479435d4bebcceea16caff5/ruff-0.7.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7f3eff9961b5d2644bcf1616c606e93baa2d6b349e8aa8b035f654df252c8c67", size = 12725354 },
|
1279
|
+
{ url = "https://files.pythonhosted.org/packages/43/7b/1daa712de1c5bc6cbbf9fa60e9c41cc48cda962dc6d2c4f2a224d2c3007e/ruff-0.7.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b8963cab06d130c4df2fd52c84e9f10d297826d2e8169ae0c798b6221be1d1d2", size = 11010091 },
|
1280
|
+
{ url = "https://files.pythonhosted.org/packages/b6/db/1227a903587432eb569e57a95b15a4f191a71fe315cde4c0312df7bc85da/ruff-0.7.3-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:61b46049d6edc0e4317fb14b33bd693245281a3007288b68a3f5b74a22a0746d", size = 10610687 },
|
1281
|
+
{ url = "https://files.pythonhosted.org/packages/db/e2/dc41ee90c3085aadad4da614d310d834f641aaafddf3dfbba08210c616ce/ruff-0.7.3-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:10ebce7696afe4644e8c1a23b3cf8c0f2193a310c18387c06e583ae9ef284de2", size = 10254843 },
|
1282
|
+
{ url = "https://files.pythonhosted.org/packages/6f/09/5f6cac1c91542bc5bd33d40b4c13b637bf64d7bb29e091dadb01b62527fe/ruff-0.7.3-py3-none-musllinux_1_2_i686.whl", hash = "sha256:3f36d56326b3aef8eeee150b700e519880d1aab92f471eefdef656fd57492aa2", size = 10730962 },
|
1283
|
+
{ url = "https://files.pythonhosted.org/packages/d3/42/89a4b9a24ef7d00269e24086c417a006f9a3ffeac2c80f2629eb5ce140ee/ruff-0.7.3-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:5d024301109a0007b78d57ab0ba190087b43dce852e552734ebf0b0b85e4fb16", size = 11101907 },
|
1284
|
+
{ url = "https://files.pythonhosted.org/packages/b0/5c/efdb4777686683a8edce94ffd812783bddcd3d2454d38c5ac193fef7c500/ruff-0.7.3-py3-none-win32.whl", hash = "sha256:4ba81a5f0c5478aa61674c5a2194de8b02652f17addf8dfc40c8937e6e7d79fc", size = 8611095 },
|
1285
|
+
{ url = "https://files.pythonhosted.org/packages/bb/b8/28fbc6a4efa50178f973972d1c84b2d0a33cdc731588522ab751ac3da2f5/ruff-0.7.3-py3-none-win_amd64.whl", hash = "sha256:588a9ff2fecf01025ed065fe28809cd5a53b43505f48b69a1ac7707b1b7e4088", size = 9418283 },
|
1286
|
+
{ url = "https://files.pythonhosted.org/packages/3f/77/b587cba6febd5e2003374f37eb89633f79f161e71084f94057c8653b7fb3/ruff-0.7.3-py3-none-win_arm64.whl", hash = "sha256:1713e2c5545863cdbfe2cbce21f69ffaf37b813bfd1fb3b90dc9a6f1963f5a8c", size = 8725228 },
|
1287
1287
|
]
|
1288
1288
|
|
1289
1289
|
[[package]]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/__init__.py
RENAMED
File without changes
|
{pyproject_pre_commit-0.3.1 → pyproject_pre_commit-0.3.2}/src/pyproject_pre_commit/__version__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|