Merge pull request #295 from L1ghtn1ng/dev

Few tweaks
This commit is contained in:
J.Townsend
2019-09-07 19:01:21 +01:00
committed by GitHub
6 changed files with 27 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
# Contributing to theHarvester Project
Welcome to theHarvester project, so you would like to contribute.
The following below must be met to get accepted.
# CI
Make sure all CI passes and you do not introduce any alerts from lgtm.
# Unit Tests
For new modules a unit test for that module is required and we use pytest.
# Coding Standards
* No single letter variables and variable names must represent the action that it is performing
* Have static typing on functions etc
# Submitting Bugs
If you have a bug in a module that you want to submit an issue for and know how to write python code.
Please create a unit test for that bug and submit a fix for it
+3
View File
@@ -38,3 +38,6 @@ jobs:
- name: Test with pytest
run: |
pytest
# - name: Check static type checking with mypy
# run: |
# mypy *.py
+1
View File
@@ -12,6 +12,7 @@ script:
- python theHarvester.py -d metasploit.com -b baidu,bing,censys,crtsh,dnsdumpster,dogpile,duckduckgo,exalead,linkedin,netcraft,threatcrowd,trello,twitter,virustotal,yahoo
- pytest
- flake8 . --count --show-source --statistics
#- mypy *.py
notifications:
email: false
slack:
+3
View File
@@ -0,0 +1,3 @@
[mypy]
ignore_missing_imports = True
show_traceback = True
+1
View File
@@ -2,6 +2,7 @@ beautifulsoup4==4.8.0
censys==0.0.8
flake8==3.7.8
grequests==0.4.0
mypy==0.720
plotly==4.1.1
pytest==5.1.2
PyYaml==5.1.2
+1 -1
View File
@@ -37,7 +37,7 @@ def start():
dogpile, duckduckgo, github-code, google,
hunter, intelx,
linkedin, linkedin_links, netcraft, securityTrails, threatcrowd,
trello, twitter, vhost, virustotal, yahoo, all''')
trello, twitter, vhost, virustotal, yahoo''')
parser.add_argument('-x', '--exclude', help='exclude options when using all sources', type=str)
args = parser.parse_args()