mirror of https://github.com/zulip/zulip.git
Fix running run-mypy from any working directory.
This commit is contained in:
parent
497142d7b1
commit
5d990c28d0
|
@ -3,13 +3,15 @@
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from os.path import dirname, abspath
|
|
||||||
import sys
|
import sys
|
||||||
import lister
|
import lister
|
||||||
import argparse
|
import argparse
|
||||||
import subprocess
|
import subprocess
|
||||||
import six
|
import six
|
||||||
|
|
||||||
|
TOOLS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
os.chdir(os.path.dirname(TOOLS_DIR))
|
||||||
|
|
||||||
exclude_common = """
|
exclude_common = """
|
||||||
api/integrations/asana/zulip_asana_config.py
|
api/integrations/asana/zulip_asana_config.py
|
||||||
api/integrations/basecamp/zulip_basecamp_config.py
|
api/integrations/basecamp/zulip_basecamp_config.py
|
||||||
|
|
Loading…
Reference in New Issue