diff --git a/.github/workflows/theHarvester.yml b/.github/workflows/theHarvester.yml index 21fb098a..13decc81 100644 --- a/.github/workflows/theHarvester.yml +++ b/.github/workflows/theHarvester.yml @@ -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 \ No newline at end of file +# mypy --pretty *.py \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 9e5150b9..7bf7df9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/mypy.ini b/mypy.ini index 0cc1b62c..8aa58e79 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,3 +1,4 @@ [mypy] ignore_missing_imports = True -show_traceback = True \ No newline at end of file +show_traceback = True +show_error_codes = True \ No newline at end of file