Skip to content

Commit

Permalink
Merge pull request #80 from arXiv/develop
Browse files Browse the repository at this point in the history
Browse v0.2.1
  • Loading branch information
mhl10 authored Apr 18, 2019
2 parents 0914c9c + 525f8b6 commit 0a914a8
Show file tree
Hide file tree
Showing 153 changed files with 7,408 additions and 2,882 deletions.
16 changes: 16 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# .converagtrc to control coverage.py
# We usually use this as "nose2 --with-coverage"
# see https://coverage.readthedocs.io/en/coverage-4.2/config.html

[run]

omit =
tests/legacy_comparison/*
wsgi.py
populate_test_database.py


[report]

# Exit nose2 with failed if coverage under this percent
fail_under = 80
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ instance/
.scrapy

# Sphinx documentation
docs/_build/
docs/source/_build/

# PyBuilder
target/
Expand Down Expand Up @@ -113,6 +113,7 @@ mypy_test_errors.txt
arxiv-browse.iml
.vscode
*~
TAGS

# DB connection, etc
private_vars.sh
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python:
script:
- pip install pipenv
- pipenv sync --dev
- pipenv run nose2 --with-coverage
- pipenv run nose2 --with-coverage --coverage-config .coveragerc
- tests/lint.sh
- tests/docstyle.sh
after_success:
Expand Down
19 changes: 12 additions & 7 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,33 @@ verify_ssl = true
name = "pypi"

[packages]
arxiv-base = "==0.12.1rc2"
dataclasses = "*"
python-dateutil = "*"
flask = "==0.12.*"
Flask-API = "*"
Flask-SQLAlchemy = "*"
"jinja2" = "==2.10"
MarkupSafe = "*"
SQLAlchemy = "*"
pytz = "*"
mysqlclient = "*"
mysqlclient = "==1.4.1"
"mmh3" = "*"
aiohttp = "*"
flask = "==1.0.2"
arxiv-base = "==0.15.5"
validators = "*"
mypy-extensions = "*"
flask-wtf = "*"
arxiv-auth = "==0.3.1"
mypy = "*"
jinja2 = "==2.10.1"

[dev-packages]
pylama = "*"
mypy = ">=0.630"
mypy-extensions = "*"
"nose2" = "*"
sqlacodegen = "*"
Flask-Testing = "*"
pycodestyle = "*"
pydocstyle = "*"
pylint = "*"
pylint = "==2.3.0"
pytest = "*"
pytest-html = "*"
"ansi2html" = "*"
Expand All @@ -38,6 +41,8 @@ pytest-easyread = "*"
weighted-levenshtein = "*"
coverage = "*"
coveralls = "*"
sphinx = "*"
sphinx-autodoc-typehints = "*"

[requires]
python_version = "3.6"
Loading

0 comments on commit 0a914a8

Please sign in to comment.