Skip to content

Commit e583da5

Browse files
renovate[bot]BryonLewiscursoragent
authored
Update dev dependencies (#524)
* Update dev dependencies * Fix lint failures from ruff 0.16 and prettier 3.9 upgrades. Ignore newly stabilized CPY001/PLR0917 rules and reformat client sources for Prettier 3.9. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Bryon Lewis <Bryon.Lewis@kitware.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 373ad78 commit e583da5

10 files changed

Lines changed: 251 additions & 288 deletions

File tree

client/package-lock.json

Lines changed: 176 additions & 191 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@
3333
"vuetify": "3.12.11"
3434
},
3535
"devDependencies": {
36-
"@sentry/vite-plugin": "5.3.0",
36+
"@sentry/vite-plugin": "5.4.0",
3737
"@tsconfig/node24": "24.0.4",
3838
"@types/geojson": "7946.0.16",
3939
"@types/lodash": "4.17.24",
4040
"@types/node": "25.6.0",
41-
"@vitejs/plugin-vue": "6.0.7",
42-
"@vue/eslint-config-typescript": "14.7.0",
41+
"@vitejs/plugin-vue": "6.0.8",
42+
"@vue/eslint-config-typescript": "14.9.0",
4343
"@vue/tsconfig": "0.9.1",
44-
"eslint": "10.4.1",
44+
"eslint": "10.8.0",
4545
"eslint-config-prettier": "10.1.8",
46-
"eslint-plugin-vue": "10.9.1",
46+
"eslint-plugin-vue": "10.10.0",
4747
"jiti": "2.7.0",
4848
"npm-run-all2": "8.0.4",
49-
"prettier": "3.8.3",
49+
"prettier": "3.9.6",
5050
"sass-embedded": "1.100.0",
5151
"typescript": "5.9.3",
52-
"vite": "8.0.14",
52+
"vite": "8.1.5",
5353
"vite-plugin-vuetify": "2.1.3",
54-
"vue-tsc": "3.3.2"
54+
"vue-tsc": "3.3.8"
5555
}
5656
}

client/src/api/NABatApi.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ export interface NABatRecordingDataResponse {
2828
recordingId: string;
2929
}
3030
export type NABatRecordingResponse =
31-
| NABatRecordingCompleteResponse
32-
| NABatRecordingDataResponse;
31+
NABatRecordingCompleteResponse | NABatRecordingDataResponse;
3332

