# flake8 vs mypy

**Leader by Vioscale score:** mypy

| Attribute | flake8 | mypy |
|---|---|---|
| **Vioscale score** | 57.5 (66% (medium)) | 71.9 (60% (medium)) |
| activity.commits_last_30d | 4 | 27 |
| adoption.dependent_repos | - | 52,771 |
| adoption.github_stars | 3,819 | 20,603 |
| adoption.package_downloads_weekly | 11,921,653 | 48,604,416 |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | flake8 is an open-source Python linter that combines multiple style-checking tools to verify code compliance with PEP 8 and detect errors. It uses a plugin architecture for extensibility and is commonly integrated into development workflows and CI/CD pipelines. | A type analysis tool for Python that enables code to transition from pure dynamic typing to statically-typed code through annotations, with error detection at check time. Code runs with negligible performance impact and developers can incrementally adopt static types in existing projects. |
| features.capabilities | `{"autofix":false,"metrics":true,"function":"linter","ci_gating":true,"deployment":"cli_local","open_source":"oss","config_model":"config_file","custom_rules":true,"impl_language":"Python","pricing_model":"free","language_scope":"single_language","editor_integration":true}` | `{"autofix":false,"metrics":false,"function":"type_checker","ci_gating":true,"deployment":"cli_local","incremental":false,"open_source":"oss","custom_rules":false,"impl_language":"Python","pricing_model":"free","language_scope":"single_language","editor_integration":true}` |
| integrations.count | 3 | - |
| integrations.list | `[{"name":"pycodestyle"},{"name":"pyflakes"},{"name":"mccabe"}]` | - |
| language.primary | Python | Python |
| license.spdx | MIT | - |
| platform.support | `{"cli":true}` | `{"cli":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://flake8.pycqa.org/","retrievedAt":"2026-08-14T08:33:05.860Z"}` | `{"type":"open_source","sourceUrl":"https://mypy-lang.org","retrievedAt":"2026-08-14T13:45:01.127Z"}` |
| pricing.free_tier | yes | - |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| security.scorecard | 4.4 | 6.5 |
| security.vulnerabilities | - | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=mypy&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (Code Quality Tools)

| Capability | flake8 | mypy |
|---|:--:|:--:|
| **Core** |  |  |
| Function | Linter | Type checker |
| Language scope | Single-language | Single-language |
| Implementation language | Python | Python |
| **Capability** |  |  |
| Autofix | ✗ | ✗ |
| **Config** |  |  |
| Config model | Config file | - |
| **Extensibility** |  |  |
| Custom rules | ✓ | ✗ |
| **Deployment** |  |  |
| Deployment | CLI-local | CLI-local |
| **Delivery** |  |  |
| Editor integration | ✓ | ✓ |
| CI / VCS gating | ✓ | ✓ |
| **Insight** |  |  |
| Code metrics | ✓ | ✗ |
| **Performance** |  |  |
| Incremental / monorepo aware | - | ✗ |
| **Licensing** |  |  |
| Open-source | OSS | OSS |
| **Commercial** |  |  |
| Pricing model | Free | Free |

*Source: Vioscale. Generated 2026-09-01T16:43:45.710Z. "-" = undocumented, not absent.*
