From 984580e9b4bcb6430b65b849575d7916d7f603c9 Mon Sep 17 00:00:00 2001 From: L1ghtn1ng Date: Sat, 19 Oct 2019 17:53:44 +0100 Subject: [PATCH] Renable mypy as github module has been fixed --- .github/workflows/theHarvester.yml | 7 ++++--- .travis.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/theHarvester.yml b/.github/workflows/theHarvester.yml index b77b108a..e0fbc681 100644 --- a/.github/workflows/theHarvester.yml +++ b/.github/workflows/theHarvester.yml @@ -25,6 +25,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + pip install --upgrade pip pip install pipenv pipenv install @@ -113,6 +114,6 @@ jobs: - name: Test with pytest run: | pytest -# - name: Static type checking with mypy -# run: | -# mypy --pretty theHarvester/discovery/*.py \ No newline at end of file + - name: Static type checking with mypy + run: | + mypy --pretty theHarvester/discovery/*.py \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index d9578bf0..55d56f3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ script: - python theHarvester.py -d metasploit.com -b baidu,bing,certspotter,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,otx,intelx,threatcrowd,trello,twitter,virustotal,yahoo -l 200 - pytest - flake8 . --count --show-source --statistics -#- mypy --pretty theHarvester/discovery/*.py +- mypy --pretty theHarvester/discovery/*.py notifications: email: false