A flake8 plugin that warns about expiring LLM model IDs
Project description
flake8-llm-sunset
Install
$ uv tool install flake8 --with flake8-llm-sunset
Usage
% flake8 --select LSG examples/adk_example_fields_output_schema_agent.py
examples/adk_example_fields_output_schema_agent.py:14:11: LSG001 Gemini model 'gemini-2.0-flash' was shut down on 2026-06-01
Model lifecycle data
Gemini and other Google model retirement dates are sourced from Google Cloud's Model versions and lifecycle (Markdown source). Models without an announced retirement date are not checked.
Error codes
Error-code prefixes identify the model provider:
| Prefix | Provider | Status |
|---|---|---|
LSG |
Supported | |
LSO |
OpenAI | Planned |
LSA |
Anthropic | Planned |
| Code | Description |
|---|---|
LSG001 |
A Google model has reached or passed its announced retirement date. |
LSG002 |
A Google model is within one calendar month of its announced retirement date. |
On the announced retirement date, the diagnostic changes from LSG002 to
LSG001.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8_llm_sunset-0.0.2.tar.gz.
File metadata
- Download URL: flake8_llm_sunset-0.0.2.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
605da8263bc46c6e62645f28b7dff0d8f6c119e2bbfca00022ca3f2283122a60
|
|
| MD5 |
4cc7065c96d4a494aead7293674426fe
|
|
| BLAKE2b-256 |
c02d69f997543ca97d6bad9c28fd9c5782edb3df790ad80d9dcfb88160711a55
|
Provenance
The following attestation bundles were made for flake8_llm_sunset-0.0.2.tar.gz:
Publisher:
publish.yml on ftnext/llm-sunset-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flake8_llm_sunset-0.0.2.tar.gz -
Subject digest:
605da8263bc46c6e62645f28b7dff0d8f6c119e2bbfca00022ca3f2283122a60 - Sigstore transparency entry: 2256337771
- Sigstore integration time:
-
Permalink:
ftnext/llm-sunset-lint@18a7b612ad088f130c0d5bbb714ad9bc18071033 -
Branch / Tag:
refs/tags/flake8-0.0.2 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@18a7b612ad088f130c0d5bbb714ad9bc18071033 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flake8_llm_sunset-0.0.2-py3-none-any.whl.
File metadata
- Download URL: flake8_llm_sunset-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b4af3b29e3874b4cbb6b66aef9556bb594c4070fde0eecad86fbd096a5ab61e
|
|
| MD5 |
7df2efdb262b2715a1216813b2a31823
|
|
| BLAKE2b-256 |
5e454dbaf2bf170a3da10650a9a8ca23f3c7ba70b0d6f7a6bca454b00e8a8cec
|
Provenance
The following attestation bundles were made for flake8_llm_sunset-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on ftnext/llm-sunset-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flake8_llm_sunset-0.0.2-py3-none-any.whl -
Subject digest:
8b4af3b29e3874b4cbb6b66aef9556bb594c4070fde0eecad86fbd096a5ab61e - Sigstore transparency entry: 2256337781
- Sigstore integration time:
-
Permalink:
ftnext/llm-sunset-lint@18a7b612ad088f130c0d5bbb714ad9bc18071033 -
Branch / Tag:
refs/tags/flake8-0.0.2 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@18a7b612ad088f130c0d5bbb714ad9bc18071033 -
Trigger Event:
release
-
Statement type: