# Installer flake8 avec Homebrew, apt, pacman

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de flake8 pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:flake8
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install flake8
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install flake8
```

  Preuve: Debian stable package indexes: flake8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S python-flake8
```

  Preuve: Arch Linux sync databases: python-flake8 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Faits du paquet

- **Clé du paquet:** brew:flake8
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/flake8>
- **Version:** 7.3.0
- **Résumé source:** Lint your Python code for style and logical errors
- **Page d'accueil:** <https://flake8.pycqa.org/>
- **Dépôt:** <https://github.com/PyCQA/flake8>
- **Docs amont:** <https://flake8.pycqa.org/>
- **Licence:** MIT
- **Archive source:** <https://files.pythonhosted.org/packages/9b/af/fbfe3c4b5a657d79e5c47a2827a362f9e1b763336a52f926126aa6dc7123/flake8-7.3.0.tar.gz>
- **Généré:** 2026-08-04T22:13:35+00:00

## exécutables

- flake8 (cli)
- flake8 (alias)

## Dépendances

- python@3.14

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur all

## Version et fraîcheur

- page générée: 2026-08-04
- version du gestionnaire: 7.3.0
- données locales: OK
- dépôt amont: https://flake8.pycqa.org/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://flake8.pycqa.org/en/latest>
- <https://flake8.pycqa.org/en/latest/release-notes/index.html>
- <https://flake8.pycqa.org/en/latest/user/configuration.html>
- <https://flake8.pycqa.org/en/latest/user/using-plugins.html>
- <https://github.com/PyCQA/flake8>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


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

- Unix: setup.cfg, tox.ini, .flake8
## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** flake8
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - flake8 - 7.1.1-3: normalized package name match | Debian stable package indexes: flake8 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | code checker using pycodestyle and pyflakes | https://github.com/pycqa/flake8
- Ubuntu apt - flake8 - 7.0.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: flake8 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | code checker using pycodestyle and pyflakes | https://github.com/pycqa/flake8
- pacman - python-flake8 - 1:7.3.0-2: normalized package name match | Arch Linux sync databases: python-flake8 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The modular source code checker: pep8, pyflakes and co | https://flake8.pycqa.org


## Liens liés

- [Terminal utility packages](https://pkg.so/fr/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/fr/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/fr/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/fr/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/fr/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [flake](https://pkg.so/fr/brew/flake/) - Package name indicates the same formula family.
- [vulture](https://pkg.so/fr/brew/vulture/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting, python.
- [pylint](https://pkg.so/fr/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, python, static-analysis.
- [checkstyle](https://pkg.so/fr/brew/checkstyle/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [pyscn](https://pkg.so/fr/brew/pyscn/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, python, static-analysis.
- [detekt](https://pkg.so/fr/brew/detekt/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [hlint](https://pkg.so/fr/brew/hlint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting, static-analysis.
- [pycodestyle](https://pkg.so/fr/brew/pycodestyle/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linting, python.
- [cmake-lint](https://pkg.so/fr/brew/cmake-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, linting, python, static-analysis.
- [lizard-analyzer](https://pkg.so/fr/brew/lizard-analyzer/) - Both packages touch the same language runtime or ecosystem. Shared terms: analysis, cli, code, code-quality, developer.

## Combined YAML source

View the package source record on GitHub. [combined/flake8.yml](https://github.com/mxcl/pkgdb/blob/main/combined/flake8.yml)


## Sources

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