Skip to content

Commit 735ba5a

Browse files
committed
fix pyproject again
1 parent 9a1affc commit 735ba5a

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

pyproject.toml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ skip = "pp3* *musllinux_aarch64 *musllinux_ppc64le"
77
archs = ["auto"]
88
build-frontend = "default"
99
dependency-versions = "pinned"
10-
environment = {LIBGIT2_VERSION="1.8.4", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/project/ci"}
10+
environment = { LIBGIT2_VERSION = "1.8.4", LIBSSH2_VERSION = "1.11.1", OPENSSL_VERSION = "3.2.3", LIBGIT2 = "/project/ci" }
1111

1212
before-all = "sh build.sh"
1313

@@ -21,19 +21,27 @@ repair-wheel-command = "LD_LIBRARY_PATH=/project/ci/lib auditwheel repair -w {de
2121

2222
[tool.cibuildwheel.macos]
2323
archs = ["universal2"]
24-
environment = {LIBGIT2_VERSION="1.8.4", LIBSSH2_VERSION="1.11.1", OPENSSL_VERSION="3.2.3", LIBGIT2="/Users/runner/work/pygit2/pygit2/ci"}
24+
environment = { LIBGIT2_VERSION = "1.8.4", LIBSSH2_VERSION = "1.11.1", OPENSSL_VERSION = "3.2.3", LIBGIT2 = "/Users/runner/work/pygit2/pygit2/ci" }
2525
repair-wheel-command = "DYLD_LIBRARY_PATH=/Users/runner/work/pygit2/pygit2/ci/lib delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel}"
2626

2727
[tool.ruff]
28-
target-version = "py310" # oldest supported Python version
28+
target-version = "py310" # oldest supported Python version
2929
fix = true
30-
extend-exclude = [
31-
".cache",
32-
".coverage",
33-
"build",
34-
"venv*",
30+
extend-exclude = [".cache", ".coverage", "build", "venv*"]
31+
lint.select = [
32+
"C",
33+
"E",
34+
"W",
35+
"F",
36+
"I",
37+
"B",
38+
"C4",
39+
"ARG",
40+
"SIM",
41+
"PTH",
42+
"PL",
43+
"TID",
3544
]
36-
lint.select = ["C", "E", "W", "F", "I", "B", "C4", "ARG", "SIM", "PTH", "PL", "TID"]
3745
lint.ignore = [
3846
"W291", # Trailing whitespace
3947
"E501", # Line too long
@@ -44,7 +52,8 @@ lint.ignore = [
4452
"PLW0603", # Global statement
4553
"PLR0913", # Too many arguments
4654
"B010", # setattr
47-
"F401" # unused imports
55+
"F401", # unused imports
56+
"ARG002", # unused arguments
4857
]
4958

5059
[tool.ruff.format]

0 commit comments

Comments
 (0)