Commit 379ff85d authored by Kyle Sunden's avatar Kyle Sunden
Browse files

Add mypy to precommit

parent 22f51bf0
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: stable rev: master
hooks: hooks:
- id: black - id: black
args: [--line-length=99, --safe] name: black
language_version: python3.7 language: system
entry: black
require_serial: true
types: [python]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.740
hooks:
- id: mypy
exclude: ^docs/conf.py
...@@ -11,7 +11,7 @@ import webbrowser ...@@ -11,7 +11,7 @@ import webbrowser
import aiohttp import aiohttp
import aiohttp.web import aiohttp.web
import appdirs import appdirs # type: ignore
import yaqd_core import yaqd_core
logger = yaqd_core.logging.getLogger(__name__) logger = yaqd_core.logging.getLogger(__name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment