@@ -7,7 +7,7 @@ skip = "pp3* *musllinux_aarch64 *musllinux_ppc64le"
77archs = [" auto" ]
88build-frontend = " default"
99dependency-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
1212before-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 ]
2323archs = [" 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" }
2525repair-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
2929fix = 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" ]
3745lint.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