ignore-python 0.1.2__tar.gz → 0.3.0__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.
- ignore_python-0.3.0/.github/workflows/CI.yml +253 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/.github/workflows/docs.yml +1 -1
- {ignore_python-0.1.2 → ignore_python-0.3.0}/.gitignore +0 -67
- {ignore_python-0.1.2 → ignore_python-0.3.0}/Cargo.lock +56 -63
- {ignore_python-0.1.2 → ignore_python-0.3.0}/Cargo.toml +3 -3
- {ignore_python-0.1.2 → ignore_python-0.3.0}/PKG-INFO +2 -2
- {ignore_python-0.1.2 → ignore_python-0.3.0}/ignore/__init__.pyi +3 -1
- ignore_python-0.3.0/src/lib.rs +354 -0
- ignore_python-0.3.0/tests/test_root.py +71 -0
- ignore_python-0.1.2/.github/workflows/CI.yml +0 -169
- ignore_python-0.1.2/src/lib.rs +0 -315
- {ignore_python-0.1.2 → ignore_python-0.3.0}/LICENSE.txt +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/README.md +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/ignore/__init__.py +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/ignore/overrides/__init__.pyi +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/ignore/overrides/py.typed +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/ignore/py.typed +0 -0
- {ignore_python-0.1.2 → ignore_python-0.3.0}/pyproject.toml +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# This file is autogenerated by maturin v1.8.3
|
|
2
|
+
# To update, run
|
|
3
|
+
#
|
|
4
|
+
# maturin generate-ci github --pytest
|
|
5
|
+
#
|
|
6
|
+
name: CI
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
branches:
|
|
11
|
+
- '**'
|
|
12
|
+
tags:
|
|
13
|
+
- '*'
|
|
14
|
+
pull_request:
|
|
15
|
+
workflow_dispatch:
|
|
16
|
+
|
|
17
|
+
permissions:
|
|
18
|
+
contents: read
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
linux:
|
|
22
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
23
|
+
strategy:
|
|
24
|
+
matrix:
|
|
25
|
+
platform:
|
|
26
|
+
- runner: ubuntu-22.04
|
|
27
|
+
target: x86_64
|
|
28
|
+
- runner: ubuntu-22.04
|
|
29
|
+
target: x86
|
|
30
|
+
- runner: ubuntu-22.04
|
|
31
|
+
target: aarch64
|
|
32
|
+
- runner: ubuntu-22.04
|
|
33
|
+
target: armv7
|
|
34
|
+
- runner: ubuntu-22.04
|
|
35
|
+
target: s390x
|
|
36
|
+
- runner: ubuntu-22.04
|
|
37
|
+
target: ppc64le
|
|
38
|
+
steps:
|
|
39
|
+
- uses: actions/checkout@v4
|
|
40
|
+
- uses: actions/setup-python@v5
|
|
41
|
+
with:
|
|
42
|
+
python-version: 3.x
|
|
43
|
+
- name: Build wheels
|
|
44
|
+
uses: PyO3/maturin-action@v1
|
|
45
|
+
with:
|
|
46
|
+
target: ${{ matrix.platform.target }}
|
|
47
|
+
args: --release --out dist --find-interpreter
|
|
48
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
49
|
+
manylinux: auto
|
|
50
|
+
- name: Upload wheels
|
|
51
|
+
uses: actions/upload-artifact@v4
|
|
52
|
+
with:
|
|
53
|
+
name: wheels-linux-${{ matrix.platform.target }}
|
|
54
|
+
path: dist
|
|
55
|
+
- name: pytest
|
|
56
|
+
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
|
|
57
|
+
shell: bash
|
|
58
|
+
run: |
|
|
59
|
+
set -e
|
|
60
|
+
python3 -m venv .venv
|
|
61
|
+
source .venv/bin/activate
|
|
62
|
+
pip install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
63
|
+
pip install pytest
|
|
64
|
+
pytest
|
|
65
|
+
- name: pytest
|
|
66
|
+
if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
|
|
67
|
+
uses: uraimo/run-on-arch-action@v2
|
|
68
|
+
with:
|
|
69
|
+
arch: ${{ matrix.platform.target }}
|
|
70
|
+
distro: ubuntu22.04
|
|
71
|
+
githubToken: ${{ github.token }}
|
|
72
|
+
install: |
|
|
73
|
+
apt-get update
|
|
74
|
+
apt-get install -y --no-install-recommends python3 python3-pip
|
|
75
|
+
pip3 install -U pip pytest
|
|
76
|
+
run: |
|
|
77
|
+
set -e
|
|
78
|
+
pip3 install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
79
|
+
pytest
|
|
80
|
+
|
|
81
|
+
musllinux:
|
|
82
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
83
|
+
strategy:
|
|
84
|
+
matrix:
|
|
85
|
+
platform:
|
|
86
|
+
- runner: ubuntu-22.04
|
|
87
|
+
target: x86_64
|
|
88
|
+
- runner: ubuntu-22.04
|
|
89
|
+
target: x86
|
|
90
|
+
- runner: ubuntu-22.04
|
|
91
|
+
target: aarch64
|
|
92
|
+
- runner: ubuntu-22.04
|
|
93
|
+
target: armv7
|
|
94
|
+
steps:
|
|
95
|
+
- uses: actions/checkout@v4
|
|
96
|
+
- uses: actions/setup-python@v5
|
|
97
|
+
with:
|
|
98
|
+
python-version: 3.x
|
|
99
|
+
- name: Build wheels
|
|
100
|
+
uses: PyO3/maturin-action@v1
|
|
101
|
+
with:
|
|
102
|
+
target: ${{ matrix.platform.target }}
|
|
103
|
+
args: --release --out dist --find-interpreter
|
|
104
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
105
|
+
manylinux: musllinux_1_2
|
|
106
|
+
- name: Upload wheels
|
|
107
|
+
uses: actions/upload-artifact@v4
|
|
108
|
+
with:
|
|
109
|
+
name: wheels-musllinux-${{ matrix.platform.target }}
|
|
110
|
+
path: dist
|
|
111
|
+
- name: pytest
|
|
112
|
+
if: ${{ startsWith(matrix.platform.target, 'x86_64') }}
|
|
113
|
+
uses: addnab/docker-run-action@v3
|
|
114
|
+
with:
|
|
115
|
+
image: alpine:latest
|
|
116
|
+
options: -v ${{ github.workspace }}:/io -w /io
|
|
117
|
+
run: |
|
|
118
|
+
set -e
|
|
119
|
+
apk add py3-pip py3-virtualenv
|
|
120
|
+
python3 -m virtualenv .venv
|
|
121
|
+
source .venv/bin/activate
|
|
122
|
+
pip install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
123
|
+
pip install pytest
|
|
124
|
+
pytest
|
|
125
|
+
- name: pytest
|
|
126
|
+
if: ${{ !startsWith(matrix.platform.target, 'x86') }}
|
|
127
|
+
uses: uraimo/run-on-arch-action@v2
|
|
128
|
+
with:
|
|
129
|
+
arch: ${{ matrix.platform.target }}
|
|
130
|
+
distro: alpine_latest
|
|
131
|
+
githubToken: ${{ github.token }}
|
|
132
|
+
install: |
|
|
133
|
+
apk add py3-virtualenv
|
|
134
|
+
run: |
|
|
135
|
+
set -e
|
|
136
|
+
python3 -m virtualenv .venv
|
|
137
|
+
source .venv/bin/activate
|
|
138
|
+
pip install pytest
|
|
139
|
+
pip install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
140
|
+
pytest
|
|
141
|
+
|
|
142
|
+
windows:
|
|
143
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
144
|
+
strategy:
|
|
145
|
+
matrix:
|
|
146
|
+
platform:
|
|
147
|
+
- runner: windows-latest
|
|
148
|
+
target: x64
|
|
149
|
+
- runner: windows-latest
|
|
150
|
+
target: x86
|
|
151
|
+
steps:
|
|
152
|
+
- uses: actions/checkout@v4
|
|
153
|
+
- uses: actions/setup-python@v5
|
|
154
|
+
with:
|
|
155
|
+
python-version: 3.x
|
|
156
|
+
architecture: ${{ matrix.platform.target }}
|
|
157
|
+
- name: Build wheels
|
|
158
|
+
uses: PyO3/maturin-action@v1
|
|
159
|
+
with:
|
|
160
|
+
target: ${{ matrix.platform.target }}
|
|
161
|
+
args: --release --out dist --find-interpreter
|
|
162
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
163
|
+
- name: Upload wheels
|
|
164
|
+
uses: actions/upload-artifact@v4
|
|
165
|
+
with:
|
|
166
|
+
name: wheels-windows-${{ matrix.platform.target }}
|
|
167
|
+
path: dist
|
|
168
|
+
- name: pytest
|
|
169
|
+
if: ${{ !startsWith(matrix.platform.target, 'aarch64') }}
|
|
170
|
+
shell: bash
|
|
171
|
+
run: |
|
|
172
|
+
set -e
|
|
173
|
+
python3 -m venv .venv
|
|
174
|
+
source .venv/Scripts/activate
|
|
175
|
+
pip install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
176
|
+
pip install pytest
|
|
177
|
+
pytest
|
|
178
|
+
|
|
179
|
+
macos:
|
|
180
|
+
runs-on: ${{ matrix.platform.runner }}
|
|
181
|
+
strategy:
|
|
182
|
+
matrix:
|
|
183
|
+
platform:
|
|
184
|
+
- runner: macos-13
|
|
185
|
+
target: x86_64
|
|
186
|
+
- runner: macos-14
|
|
187
|
+
target: aarch64
|
|
188
|
+
steps:
|
|
189
|
+
- uses: actions/checkout@v4
|
|
190
|
+
- uses: actions/setup-python@v5
|
|
191
|
+
with:
|
|
192
|
+
python-version: 3.x
|
|
193
|
+
- name: Build wheels
|
|
194
|
+
uses: PyO3/maturin-action@v1
|
|
195
|
+
with:
|
|
196
|
+
target: ${{ matrix.platform.target }}
|
|
197
|
+
args: --release --out dist --find-interpreter
|
|
198
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
199
|
+
- name: Upload wheels
|
|
200
|
+
uses: actions/upload-artifact@v4
|
|
201
|
+
with:
|
|
202
|
+
name: wheels-macos-${{ matrix.platform.target }}
|
|
203
|
+
path: dist
|
|
204
|
+
- name: pytest
|
|
205
|
+
run: |
|
|
206
|
+
set -e
|
|
207
|
+
python3 -m venv .venv
|
|
208
|
+
source .venv/bin/activate
|
|
209
|
+
pip install ignore-python --find-links dist --force-reinstall --no-cache --no-index
|
|
210
|
+
pip install pytest
|
|
211
|
+
pytest
|
|
212
|
+
|
|
213
|
+
sdist:
|
|
214
|
+
runs-on: ubuntu-latest
|
|
215
|
+
steps:
|
|
216
|
+
- uses: actions/checkout@v4
|
|
217
|
+
- name: Build sdist
|
|
218
|
+
uses: PyO3/maturin-action@v1
|
|
219
|
+
with:
|
|
220
|
+
command: sdist
|
|
221
|
+
args: --out dist
|
|
222
|
+
- name: Upload sdist
|
|
223
|
+
uses: actions/upload-artifact@v4
|
|
224
|
+
with:
|
|
225
|
+
name: wheels-sdist
|
|
226
|
+
path: dist
|
|
227
|
+
|
|
228
|
+
release:
|
|
229
|
+
name: Release
|
|
230
|
+
runs-on: ubuntu-latest
|
|
231
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
|
232
|
+
needs: [linux, musllinux, windows, macos, sdist]
|
|
233
|
+
permissions:
|
|
234
|
+
# Use to sign the release artifacts
|
|
235
|
+
id-token: write
|
|
236
|
+
# Used to upload release artifacts
|
|
237
|
+
contents: write
|
|
238
|
+
# Used to generate artifact attestation
|
|
239
|
+
attestations: write
|
|
240
|
+
steps:
|
|
241
|
+
- uses: actions/download-artifact@v4
|
|
242
|
+
- name: Generate artifact attestation
|
|
243
|
+
uses: actions/attest-build-provenance@v2
|
|
244
|
+
with:
|
|
245
|
+
subject-path: 'wheels-*/*'
|
|
246
|
+
- name: Publish to PyPI
|
|
247
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
248
|
+
uses: PyO3/maturin-action@v1
|
|
249
|
+
env:
|
|
250
|
+
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
|
251
|
+
with:
|
|
252
|
+
command: upload
|
|
253
|
+
args: --non-interactive --skip-existing wheels-*/*
|
|
@@ -253,70 +253,3 @@ Cargo.lock
|
|
|
253
253
|
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
254
254
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
255
255
|
#.idea/# -*- mode: gitignore; -*-
|
|
256
|
-
*~
|
|
257
|
-
\#*\#
|
|
258
|
-
/.emacs.desktop
|
|
259
|
-
/.emacs.desktop.lock
|
|
260
|
-
*.elc
|
|
261
|
-
auto-save-list
|
|
262
|
-
tramp
|
|
263
|
-
.\#*
|
|
264
|
-
|
|
265
|
-
# Org-mode
|
|
266
|
-
.org-id-locations
|
|
267
|
-
*_archive
|
|
268
|
-
|
|
269
|
-
# flymake-mode
|
|
270
|
-
*_flymake.*
|
|
271
|
-
|
|
272
|
-
# eshell files
|
|
273
|
-
/eshell/history
|
|
274
|
-
/eshell/lastdir
|
|
275
|
-
|
|
276
|
-
# elpa packages
|
|
277
|
-
/elpa/
|
|
278
|
-
|
|
279
|
-
# reftex files
|
|
280
|
-
*.rel
|
|
281
|
-
|
|
282
|
-
# AUCTeX auto folder
|
|
283
|
-
/auto/
|
|
284
|
-
|
|
285
|
-
# cask packages
|
|
286
|
-
.cask/
|
|
287
|
-
dist/
|
|
288
|
-
|
|
289
|
-
# Flycheck
|
|
290
|
-
flycheck_*.el
|
|
291
|
-
|
|
292
|
-
# server auth directory
|
|
293
|
-
/server/
|
|
294
|
-
|
|
295
|
-
# projectiles files
|
|
296
|
-
.projectile
|
|
297
|
-
|
|
298
|
-
# directory configuration
|
|
299
|
-
.dir-locals.el
|
|
300
|
-
|
|
301
|
-
# network security
|
|
302
|
-
/network-security.data
|
|
303
|
-
|
|
304
|
-
# Swap
|
|
305
|
-
[._]*.s[a-v][a-z]
|
|
306
|
-
!*.svg # comment out if you don't need vector files
|
|
307
|
-
[._]*.sw[a-p]
|
|
308
|
-
[._]s[a-rt-v][a-z]
|
|
309
|
-
[._]ss[a-gi-z]
|
|
310
|
-
[._]sw[a-p]
|
|
311
|
-
|
|
312
|
-
# Session
|
|
313
|
-
Session.vim
|
|
314
|
-
Sessionx.vim
|
|
315
|
-
|
|
316
|
-
# Temporary
|
|
317
|
-
.netrwhist
|
|
318
|
-
*~
|
|
319
|
-
# Auto-generated tag files
|
|
320
|
-
tags
|
|
321
|
-
# Persistent undo
|
|
322
|
-
[._]*.un~
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is automatically @generated by Cargo.
|
|
2
2
|
# It is not intended for manual editing.
|
|
3
|
-
version =
|
|
3
|
+
version = 4
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "aho-corasick"
|
|
@@ -13,31 +13,25 @@ dependencies = [
|
|
|
13
13
|
|
|
14
14
|
[[package]]
|
|
15
15
|
name = "autocfg"
|
|
16
|
-
version = "1.
|
|
16
|
+
version = "1.5.0"
|
|
17
17
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
18
|
-
checksum = "
|
|
18
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
19
19
|
|
|
20
20
|
[[package]]
|
|
21
21
|
name = "bstr"
|
|
22
|
-
version = "1.
|
|
22
|
+
version = "1.12.0"
|
|
23
23
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "
|
|
24
|
+
checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
|
|
25
25
|
dependencies = [
|
|
26
26
|
"memchr",
|
|
27
27
|
"serde",
|
|
28
28
|
]
|
|
29
29
|
|
|
30
|
-
[[package]]
|
|
31
|
-
name = "cfg-if"
|
|
32
|
-
version = "1.0.0"
|
|
33
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
34
|
-
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
35
|
-
|
|
36
30
|
[[package]]
|
|
37
31
|
name = "crossbeam-deque"
|
|
38
|
-
version = "0.8.
|
|
32
|
+
version = "0.8.6"
|
|
39
33
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
40
|
-
checksum = "
|
|
34
|
+
checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
|
|
41
35
|
dependencies = [
|
|
42
36
|
"crossbeam-epoch",
|
|
43
37
|
"crossbeam-utils",
|
|
@@ -54,15 +48,15 @@ dependencies = [
|
|
|
54
48
|
|
|
55
49
|
[[package]]
|
|
56
50
|
name = "crossbeam-utils"
|
|
57
|
-
version = "0.8.
|
|
51
|
+
version = "0.8.21"
|
|
58
52
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
59
|
-
checksum = "
|
|
53
|
+
checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
|
|
60
54
|
|
|
61
55
|
[[package]]
|
|
62
56
|
name = "globset"
|
|
63
|
-
version = "0.4.
|
|
57
|
+
version = "0.4.16"
|
|
64
58
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
65
|
-
checksum = "
|
|
59
|
+
checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5"
|
|
66
60
|
dependencies = [
|
|
67
61
|
"aho-corasick",
|
|
68
62
|
"bstr",
|
|
@@ -79,9 +73,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
79
73
|
|
|
80
74
|
[[package]]
|
|
81
75
|
name = "ignore"
|
|
82
|
-
version = "0.4.
|
|
76
|
+
version = "0.4.23"
|
|
83
77
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
84
|
-
checksum = "
|
|
78
|
+
checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b"
|
|
85
79
|
dependencies = [
|
|
86
80
|
"crossbeam-deque",
|
|
87
81
|
"globset",
|
|
@@ -95,7 +89,7 @@ dependencies = [
|
|
|
95
89
|
|
|
96
90
|
[[package]]
|
|
97
91
|
name = "ignore-python"
|
|
98
|
-
version = "0.
|
|
92
|
+
version = "0.3.0"
|
|
99
93
|
dependencies = [
|
|
100
94
|
"ignore",
|
|
101
95
|
"pyo3",
|
|
@@ -103,27 +97,27 @@ dependencies = [
|
|
|
103
97
|
|
|
104
98
|
[[package]]
|
|
105
99
|
name = "indoc"
|
|
106
|
-
version = "2.0.
|
|
100
|
+
version = "2.0.6"
|
|
107
101
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
108
|
-
checksum = "
|
|
102
|
+
checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
|
|
109
103
|
|
|
110
104
|
[[package]]
|
|
111
105
|
name = "libc"
|
|
112
|
-
version = "0.2.
|
|
106
|
+
version = "0.2.174"
|
|
113
107
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
-
checksum = "
|
|
108
|
+
checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776"
|
|
115
109
|
|
|
116
110
|
[[package]]
|
|
117
111
|
name = "log"
|
|
118
|
-
version = "0.4.
|
|
112
|
+
version = "0.4.27"
|
|
119
113
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
120
|
-
checksum = "
|
|
114
|
+
checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
|
|
121
115
|
|
|
122
116
|
[[package]]
|
|
123
117
|
name = "memchr"
|
|
124
|
-
version = "2.7.
|
|
118
|
+
version = "2.7.5"
|
|
125
119
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
126
|
-
checksum = "
|
|
120
|
+
checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0"
|
|
127
121
|
|
|
128
122
|
[[package]]
|
|
129
123
|
name = "memoffset"
|
|
@@ -136,32 +130,31 @@ dependencies = [
|
|
|
136
130
|
|
|
137
131
|
[[package]]
|
|
138
132
|
name = "once_cell"
|
|
139
|
-
version = "1.
|
|
133
|
+
version = "1.21.3"
|
|
140
134
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
-
checksum = "
|
|
135
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
142
136
|
|
|
143
137
|
[[package]]
|
|
144
138
|
name = "portable-atomic"
|
|
145
|
-
version = "1.
|
|
139
|
+
version = "1.11.1"
|
|
146
140
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
-
checksum = "
|
|
141
|
+
checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
|
|
148
142
|
|
|
149
143
|
[[package]]
|
|
150
144
|
name = "proc-macro2"
|
|
151
|
-
version = "1.0.
|
|
145
|
+
version = "1.0.95"
|
|
152
146
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
153
|
-
checksum = "
|
|
147
|
+
checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
|
|
154
148
|
dependencies = [
|
|
155
149
|
"unicode-ident",
|
|
156
150
|
]
|
|
157
151
|
|
|
158
152
|
[[package]]
|
|
159
153
|
name = "pyo3"
|
|
160
|
-
version = "0.
|
|
154
|
+
version = "0.25.1"
|
|
161
155
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
-
checksum = "
|
|
156
|
+
checksum = "8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a"
|
|
163
157
|
dependencies = [
|
|
164
|
-
"cfg-if",
|
|
165
158
|
"indoc",
|
|
166
159
|
"libc",
|
|
167
160
|
"memoffset",
|
|
@@ -175,9 +168,9 @@ dependencies = [
|
|
|
175
168
|
|
|
176
169
|
[[package]]
|
|
177
170
|
name = "pyo3-build-config"
|
|
178
|
-
version = "0.
|
|
171
|
+
version = "0.25.1"
|
|
179
172
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
-
checksum = "
|
|
173
|
+
checksum = "458eb0c55e7ece017adeba38f2248ff3ac615e53660d7c71a238d7d2a01c7598"
|
|
181
174
|
dependencies = [
|
|
182
175
|
"once_cell",
|
|
183
176
|
"target-lexicon",
|
|
@@ -185,9 +178,9 @@ dependencies = [
|
|
|
185
178
|
|
|
186
179
|
[[package]]
|
|
187
180
|
name = "pyo3-ffi"
|
|
188
|
-
version = "0.
|
|
181
|
+
version = "0.25.1"
|
|
189
182
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
-
checksum = "
|
|
183
|
+
checksum = "7114fe5457c61b276ab77c5055f206295b812608083644a5c5b2640c3102565c"
|
|
191
184
|
dependencies = [
|
|
192
185
|
"libc",
|
|
193
186
|
"pyo3-build-config",
|
|
@@ -195,9 +188,9 @@ dependencies = [
|
|
|
195
188
|
|
|
196
189
|
[[package]]
|
|
197
190
|
name = "pyo3-macros"
|
|
198
|
-
version = "0.
|
|
191
|
+
version = "0.25.1"
|
|
199
192
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
-
checksum = "
|
|
193
|
+
checksum = "a8725c0a622b374d6cb051d11a0983786448f7785336139c3c94f5aa6bef7e50"
|
|
201
194
|
dependencies = [
|
|
202
195
|
"proc-macro2",
|
|
203
196
|
"pyo3-macros-backend",
|
|
@@ -207,9 +200,9 @@ dependencies = [
|
|
|
207
200
|
|
|
208
201
|
[[package]]
|
|
209
202
|
name = "pyo3-macros-backend"
|
|
210
|
-
version = "0.
|
|
203
|
+
version = "0.25.1"
|
|
211
204
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
212
|
-
checksum = "
|
|
205
|
+
checksum = "4109984c22491085343c05b0dbc54ddc405c3cf7b4374fc533f5c3313a572ccc"
|
|
213
206
|
dependencies = [
|
|
214
207
|
"heck",
|
|
215
208
|
"proc-macro2",
|
|
@@ -220,18 +213,18 @@ dependencies = [
|
|
|
220
213
|
|
|
221
214
|
[[package]]
|
|
222
215
|
name = "quote"
|
|
223
|
-
version = "1.0.
|
|
216
|
+
version = "1.0.40"
|
|
224
217
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
225
|
-
checksum = "
|
|
218
|
+
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
|
226
219
|
dependencies = [
|
|
227
220
|
"proc-macro2",
|
|
228
221
|
]
|
|
229
222
|
|
|
230
223
|
[[package]]
|
|
231
224
|
name = "regex-automata"
|
|
232
|
-
version = "0.4.
|
|
225
|
+
version = "0.4.9"
|
|
233
226
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
-
checksum = "
|
|
227
|
+
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
|
|
235
228
|
dependencies = [
|
|
236
229
|
"aho-corasick",
|
|
237
230
|
"memchr",
|
|
@@ -240,9 +233,9 @@ dependencies = [
|
|
|
240
233
|
|
|
241
234
|
[[package]]
|
|
242
235
|
name = "regex-syntax"
|
|
243
|
-
version = "0.8.
|
|
236
|
+
version = "0.8.5"
|
|
244
237
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
245
|
-
checksum = "
|
|
238
|
+
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
|
|
246
239
|
|
|
247
240
|
[[package]]
|
|
248
241
|
name = "same-file"
|
|
@@ -255,18 +248,18 @@ dependencies = [
|
|
|
255
248
|
|
|
256
249
|
[[package]]
|
|
257
250
|
name = "serde"
|
|
258
|
-
version = "1.0.
|
|
251
|
+
version = "1.0.219"
|
|
259
252
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
260
|
-
checksum = "
|
|
253
|
+
checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
|
|
261
254
|
dependencies = [
|
|
262
255
|
"serde_derive",
|
|
263
256
|
]
|
|
264
257
|
|
|
265
258
|
[[package]]
|
|
266
259
|
name = "serde_derive"
|
|
267
|
-
version = "1.0.
|
|
260
|
+
version = "1.0.219"
|
|
268
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
269
|
-
checksum = "
|
|
262
|
+
checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
|
270
263
|
dependencies = [
|
|
271
264
|
"proc-macro2",
|
|
272
265
|
"quote",
|
|
@@ -275,9 +268,9 @@ dependencies = [
|
|
|
275
268
|
|
|
276
269
|
[[package]]
|
|
277
270
|
name = "syn"
|
|
278
|
-
version = "2.0.
|
|
271
|
+
version = "2.0.104"
|
|
279
272
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
-
checksum = "
|
|
273
|
+
checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40"
|
|
281
274
|
dependencies = [
|
|
282
275
|
"proc-macro2",
|
|
283
276
|
"quote",
|
|
@@ -286,21 +279,21 @@ dependencies = [
|
|
|
286
279
|
|
|
287
280
|
[[package]]
|
|
288
281
|
name = "target-lexicon"
|
|
289
|
-
version = "0.
|
|
282
|
+
version = "0.13.2"
|
|
290
283
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
-
checksum = "
|
|
284
|
+
checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
|
|
292
285
|
|
|
293
286
|
[[package]]
|
|
294
287
|
name = "unicode-ident"
|
|
295
|
-
version = "1.0.
|
|
288
|
+
version = "1.0.18"
|
|
296
289
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
-
checksum = "
|
|
290
|
+
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
|
298
291
|
|
|
299
292
|
[[package]]
|
|
300
293
|
name = "unindent"
|
|
301
|
-
version = "0.2.
|
|
294
|
+
version = "0.2.4"
|
|
302
295
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
303
|
-
checksum = "
|
|
296
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
304
297
|
|
|
305
298
|
[[package]]
|
|
306
299
|
name = "walkdir"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "ignore-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
|
|
6
6
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
@@ -9,5 +9,5 @@ name = "ignore"
|
|
|
9
9
|
crate-type = ["cdylib"]
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
|
-
pyo3 = "0.
|
|
13
|
-
ignore-rust = { version = "0.4.
|
|
12
|
+
pyo3 = "0.25.1"
|
|
13
|
+
ignore-rust = { version = "0.4.23", package = "ignore" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ignore-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -67,7 +67,9 @@ class WalkBuilder:
|
|
|
67
67
|
|
|
68
68
|
def same_file_system(self, yes: bool) -> Self: ...
|
|
69
69
|
|
|
70
|
-
def max_depth(self, depth: int | None
|
|
70
|
+
def max_depth(self, depth: int | None) -> Self: ...
|
|
71
|
+
|
|
72
|
+
def max_filesize(self, filesize: int | None) -> Self: ...
|
|
71
73
|
|
|
72
74
|
def add_custom_ignore_filename(self, file_name: str) -> Self: ...
|
|
73
75
|
|