Update mypy settings to use the new features of the 0.730 release

This commit is contained in:
Jay Townsend 2019-09-26 19:36:01 +01:00
parent fc42f51c25
commit 6890c87995
3 changed files with 5 additions and 4 deletions

View file

@ -112,6 +112,6 @@ jobs:
- name: Test with pytest
run: |
pytest
# - name: Check static type checking with mypy
# - name: Static type checking with mypy
# run: |
# mypy *.py
# mypy --pretty *.py

View file

@ -17,7 +17,7 @@ script:
- python theHarvester.py -d metasploit.com -b baidu,bing,censys,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,otx,intelx,threatcrowd,trello,twitter,virustotal,yahoo -l 200
- pytest
- flake8 . --count --show-source --statistics
#- mypy *.py
#- mypy --pretty *.py
notifications:
email: false
slack:

View file

@ -1,3 +1,4 @@
[mypy]
ignore_missing_imports = True
show_traceback = True
show_error_codes = True