Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.05 KB

mypy.md

File metadata and controls

46 lines (33 loc) · 1.05 KB
description title layout
mypy is a linter for Python
Trunk | How to run mypy
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

mypy

mypy is a linter for Python.

You can enable the mypy linter with:

trunk check enable mypy

mypy example output

Auto Enabling

mypy will be auto-enabled if any of its config files are present: mypy.ini, .mypy.ini.

Settings

mypy supports the following config files:

  • mypy.ini
  • .mypy.ini

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info.

Links