Commit 03c8a838 by Peter Weidenbach

Merge branch 'master' into add-mbr-magic

parents 708df707 25cafd04
.venv
.pyc
__pycache__/
.idea/
.cache/
.coverage
.idea/
.project
.pyc
.pydevproject
.pytest_cache/
.venv
__pycache__/
bin/
.coverage
build/
default_stages: [commit, push]
exclude: ^src/bin/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: check-added-large-files
args: [--maxkb=10000]
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
types: [python]
- id: fix-encoding-pragma
args: [--remove]
- id: file-contents-sorter
files: src/unpacker/passwords|.gitignore|_list.txt
- id: flake8
args: [--ignore=E501]
- id: forbid-new-submodules
- id: no-commit-to-branch
- id: pretty-format-json
args: [--autofix]
- id: trailing-whitespace
types: [python]
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.2.2
hooks:
- id: pylint
language: system
args: [--rcfile=.pylintrc]
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 1.11.0
hooks:
- id: shellcheck
- repo: https://github.com/pryorda/dockerfilelint-precommit-hooks
rev: v0.1.0
hooks:
- id: dockerfilelint
......@@ -7,5 +7,8 @@ install:
- python3 setup.py build
- python3 setup.py install
- pip3 install -r requirements-dev.txt
- pip3 install codecov
script:
- py.test --cov=./fact_helper_file
after_success:
- codecov
\ No newline at end of file
# FACT helper file
[![Build Status](https://travis-ci.com/fkie-cad/fact_helper_file.svg?branch=master)](https://travis-ci.com/fkie-cad/fact_helper_file)
[![codecov](https://codecov.io/gh/fkie-cad/fact_helper_file/branch/master/graph/badge.svg)](https://codecov.io/gh/fkie-cad/fact_helper_file)
This library offers two functions:
......
[pytest]
addopts = --pep8 -v
pep8ignore =
*.py E501
pytest
pytest-cov
pytest-pep8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment