Fix running run-mypy from any working directory.

This commit is contained in:
Tim Abbott 2016-07-12 10:27:13 -07:00
parent 497142d7b1
commit 5d990c28d0
1 changed files with 3 additions and 1 deletions

View File

@ -3,13 +3,15 @@
from __future__ import print_function
import os
from os.path import dirname, abspath
import sys
import lister
import argparse
import subprocess
import six
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
os.chdir(os.path.dirname(TOOLS_DIR))
exclude_common = """
api/integrations/asana/zulip_asana_config.py
api/integrations/basecamp/zulip_basecamp_config.py