Skip to main content

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 Google 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_llm_sunset-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_llm_sunset-0.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for flake8_llm_sunset-0.0.2.tar.gz
Algorithm Hash digest
SHA256 605da8263bc46c6e62645f28b7dff0d8f6c119e2bbfca00022ca3f2283122a60
MD5 4cc7065c96d4a494aead7293674426fe
BLAKE2b-256 c02d69f997543ca97d6bad9c28fd9c5782edb3df790ad80d9dcfb88160711a55

See more details on using hashes here.

Provenance

The following attestation bundles were made for flake8_llm_sunset-0.0.2.tar.gz:

Publisher: publish.yml on ftnext/llm-sunset-lint

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flake8_llm_sunset-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_llm_sunset-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8b4af3b29e3874b4cbb6b66aef9556bb594c4070fde0eecad86fbd096a5ab61e
MD5 7df2efdb262b2715a1216813b2a31823
BLAKE2b-256 5e454dbaf2bf170a3da10650a9a8ca23f3c7ba70b0d6f7a6bca454b00e8a8cec

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page