mirror of https://github.com/ConsenSys/mythril
commit
a62ba2470d
@ -1,13 +0,0 @@ |
||||
[run] |
||||
source = |
||||
. |
||||
|
||||
[report] |
||||
omit = |
||||
*__init__.py |
||||
/usr/* |
||||
*_test.py |
||||
setup.py |
||||
|
||||
[html] |
||||
directory = coverage_html_report |
@ -1,20 +1,179 @@ |
||||
.DS_Store |
||||
|
||||
# Created by https://www.gitignore.io/api/linux,macos,python,windows |
||||
|
||||
### Linux ### |
||||
*~ |
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file |
||||
.fuse_hidden* |
||||
|
||||
# KDE directory preferences |
||||
.directory |
||||
|
||||
# Linux trash folder which might appear on any partition or disk |
||||
.Trash-* |
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed |
||||
.nfs* |
||||
|
||||
### macOS ### |
||||
*.DS_Store |
||||
.AppleDouble |
||||
.LSOverride |
||||
|
||||
# Icon must end with two \r |
||||
Icon |
||||
|
||||
# Thumbnails |
||||
._* |
||||
|
||||
# Files that might appear in the root of a volume |
||||
.DocumentRevisions-V100 |
||||
.fseventsd |
||||
.Spotlight-V100 |
||||
.TemporaryItems |
||||
.Trashes |
||||
.VolumeIcon.icns |
||||
.com.apple.timemachine.donotpresent |
||||
|
||||
# Directories potentially created on remote AFP share |
||||
.AppleDB |
||||
.AppleDesktop |
||||
Network Trash Folder |
||||
Temporary Items |
||||
.apdisk |
||||
|
||||
### Python ### |
||||
# Byte-compiled / optimized / DLL files |
||||
__pycache__/ |
||||
*.py[cod] |
||||
*$py.class |
||||
|
||||
# C extensions |
||||
*.so |
||||
|
||||
# Distribution / packaging |
||||
.Python |
||||
build/ |
||||
develop-eggs/ |
||||
dist/ |
||||
downloads/ |
||||
eggs/ |
||||
.eggs/ |
||||
lib/ |
||||
lib64/ |
||||
parts/ |
||||
sdist/ |
||||
var/ |
||||
wheels/ |
||||
*.egg-info/ |
||||
.installed.cfg |
||||
*.egg |
||||
|
||||
# PyInstaller |
||||
# Usually these files are written by a python script from a template |
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it. |
||||
*.manifest |
||||
*.spec |
||||
|
||||
# Installer logs |
||||
pip-log.txt |
||||
pip-delete-this-directory.txt |
||||
|
||||
# Unit test / coverage reports |
||||
htmlcov/ |
||||
.tox/ |
||||
.coverage |
||||
.coverage.* |
||||
.cache |
||||
.pytest_cache/ |
||||
nosetests.xml |
||||
coverage.xml |
||||
*.cover |
||||
.hypothesis/ |
||||
|
||||
# Translations |
||||
*.mo |
||||
*.pot |
||||
|
||||
# Flask stuff: |
||||
instance/ |
||||
.webassets-cache |
||||
|
||||
# Scrapy stuff: |
||||
.scrapy |
||||
|
||||
# Sphinx documentation |
||||
docs/_build/ |
||||
|
||||
# PyBuilder |
||||
target/ |
||||
|
||||
# Jupyter Notebook |
||||
.ipynb_checkpoints |
||||
|
||||
# pyenv |
||||
.python-version |
||||
__pycache__ |
||||
*.pyc |
||||
|
||||
# celery beat schedule file |
||||
celerybeat-schedule.* |
||||
|
||||
# SageMath parsed files |
||||
*.sage.py |
||||
|
||||
# Environments |
||||
.env |
||||
.venv |
||||
env/ |
||||
venv/ |
||||
ENV/ |
||||
env.bak/ |
||||
venv.bak/ |
||||
|
||||
# Spyder project settings |
||||
.spyderproject |
||||
.spyproject |
||||
|
||||
# Rope project settings |
||||
.ropeproject |
||||
|
||||
# mkdocs documentation |
||||
/site |
||||
|
||||
# mypy |
||||
.mypy_cache/ |
||||
|
||||
### Windows ### |
||||
# Windows thumbnail cache files |
||||
Thumbs.db |
||||
ehthumbs.db |
||||
ehthumbs_vista.db |
||||
|
||||
# Folder config file |
||||
Desktop.ini |
||||
|
||||
# Recycle Bin used on file shares |
||||
$RECYCLE.BIN/ |
||||
|
||||
# Windows Installer files |
||||
*.cab |
||||
*.msi |
||||
*.msm |
||||
*.msp |
||||
|
||||
# Windows shortcuts |
||||
*.lnk |
||||
|
||||
|
||||
# End of https://www.gitignore.io/api/linux,macos,python,windows |
||||
|
||||
*.asm |
||||
mythril.egg-info |
||||
build |
||||
dist |
||||
*.rst |
||||
*.lock |
||||
!Pipfile.lock |
||||
*.svg |
||||
laser* |
||||
lol* |
||||
.idea* |
||||
coverage_html_report/ |
||||
.coverage |
||||
.pytest_cache |
||||
tests/testdata/outputs_current/ |
||||
tests/mythril_dir/signatures.json |
||||
|
@ -0,0 +1,39 @@ |
||||
[tox] |
||||
envlist = py36 |
||||
|
||||
[testenv] |
||||
deps = |
||||
pytest |
||||
pytest-mock |
||||
whitelist_externals = mkdir |
||||
commands = |
||||
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
||||
py.test -v \ |
||||
--junitxml={toxworkdir}/output/{envname}/junit.xml \ |
||||
{posargs} |
||||
|
||||
[testenv:py36] |
||||
basepython = python3.6 |
||||
setenv = |
||||
COVERAGE_FILE = .coverage.{envname} |
||||
deps = |
||||
pytest |
||||
pytest-mock |
||||
pytest-cov |
||||
whitelist_externals = mkdir |
||||
commands = |
||||
mkdir -p {toxinidir}/tests/testdata/outputs_current/ |
||||
py.test -v \ |
||||
--cov=mythril \ |
||||
--cov-config=tox.ini \ |
||||
--cov-report=xml:{toxworkdir}/output/{envname}/coverage.xml \ |
||||
--cov-report=html:{toxworkdir}/output/{envname}/covhtml \ |
||||
--junitxml={toxworkdir}/output/{envname}/junit.xml \ |
||||
{posargs} |
||||
|
||||
[coverage:report] |
||||
omit = |
||||
*__init__.py |
||||
/usr/* |
||||
*_test.py |
||||
setup.py |
Loading…
Reference in new issue