3433
function isNABatRecordingCompleteResponse(
3534
response: NABatRecordingResponse,

client/src/api/api.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,7 @@ export interface RecordingListParams {
314314
/** Filter by tags: recording must have all listed tags. Comma-separated or array. */
315315
tags?: string | string[];
316316
sort_by?:
317-
| "id"
318-
| "name"
319-
| "created"
320-
| "modified"
321-
| "recorded_date"
322-
| "owner_username";
317+
"id" | "name" | "created" | "modified" | "recorded_date" | "owner_username";
323318
sort_direction?: "asc" | "desc";
324319
page?: number;
325320
limit?: number;
@@ -376,12 +371,7 @@ async function getRecording(id: string) {
376371

377372
export interface UnsubmittedNeighborsParams {
378373
sort_by?:
379-
| "id"
380-
| "name"
381-
| "created"
382-
| "modified"
383-
| "recorded_date"
384-
| "owner_username";
374+
"id" | "name" | "created" | "modified" | "recorded_date" | "owner_username";
385375
sort_direction?: "asc" | "desc";
386376
/** Comma-separated or array of tag texts; recording must have all listed tags. */
387377
tags?: string | string[];

client/src/components/NABat/NABatAdminBrowser.vue

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ export default defineComponent({
4040
offset?: number;
4141
limit?: number;
4242
sort_by?:
43-
| "created"
44-
| "recording_id"
45-
| "survey_event_id"
46-
| "annotation_count";
43+
"created" | "recording_id" | "survey_event_id" | "annotation_count";
4744
sort_direction?: "asc" | "desc";
4845
}>({});
4946
@@ -114,10 +111,7 @@ export default defineComponent({
114111
].includes(sortBy.value[0].key)
115112
) {
116113
filters.value.sort_by = sortBy.value[0].key as
117-
| "created"
118-
| "recording_id"
119-
| "survey_event_id"
120-
| "annotation_count";
114+
"created" | "recording_id" | "survey_event_id" | "annotation_count";
121115
filters.value.sort_direction =
122116
sortBy.value[0].order === "asc" ? "asc" : "desc";
123117
}
@@ -165,9 +159,7 @@ export default defineComponent({
165159
)
166160
) {
167161
annotationFilters.value.sort_by = sortByAnnotations.value[0].key as
168-
| "created"
169-
| "user_email"
170-
| "confidence";
162+
"created" | "user_email" | "confidence";
171163
annotationFilters.value.sort_direction =
172164
sortByAnnotations.value[0].order === "asc" ? "asc" : "desc";
173165
}

client/src/components/RecordingLocationsMap.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ export default defineComponent({
9595
async function refreshSource() {
9696
if (!mapRef.value) return;
9797
const src = mapRef.value.getSource("recording-locations") as
98-
| GeoJSONSource
99-
| undefined;
98+
GeoJSONSource | undefined;
10099
if (!src) return;
101100
loading.value = true;
102101
error.value = null;

client/src/components/geoJS/layers/editAnnotationLayer.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,7 @@ export default class EditAnnotationLayer {
378378
*/
379379
formatData(
380380
annotationData:
381-
| SpectrogramAnnotation
382-
| null
383-
| SpectrogramSequenceAnnotation,
381+
SpectrogramAnnotation | null | SpectrogramSequenceAnnotation,
384382
type: "pulse" | "sequence",
385383
) {
386384
this.selectedHandleIndex = -1;

client/src/components/geoJS/layers/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
export type StyleFunction<T, D> =
2-
| T
3-
| ((point: [number, number], index: number, data: D) => T | undefined);
2+
T | ((point: [number, number], index: number, data: D) => T | undefined);
43
export type ObjectFunction<T, D> =
5-
| T
6-
| ((data: D, index: number) => T | undefined);
4+
T | ((data: D, index: number) => T | undefined);
75
export type PointFunction<T, D> = T | ((data: D) => T | undefined);
86

97
export interface LayerStyle<D> {

pyproject.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies = [
2424
"django-resonant-utils[allauth,s3_storage]==0.19.0",
2525
"django-s3-file-field[s3]==1.1.0",
2626
"django-storages[s3]==1.14.6",
27-
"django-stubs-ext==6.0.5",
27+
"django-stubs-ext==6.0.7",
2828
"psycopg[binary]==3.3.4",
2929
"pydantic==2.13.4",
3030
"requests==2.34.2",
@@ -71,21 +71,21 @@ dev = [
7171
# The "dev" dependency group is installed by default,
7272
# so use this to install "development" and "tasks" extras by default too
7373
"bats-ai[development,tasks]",
74-
"tox==4.55.0",
75-
"tox-uv==1.35.2",
74+
"tox==4.58.0",
75+
"tox-uv==1.36.0",
7676
]
7777
lint = [
78-
"ruff==0.15.15",
78+
"ruff==0.16.0",
7979
]
8080
type = [
8181
"mypy==1.20.2",
8282
"celery-types==0.26.0",
83-
"django-stubs[compatible-mypy]==6.0.5",
84-
"types-requests==2.33.0.20260518",
83+
"django-stubs[compatible-mypy]==6.0.7",
84+
"types-requests==2.33.0.20260712",
8585
]
8686
test = [
8787
"factory-boy==3.3.3",
88-
"pytest==9.0.3",
88+
"pytest==9.1.1",
8989
"pytest-django==4.12.0",
9090
"pytest-mock==3.15.1",
9191
# Enable with "pytest --random-order ..."
@@ -142,10 +142,12 @@ ignore = [
142142

143143
# Overly burdensome
144144
"ANN", # flake8-annotations
145+
"CPY001", # missing-copyright-notice
145146
"D1", # undocumented-*
146147
"EM", # flake8-errmsg
147148
"ERA001", # commented-out-code
148149
"FIX", # flake8-fixme
150+
"PLR0917", # too-many-positional-arguments
149151
"PLR2004", # magic-value-comparison
150152
"RET505", # superfluous-else-return
151153
"RET506", # superfluous-else-raise

0 commit comments

Comments
 (0)