$ mypy test.py test.py: note: In function "func": test.py:2: error: Incompatible return value type (got "str", expected "int") ã¢ããã¼ã·ã§ã³ãå ã«åããã§ãã¯ãã¦ãæ»ãå¤ã®åãintãªã®ã«strãè¿ãã¦ããã®ã§ã¨ã©ã¼ã«ãªãã¾ãã ãã£ã¦ããæ°æã¡ "mypyãã£ã¦ãã"ã¨ããã®ã¯ãPEP 484ã«å¯¾å¿ããåã¢ããã¼ã·ã§ã³ãä»ããmypyãå®è¡ãéçãã§ãã¯ããã¹ãããã¨ãæãã¾ãããªããã£ã¦ããæ°æã¡ã«ãªã£ããã¨ããã¨ãStatic types in Python, oh my(py)! ãã®è¨äºãèªãã ãã¨ã大ããã§ãããã£ã¦ãããããªæ°ããã¾ãããæ å½ãã¦ããæ¡ä»¶ãè¦æ¨¡ã大ããæ¢åæ©è½ã®å¤æ´é »åº¦ãé«ããã®ã ã£ãã®ã§ãä¿¡é ¼ã§ããåã¢ããã¼ã·ã§ã³ãæãã¨ãä¿®æ£ãã
{{#tags}}- {{label}}
{{/tags}}