Automic VaultAutomic Vault

brew

flake8 を Homebrew, apt, pacman でインストール

flake8 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install flake8

local Homebrew formula metadata

概要

パッケージ概要

Lint your Python code for style and logical errors

履歴

プロジェクトの歴史と使われ方

flake8 is a Python style and quality checker that glues together pycodestyle, PyFlakes, McCabe complexity checks, and third-party plugins. Its official documentation presents it as a command-line tool for checking files or directories and as a configurable platform for Python linting policy.

プロジェクトの歴史

The recorded release history begins with the 0.x series; the 0.6 release in February 2010 fixed McCabe metric handling, and 1.0 followed in November 2011 with complexity-checking changes. The project later moved under PyCQA, whose official repository describes flake8 as a tool that combines pycodestyle, pyflakes, mccabe, and plugins.

The 3.0.0 release in July 2016 was a major internal and documentation rewrite. Its notes say the project removed dependence on pep8/pycodestyle for file processing and plugin dispatch while keeping compatibility, added formatter entry points, improved plugin option registration, changed hook installation behavior, and rewrote documentation at flake8.pycqa.org.

採用の歴史

flake8 became popular because it packaged several Python code-quality checks behind one command and one set of configuration files. The official plugin guide explicitly attributes much of its popularity to extensibility and notes that community plugins are typically distributed on PyPI.

In day-to-day Python packaging, flake8 is commonly installed into the same Python environment that should parse the target code. The docs warn that Flake8 is tied to the Python version on which it runs, because it must understand that version's syntax.

使われ方

The basic workflow is `flake8 path/to/code.py` or `flake8 path/to/code/`, optionally with selection and ignore flags for specific error codes. The user guide documents project configuration in `setup.cfg`, `tox.ini`, or `.flake8`, all using a `[flake8]` INI section.

Plugins extend checks and formatters. After installation, most plugins immediately start reporting their own codes, and some register additional command-line or configuration options.

パッケージ好きにとっての重要性

flake8 matters to package nerds because it became the small, composable linting facade for a large slice of Python packaging: pycodestyle contributes E/W codes, PyFlakes contributes F codes, McCabe contributes C codes, and plugins add their own namespaces.

Its configuration-file search and plugin entry-point model made it easy for projects, tox environments, pre-commit hooks, and distribution packages to agree on one executable while still carrying local policy.

タイムライン

  • 2010: 0.6 release recorded in official release notes.
  • 2011: 1.0 release changes default complexity-checking behavior.
  • 2016: 3.0.0 rewrites documentation, file processing, plugin dispatch, and formatter extension points.
  • 2020s: 7.x release series appears in the official release history.

Related projects

  • pycodestyle supplies PEP 8 style checks and E/W error-code classes.
  • PyFlakes supplies lint checks such as unused imports and F error codes.
  • McCabe supplies complexity checks and C error codes.
  • Third-party flake8 plugins distributed through PyPI add checks and formatters.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
setup.cfgtox.ini.flake8

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
flake8cliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版7.3.0
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://flake8.pycqa.org/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://flake8.pycqa.org/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:flake8
バージョン7.3.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/flake8
ホームページhttps://flake8.pycqa.org/
リポジトリhttps://github.com/PyCQA/flake8
上流ドキュメントhttps://flake8.pycqa.org/en/latest
ライセンスMIT
ソースアーカイブhttps://files.pythonhosted.org/packages/9b/af/fbfe3c4b5a657d79e5c47a2827a362f9e1b763336a52f926126aa6dc7123/flake8-7.3.0.tar.gz
依存関係python@3.14
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameflake8
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

flake8 7.1.1-3

code checker using pycodestyle and pyflakes

https://github.com/pycqa/flake8

sudo apt install flake8
  • Section: python
  • Architecture: all
  • Source Package: python-flake8
  • 2 依存関係
  • normalized package name match
  • 一致条件: Flake8
Debian stable package indexes · deb.debian.org · Debian stable package indexes: flake8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

flake8 7.0.0-1

code checker using pycodestyle and pyflakes

https://github.com/pycqa/flake8

sudo apt install flake8
  • Section: universe/python
  • Architecture: all
  • Source Package: python-flake8
  • 3 依存関係
  • normalized package name match
  • 一致条件: Flake8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: flake8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

python-flake8 1:7.3.0-2

The modular source code checker: pep8, pyflakes and co

https://flake8.pycqa.org

sudo pacman -S python-flake8
  • License: MIT
  • Architecture: any
  • 5 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Flake8
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: python-flake8 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment