Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

auto-typing-final

Latest version: v1.0.5

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: community_of_python, vrslev
15 Stars
0 Forks
1 Versions
634 Downloads
Python Repo language

Scan summary

auto-typing-final was last scanned on 1 Dec 2026 at version 1.0.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 1 Dec 2026.
  • Findings: No rules fired in version 1.0.5.
  • Downloads: 634 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.5 LATEST 1 Dec 2026 No rules fired

No rules fired in 1.0.5

Findings

Findings for v1.0.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.5; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

auto-typing-final

Auto-fixer for Python code that adds typing.Final annotation to variable assignments inside functions that are not reassigned, and removes the annotation from variables that are mutated.

 def foo() -> None:
-    a = 2
+    a: typing.Final = 2

-    b: typing.Final = 2
+    b = 2
     b = 3

Basically, this, but handles different operations (like usage of nonlocal, augmented assignments: +=, etc) as well.

  • Keeps type checker happy.
  • Adds global import if it's not imported yet (import typing/from typing import Final).
  • Inspects one file at a time.
  • Is careful with global variables: adds Final only for uppercase variables, ignores variable that are referenced in global statement inside functions in current file, and avoids removing Final when it already was set (docs).
  • Ignores class variables: it is common to use typing.ClassVar instead of typing.Final.

How To Use

Having uv installed:

uvx auto-typing-final .

or:

pipx run auto-typing-final .
Options

You can specify --check flag to check the files instead of actually fixing them:

auto-typing-final . --check

Also, you can choose import style from two options: typing-final (default) and final:

auto-typing-final . --import-style typing-final
  • typing-final enforces import typing and typing.Final,
  • final enforces from typing import Final and Final.

Also, you can set --ignore-global-vars flag to ignore global variables:

auto-typing-final . --ignore-global-vars
Ignore comment

You can ignore variables by adding # auto-typing-final: ignore comment to the line (docs).

VS Code Extension

The extension uses LSP server bundled with the CLI (executable name is auto-typing-final-lsp-server). To get started, add auto-typing-final to your project:

uv add auto-typing-final --dev

After that, install the extension: https://marketplace.visualstudio.com/items?itemName=vrslev.auto-typing-final. In Python environments that have auto-typing-final installed, extension will be activated automatically.

Settings
  • Import style can be configured in settings: "auto-typing-final.import-style": "typing-final" or "auto-typing-final.import-style": "final".
  • Ignore global variables can be configured in settings: "auto-typing-final.ignore-global-vars": true.
Notes

Library code of currently activated environment will be ignored (for example, .venv/bin/python is active interpreter, all code inside .venv will be ignored).

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases auto-typing-final

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229