Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fact_helper_file
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
fact_helper_file
Commits
25cafd04
Unverified
Commit
25cafd04
authored
Feb 21, 2019
by
Johannes vom Dorp
Committed by
GitHub
Feb 21, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3 from fkie-cad/add_automatic_checks
Add automatic checks
parents
6b3b13f2
8cca4b41
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
5 deletions
+72
-5
.gitignore
.gitignore
+8
-5
.pre-commit-config.yaml
.pre-commit-config.yaml
+54
-0
.travis.yml
.travis.yml
+4
-0
README.md
README.md
+1
-0
pytest.ini
pytest.ini
+4
-0
requirements-dev.txt
requirements-dev.txt
+1
-0
No files found.
.gitignore
View file @
25cafd04
.venv
.pyc
__pycache__/
.idea/
.cache/
.cache/
.coverage
.idea/
.project
.pyc
.pydevproject
.pytest_cache/
.pytest_cache/
.venv
__pycache__/
bin/
bin/
.coverage
build/
.pre-commit-config.yaml
0 → 100644
View file @
25cafd04
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
.travis.yml
View file @
25cafd04
...
@@ -7,5 +7,8 @@ install:
...
@@ -7,5 +7,8 @@ install:
-
python3 setup.py build
-
python3 setup.py build
-
python3 setup.py install
-
python3 setup.py install
-
pip3 install -r requirements-dev.txt
-
pip3 install -r requirements-dev.txt
-
pip3 install codecov
script
:
script
:
-
py.test --cov=./fact_helper_file
-
py.test --cov=./fact_helper_file
after_success
:
-
codecov
\ No newline at end of file
README.md
View file @
25cafd04
# FACT helper 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)
[
![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:
This library offers two functions:
...
...
pytest.ini
0 → 100644
View file @
25cafd04
[pytest]
addopts
=
--pep8 -v
pep8ignore
=
*.py E501
requirements-dev.txt
View file @
25cafd04
pytest
pytest
pytest-cov
pytest-cov
pytest-pep8
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment