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 and Google models Markdown sources. Models without an announced retirement date are not checked.
The two upstream Markdown documents are also stored under
sources/google-cloud/ for maintenance. Run
python scripts/fetch_markdown_sources.py to refresh them. These snapshots are
not included in the Python package or its source distribution.
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.
Release files for flake8-llm-sunset 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flake8_llm_sunset-0.0.5.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_llm_sunset-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / flake8_llm_sunset-0.0.5.tar.gz
| Download URL | flake8_llm_sunset-0.0.5.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80a9292c1cc8fad545aee352589763c070e35386fbe97e32ca7660426f319fa3
|
|
BLAKE2b-256 checksum How to use checksums |
9838d95a6abd999bcd5ee49b89df9fd4e107806565d28bdc2aa635c69250a75e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency logRelease files / flake8_llm_sunset-0.0.5-py3-none-any.whl
| Download URL | flake8_llm_sunset-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b0e03dd37a98efe0481422adc4333b6a00b995a1cc0244411a2f383ea1fc7cd3
|
|
BLAKE2b-256 checksum How to use checksums |
6fd2e6f32541195d5eacd33fb5f337aebbefd7c1bc3b0e48c0963eeae10ad3e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency log