Skip to content

Update dependencies and fix mypy type errors#478

Merged
thomaspatzke merged 3 commits into
mainfrom
copilot/update-all-dependencies
Jun 2, 2026
Merged

Update dependencies and fix mypy type errors#478
thomaspatzke merged 3 commits into
mainfrom
copilot/update-all-dependencies

Conversation

Copilot AI commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Updated all project dependencies to latest compatible versions. Newer mypy (1.20.2) surfaced type errors that were previously hidden by outdated type ignore comments.

Changes

Dependency Updates

  • packaging: 26.0 → 26.2
  • pyparsing: 3.2.5 → 3.3.2
  • requests: 2.32.5 → 2.34.2
  • jq: 1.6 → 1.11.0
  • black: 26.3.1 → 26.5.1 (updated pre-commit hook to match)
  • mypy: 1.18 → 1.20.2
  • pytest: 9.0 → 9.0.3
  • pre-commit: 4.4 → 4.6.0
  • pylint: 4.0 → 4.0.5
  • And other transitive dependency updates

Type Fixes

  1. sigma/rule/base.py: Removed obsolete # type: ignore comment on line 28 - mypy 1.20.2 correctly infers construct_object() return type
  2. sigma/processing/transformations/condition.py: Simplified assignment logic to satisfy stricter invariance checking for dict types

Both fixes address legitimate type checker improvements, not false positives.

Co-authored-by: thomaspatzke <1845601+thomaspatzke@users.noreply.github.com>
Copilot AI and others added 2 commits June 2, 2026 20:17
Co-authored-by: thomaspatzke <1845601+thomaspatzke@users.noreply.github.com>
…lity

Co-authored-by: thomaspatzke <1845601+thomaspatzke@users.noreply.github.com>
Copilot AI changed the title Update all dependencies to latest versions Update dependencies and fix mypy type errors Jun 2, 2026
Copilot AI requested a review from thomaspatzke June 2, 2026 20:21
@thomaspatzke thomaspatzke merged commit e1ab85d into main Jun 2, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants