Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake8, black, new API endpoints #89

Merged
merged 2 commits into from
Jun 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.gitignore
.vscode
__pycache__
.env
env_file_app
env_file_postgres
env_file_postgres
env_file_integrations
venv/
11 changes: 11 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
max-line-length = 88
ignore =
W503, # line break before binary operator
E231, # missing whitespace after ','
exclude =
Dockerfile,
docker-compose*,
venv,
migrations,
virtualenv
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ install:
- sudo docker-compose -f docker-compose-for-travis.yml build
- sudo docker-compose -f docker-compose-for-travis.yml up -d
script:
- sudo docker exec -ti intel_owl_uwsgi python manage.py test tests

- sudo docker exec -ti intel_owl_uwsgi black . --check --exclude "migrations|venv"
- sudo docker exec -ti intel_owl_uwsgi flake8 . --count
- sudo docker exec -ti intel_owl_uwsgi python manage.py test tests
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/intelowlproject/IntelOwl.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/intelowlproject/IntelOwl/context:python)
[![CodeFactor](https://www.codefactor.io/repository/github/intelowlproject/intelowl/badge)](https://www.codefactor.io/repository/github/intelowlproject/intelowl)
[![Build Status](https://travis-ci.com/intelowlproject/IntelOwl.svg?branch=master)](https://travis-ci.org/intelowlproject/IntelOwl)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

# Intel Owl

Do you want to get **threat intelligence data** about a file, an IP or a domain?
Expand All @@ -24,6 +26,7 @@ Main features:
- full django-python application
- easily and completely customizable, both the APIs and the analyzers
- clone the project, set up the configuration and you are ready to run
- Official frontend client: **[IntelOwl-ng](https://github.com/intelowlproject/IntelOwl-ng)** provides features such as dashboard, visualizations of analysis data, easy to use forms for requesting new analysis, etc.

### Free internal modules available
* Static Doc Analysis
Expand Down Expand Up @@ -113,9 +116,9 @@ This project was created and will be upgraded thanks to the following organizati
#### Google Summer Of Code
The project was accepted to the GSoC 2020 under the Honeynet Project!!

Stay tuned for upcoming [new features](https://www.honeynet.org/gsoc/gsoc-2020/google-summer-of-code-2020-project-ideas/#intel-owl-improvements) developed by Eshann Bansal [Twitter](https://twitter.com/mask0fmydisguis)
Stay tuned for upcoming [new features](https://www.honeynet.org/gsoc/gsoc-2020/google-summer-of-code-2020-project-ideas/#intel-owl-improvements) developed by Eshaan Bansal ([Twitter](https://twitter.com/mask0fmydisguis)).


### About the author
Feel free to contact the author at any time:
Matteo Lodi [Twitter](https://twitter.com/matte_lodi)
Matteo Lodi ([Twitter](https://twitter.com/matte_lodi))
Loading