mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 14:32:57 +08:00
More ci and docs update
This commit is contained in:
parent
6a46c41f64
commit
c6ea03c4a0
5 changed files with 26 additions and 0 deletions
18
.github/contributing.md
vendored
Normal file
18
.github/contributing.md
vendored
Normal 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
.github/workflows/theHarvester.yml
vendored
3
.github/workflows/theHarvester.yml
vendored
|
@ -38,3 +38,6 @@ jobs:
|
|||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
- name: Check static type checking with mypy
|
||||
run: |
|
||||
mypy *.py
|
|
@ -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
mypy.ini
Normal file
3
mypy.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
show_traceback = True
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue