Python Mypy type checker for arcanist.
Mypy is required.
pip3 install mypy
You can add this repository as a git submodule. Add a path to the submodule in your .arcconfig
like so:
{
"load": ["path/to/arcanist-mypy-linter"]
}
arcanist
can load modules from an absolute path. But it also searches for modules in a directory
up one level from itself.
You can clone this repository to the same directory where arcanist
are located.
In the end it will look like this:
arcanist/
arcanist-mypy-linter/
Your .arcconfig
would look like
{
"load": ["arcanist-mypy-linter"]
}
To use the linter you must register it in your .arclint
file.
{
"linters": {
"mypy": {
"type": "mypy",
"include": "(\\.py$)"
}
}
}
Licensed under the Apache 2.0 license. See LICENSE for details.