mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Fix running run-mypy from any working directory.
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user