in-silico-cancer-cell 0.2.0__tar.gz → 0.2.4__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.
- in_silico_cancer_cell-0.2.4/.github/workflows/main.yml +50 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.github/workflows/maturin.yml +51 -24
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.gitignore +0 -2
- in_silico_cancer_cell-0.2.4/.gitmodules +3 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.pre-commit-config.yaml +2 -2
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.vscode/launch.json +9 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/Cargo.lock +388 -387
- in_silico_cancer_cell-0.2.4/Cargo.toml +45 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/PKG-INFO +16 -4
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/README.md +5 -1
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/astro.config.mjs +7 -0
- in_silico_cancer_cell-0.2.4/bun.lock +1114 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/package.json +9 -8
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/pyproject.toml +17 -21
- in_silico_cancer_cell-0.2.4/python/in_silico_cancer_cell/fit.py +52 -0
- in_silico_cancer_cell-0.2.4/python/in_silico_cancer_cell/plot.py +42 -0
- in_silico_cancer_cell-0.2.4/python/in_silico_cancer_cell/utils.py +16 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/cell.rs +89 -28
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/base.rs +49 -5
- in_silico_cancer_cell-0.2.4/src/channels/custom.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/constants.rs +6 -3
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/lib.rs +1 -0
- in_silico_cancer_cell-0.2.4/src/main.rs +180 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/optimisation.rs +24 -15
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/patchclampdata.rs +61 -9
- in_silico_cancer_cell-0.2.4/src/pulseprotocol.rs +146 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/utils.rs +35 -0
- in_silico_cancer_cell-0.2.4/tasks.py +60 -0
- in_silico_cancer_cell-0.2.4/uv.lock +941 -0
- in_silico_cancer_cell-0.2.0/.github/workflows/main.yml +0 -41
- in_silico_cancer_cell-0.2.0/Cargo.toml +0 -43
- in_silico_cancer_cell-0.2.0/figures/results/data-vs-simulation.pdf +0 -0
- in_silico_cancer_cell-0.2.0/literature/1998-potassium-channel.pdf +0 -0
- in_silico_cancer_cell-0.2.0/literature/2021-A549-model.pdf +44 -19184
- in_silico_cancer_cell-0.2.0/literature/sources.bib +0 -27
- in_silico_cancer_cell-0.2.0/main.py +0 -13
- in_silico_cancer_cell-0.2.0/poetry.lock +0 -870
- in_silico_cancer_cell-0.2.0/python/in_silico_cancer_cell/plot.py +0 -53
- in_silico_cancer_cell-0.2.0/report/.gitignore +0 -29
- in_silico_cancer_cell-0.2.0/report/graphics/sample-figure1.png +0 -0
- in_silico_cancer_cell-0.2.0/report/logos/Open_Access.eps +0 -0
- in_silico_cancer_cell-0.2.0/report/logos/Open_Access.pdf +0 -0
- in_silico_cancer_cell-0.2.0/report/logos/by.eps +0 -0
- in_silico_cancer_cell-0.2.0/report/logos/by.pdf +10 -6757
- in_silico_cancer_cell-0.2.0/report/logos/dg-degruyter.eps +0 -8284
- in_silico_cancer_cell-0.2.0/report/logos/dg-degruyter.pdf +0 -0
- in_silico_cancer_cell-0.2.0/report/report.pdf +0 -0
- in_silico_cancer_cell-0.2.0/report/report.tex +0 -140
- in_silico_cancer_cell-0.2.0/src/main.rs +0 -96
- in_silico_cancer_cell-0.2.0/src/pulseprotocol.rs +0 -71
- in_silico_cancer_cell-0.2.0/yarn.lock +0 -4026
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.editorconfig +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.rustfmt.toml +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/.vscode/extensions.json +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_1.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_10.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_11.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_2.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_3.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_4.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_5.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_6.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_7.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_8.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG0_9.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG1_1.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG1_2.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG1_3.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG1_4.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/mG1_5.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/patch_clamp_data.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/experimental/time_vector_measure.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/provision/patch_clamp_data_activation.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/provision/patch_clamp_data_deactivation.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/data/provision/patch_clamp_data_ramp.mat +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/A549 in-silico main.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/CLC_2.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/CRAC1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/KCa_1_1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/KCa_3_1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/Kv_1_3.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/Kv_3_1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/Kv_3_4.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/Kv_7_1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/P_CRAC1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/TASK1.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/TRPV_3.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/load_patch_clamp_data.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/model_evaluation.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/optimization.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/simulate_pulse_protocol.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/simulate_pulse_protocol_TRPC.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/matlab/simulate_pulse_protocol_TRPV.m +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/public/favicon.svg +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/python/in_silico_cancer_cell/__init__.py +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/python/in_silico_cancer_cell/_in_rusty_silico.pyi +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/python/in_silico_cancer_cell/py.typed +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/python/tests/test_all.py +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/rust-toolchain.toml +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/clc2.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/crac1.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kca11.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kca31.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kv13.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kv31.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kv34.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/kv71.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/mod.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/task1.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/trpc6.rs +0 -0
- {in_silico_cancer_cell-0.2.0 → in_silico_cancer_cell-0.2.4}/src/channels/trpv3.rs +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Build Main, Frontend and Deploy
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
env:
|
|
5
|
+
CARGO_TERM_COLOR: always
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
strategy:
|
|
9
|
+
matrix:
|
|
10
|
+
include:
|
|
11
|
+
- target: x86_64-unknown-linux-gnu
|
|
12
|
+
os: ubuntu-latest
|
|
13
|
+
- target: x86_64-pc-windows-msvc
|
|
14
|
+
os: windows-latest
|
|
15
|
+
runs-on: ${{ matrix.os }}
|
|
16
|
+
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
- run: rustup toolchain install nightly --profile minimal
|
|
20
|
+
- uses: Swatinem/rust-cache@v2
|
|
21
|
+
|
|
22
|
+
# builds main.rs
|
|
23
|
+
- name: Build project
|
|
24
|
+
run: cargo build --release --target=${{ matrix.target }}
|
|
25
|
+
|
|
26
|
+
# builds frontend with wasm-pack
|
|
27
|
+
- uses: oven-sh/setup-bun@v2
|
|
28
|
+
- run: bun install --frozen-lockfile # also include the "dev" dependencies (e.g. wasm-pack)
|
|
29
|
+
- run: bun run wasm-pack build frontend --release
|
|
30
|
+
- run: |
|
|
31
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol activation --phase g0 save-patch-clamp-data
|
|
32
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol deactivation --phase g0 save-patch-clamp-data
|
|
33
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol ramp --phase g0 save-patch-clamp-data
|
|
34
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol activation --phase g1 save-patch-clamp-data
|
|
35
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol deactivation --phase g1 save-patch-clamp-data
|
|
36
|
+
cargo run --release --target=${{ matrix.target }} -- --protocol ramp --phase g1 save-patch-clamp-data
|
|
37
|
+
echo "[]" > frontend/pkg/delta-tolerance.json
|
|
38
|
+
- run: bun run build
|
|
39
|
+
# deploy to Netlify
|
|
40
|
+
- uses: jsmrcaga/action-netlify-deploy@master
|
|
41
|
+
# if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
|
|
42
|
+
if: runner.os == 'Linux'
|
|
43
|
+
with:
|
|
44
|
+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
45
|
+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
|
46
|
+
NETLIFY_DEPLOY_MESSAGE: "Production deploy v${{ github.ref }}"
|
|
47
|
+
NETLIFY_DEPLOY_TO_PROD: true
|
|
48
|
+
install_command: "echo Skipping..."
|
|
49
|
+
build_command: "echo Skipping..."
|
|
50
|
+
build_directory: dist/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# This file is autogenerated by maturin v1.
|
|
1
|
+
# This file is autogenerated by maturin v1.10.2
|
|
2
2
|
# To update, run
|
|
3
3
|
#
|
|
4
4
|
# maturin generate-ci github
|
|
@@ -26,25 +26,17 @@ jobs:
|
|
|
26
26
|
platform:
|
|
27
27
|
- runner: ubuntu-latest
|
|
28
28
|
target: x86_64
|
|
29
|
-
# - runner: ubuntu-latest
|
|
30
|
-
# target: aarch64
|
|
31
|
-
# - runner: ubuntu-latest
|
|
32
|
-
# target: armv7
|
|
33
|
-
# - runner: ubuntu-latest
|
|
34
|
-
# target: s390x
|
|
35
|
-
# - runner: ubuntu-latest
|
|
36
|
-
# target: ppc64le
|
|
37
29
|
steps:
|
|
38
30
|
- uses: actions/checkout@v4
|
|
39
31
|
- uses: actions/setup-python@v5
|
|
40
32
|
with:
|
|
41
|
-
python-version:
|
|
33
|
+
python-version: 3.x
|
|
42
34
|
- name: Build wheels
|
|
43
35
|
uses: PyO3/maturin-action@v1
|
|
44
36
|
with:
|
|
45
37
|
target: ${{ matrix.platform.target }}
|
|
46
38
|
args: --release --out dist --find-interpreter
|
|
47
|
-
sccache:
|
|
39
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
48
40
|
manylinux: auto
|
|
49
41
|
- name: Upload wheels
|
|
50
42
|
uses: actions/upload-artifact@v4
|
|
@@ -52,27 +44,52 @@ jobs:
|
|
|
52
44
|
name: wheels-linux-${{ matrix.platform.target }}
|
|
53
45
|
path: dist
|
|
54
46
|
|
|
47
|
+
musllinux:
|
|
48
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
49
|
+
strategy:
|
|
50
|
+
matrix:
|
|
51
|
+
platform:
|
|
52
|
+
- runner: ubuntu-latest
|
|
53
|
+
target: x86_64
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/checkout@v4
|
|
56
|
+
- uses: actions/setup-python@v5
|
|
57
|
+
with:
|
|
58
|
+
python-version: 3.x
|
|
59
|
+
- name: Build wheels
|
|
60
|
+
uses: PyO3/maturin-action@v1
|
|
61
|
+
with:
|
|
62
|
+
target: ${{ matrix.platform.target }}
|
|
63
|
+
args: --release --out dist --find-interpreter
|
|
64
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
65
|
+
manylinux: musllinux_1_2
|
|
66
|
+
- name: Upload wheels
|
|
67
|
+
uses: actions/upload-artifact@v4
|
|
68
|
+
with:
|
|
69
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
70
|
+
path: dist
|
|
71
|
+
|
|
55
72
|
windows:
|
|
56
73
|
runs-on: ${{ matrix.platform.runner }}
|
|
57
74
|
strategy:
|
|
58
75
|
matrix:
|
|
59
76
|
platform:
|
|
60
|
-
|
|
61
|
-
|
|
77
|
+
- runner: windows-latest
|
|
78
|
+
target: x64
|
|
62
79
|
- runner: windows-latest
|
|
63
80
|
target: x86
|
|
64
81
|
steps:
|
|
65
82
|
- uses: actions/checkout@v4
|
|
66
83
|
- uses: actions/setup-python@v5
|
|
67
84
|
with:
|
|
68
|
-
python-version:
|
|
85
|
+
python-version: 3.x
|
|
69
86
|
architecture: ${{ matrix.platform.target }}
|
|
70
87
|
- name: Build wheels
|
|
71
88
|
uses: PyO3/maturin-action@v1
|
|
72
89
|
with:
|
|
73
90
|
target: ${{ matrix.platform.target }}
|
|
74
91
|
args: --release --out dist --find-interpreter
|
|
75
|
-
sccache:
|
|
92
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
76
93
|
- name: Upload wheels
|
|
77
94
|
uses: actions/upload-artifact@v4
|
|
78
95
|
with:
|
|
@@ -84,21 +101,19 @@ jobs:
|
|
|
84
101
|
strategy:
|
|
85
102
|
matrix:
|
|
86
103
|
platform:
|
|
87
|
-
- runner: macos-
|
|
88
|
-
target:
|
|
89
|
-
# - runner: macos-14
|
|
90
|
-
# target: aarch64
|
|
104
|
+
- runner: macos-14
|
|
105
|
+
target: aarch64
|
|
91
106
|
steps:
|
|
92
107
|
- uses: actions/checkout@v4
|
|
93
108
|
- uses: actions/setup-python@v5
|
|
94
109
|
with:
|
|
95
|
-
python-version:
|
|
110
|
+
python-version: 3.x
|
|
96
111
|
- name: Build wheels
|
|
97
112
|
uses: PyO3/maturin-action@v1
|
|
98
113
|
with:
|
|
99
114
|
target: ${{ matrix.platform.target }}
|
|
100
115
|
args: --release --out dist --find-interpreter
|
|
101
|
-
sccache:
|
|
116
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
102
117
|
- name: Upload wheels
|
|
103
118
|
uses: actions/upload-artifact@v4
|
|
104
119
|
with:
|
|
@@ -114,7 +129,7 @@ jobs:
|
|
|
114
129
|
with:
|
|
115
130
|
command: sdist
|
|
116
131
|
args: --out dist
|
|
117
|
-
- name: Upload sdist
|
|
132
|
+
- name: Upload sdist as a GitHub artifact
|
|
118
133
|
uses: actions/upload-artifact@v4
|
|
119
134
|
with:
|
|
120
135
|
name: wheels-sdist
|
|
@@ -123,11 +138,23 @@ jobs:
|
|
|
123
138
|
release:
|
|
124
139
|
name: Release
|
|
125
140
|
runs-on: ubuntu-latest
|
|
126
|
-
if: startsWith(github.ref, 'refs/tags/')
|
|
127
|
-
needs: [linux, windows, macos, sdist]
|
|
141
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
142
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
143
|
+
permissions:
|
|
144
|
+
# Use to sign the release artifacts
|
|
145
|
+
id-token: write
|
|
146
|
+
# Used to upload release artifacts
|
|
147
|
+
contents: write
|
|
148
|
+
# Used to generate artifact attestation
|
|
149
|
+
attestations: write
|
|
128
150
|
steps:
|
|
129
151
|
- uses: actions/download-artifact@v4
|
|
152
|
+
- name: Generate artifact attestation
|
|
153
|
+
uses: actions/attest-build-provenance@v2
|
|
154
|
+
with:
|
|
155
|
+
subject-path: "wheels-*/*"
|
|
130
156
|
- name: Publish to PyPI
|
|
157
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
131
158
|
uses: PyO3/maturin-action@v1
|
|
132
159
|
env:
|
|
133
160
|
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -18,7 +18,7 @@ repos:
|
|
|
18
18
|
- id: fmt
|
|
19
19
|
- id: cargo-check
|
|
20
20
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
21
|
-
rev: v0.
|
|
21
|
+
rev: v0.5.0
|
|
22
22
|
hooks:
|
|
23
23
|
- id: ruff
|
|
24
24
|
args:
|
|
@@ -31,7 +31,7 @@ repos:
|
|
|
31
31
|
- id: python-no-eval
|
|
32
32
|
- id: python-no-log-warn
|
|
33
33
|
- repo: https://github.com/asottile/pyupgrade
|
|
34
|
-
rev: v3.
|
|
34
|
+
rev: v3.16.0
|
|
35
35
|
hooks:
|
|
36
36
|
- id: pyupgrade
|
|
37
37
|
- repo: local
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "0.2.0",
|
|
3
3
|
"configurations": [
|
|
4
|
+
{
|
|
5
|
+
"type": "lldb",
|
|
6
|
+
"request": "launch",
|
|
7
|
+
"name": "Cargo launch",
|
|
8
|
+
"cargo": {
|
|
9
|
+
"args": ["build"]
|
|
10
|
+
},
|
|
11
|
+
"args": ["single"]
|
|
12
|
+
},
|
|
4
13
|
{
|
|
5
14
|
"command": "./node_modules/.bin/astro dev",
|
|
6
15
|
"name": "Development server",
|