Kaydet (Commit) c7293577 authored tarafından Jiri BOROVEC's avatar Jiri BOROVEC

review

* simplify .gitignore
* move flake8 to pytest
* def keras-resnet==0.1.0
üst 852dbb1e
*.jpg
*.png
*.weights
*.h5
logs/
*_test.py
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
......@@ -13,6 +6,10 @@ __pycache__/
# C extensions
*.so
# Temporary
temp/
temporary/
# Distribution / packaging
.Python
env/
......@@ -22,9 +19,6 @@ dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
......@@ -32,12 +26,6 @@ wheels/
.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
......@@ -53,54 +41,21 @@ coverage.xml
*.cover
.hypothesis/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# dotenv
.env
# virtualenv
.venv
venv/
ENV/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
......@@ -109,7 +64,3 @@ ENV/
# PyCharm IDE
.idea/
# Temporary
temp/
temporary/
......@@ -10,8 +10,8 @@ cache: pip
script:
- python setup.py check -m -s
- python setup.py build_ext --inplace
- coverage run --source keras_retinanet -m py.test keras_retinanet tests -v --doctest-modules --forked
- coverage run --source keras_retinanet -m py.test keras_retinanet tests --doctest-modules --forked --flake8
# ignore all actual PEP8 issues
- flake8 . --max-line-length=100 --ignore=E201,E202,E203,E221,E241,E251,E402,E501,W504
# - flake8 . --max-line-length=100 --ignore=E201,E202,E203,E221,E241,E251,E402,E501,W504
after_success:
- coverage report
\ No newline at end of file
cython
keras-resnet
keras-resnet==0.1.0
git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI
h5py
keras
......
......@@ -8,5 +8,5 @@
# E501 line too long (85 > 79 characters)
# W504 line break after binary operator
[tool:pytest]
flake8-max-line-length = 127
flake8-max-line-length = 100
flake8-ignore = E201 E202 E203 E221 E241 E251 E402 E501 W504
......@@ -2,5 +2,6 @@ check-manifest
# pytest
pytest-xdist
pytest-cov
flake8
pytest-flake8
# flake8
coverage
\ No newline at end of file
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