File tree Expand file tree Collapse file tree 4 files changed +388
-3
lines changed Expand file tree Collapse file tree 4 files changed +388
-3
lines changed Original file line number Diff line number Diff line change 61
61
version : PATH
62
62
working-directory : src/
63
63
python-version : ${{ matrix.python-version }}
64
+
65
+ uv-secure :
66
+ runs-on : ubuntu-latest
67
+ steps :
68
+ - uses : actions/checkout@v4
69
+ - name : Set up uv
70
+ uses : astral-sh/setup-uv@v5
71
+ with :
72
+ enable-cache : true
73
+ cache-dependency-glob : " uv.lock"
74
+ - run : uvx --with uvloop uv-secure
75
+
64
76
Build :
65
77
runs-on : ${{ matrix.os }}
66
78
strategy :
Original file line number Diff line number Diff line change
1
+ repos : [] # TODO: Remove this file once pre-commit.ci is disabled
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ dev = [
53
53
" mypy[faster-cache] >=1.16" ,
54
54
" pyright[nodejs] >=1.1.400" , # reportPrivateImportUsage behaviour change
55
55
" ruff >=0.11.13" ,
56
+ " uv-secure" ,
57
+ " uvloop; sys_platform != 'win32'" ,
58
+ " winloop; sys_platform == 'win32'" ,
56
59
#
57
60
# Types
58
61
" scipy-stubs >=1.14.1.1" ,
@@ -78,6 +81,9 @@ dependency-metadata = [
78
81
[tool .uv .sources ]
79
82
keyboard = { git = " https://github.com/boppreh/keyboard.git" } # Fix install on macos and linux-ci https://github.com/boppreh/keyboard/pull/568
80
83
84
+ [tool .uv-secure .maintainability_criteria ]
85
+ forbid_yanked = true
86
+
81
87
# https://github.com/microsoft/pyright/blob/main/docs/configuration.md#sample-pyprojecttoml-file
82
88
[tool .pyright ]
83
89
typeCheckingMode = " strict"
You can’t perform that action at this time.
0 commit comments