mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-23 22:26:23 +00:00
Fix linting issues with flake8 and black. Add pre-commit congifuration, update documnetation for it. Apply linting check in Travis CI.
21 lines
365 B
YAML
21 lines
365 B
YAML
group: travis_latest
|
|
language: python
|
|
cache: pip
|
|
python:
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install -r requirements-dev.txt
|
|
before_script:
|
|
- make lint-check
|
|
script:
|
|
- make test
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|