-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
718 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[run] | ||
branch = True | ||
omit = */test* | ||
source = advanced_filters | ||
|
||
[report] | ||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
|
||
# Don't complain about missing debug-only code: | ||
def __repr__ | ||
if self\.debug | ||
|
||
# Don't complain if tests don't hit defensive assertion code: | ||
raise AssertionError | ||
raise NotImplementedError | ||
|
||
# Don't complain if non-runnable code isn't run: | ||
if 0: | ||
if __name__ == .__main__.: | ||
|
||
ignore_errors = True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
*.log | ||
*.pot | ||
*.pyc | ||
/.tox/ | ||
/.coverage | ||
local_settings.py | ||
build/ | ||
dist/ | ||
django_advanced_filters.egg-info/ | ||
tests/db.sqlite3 | ||
/.python-version | ||
/.cache/ | ||
/.eggs/ | ||
/htmlcov/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
language: python | ||
sudo: false | ||
cache: pip | ||
python: | ||
- "2.6" | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
- "pypy" | ||
matrix: | ||
exclude: | ||
- python: "2.6" | ||
env: DJANGO=1.7 | ||
- python: "3.3" | ||
- python: "3.4" | ||
|
||
include: | ||
- python: "3.3" | ||
env: DJANGO=1.6 | ||
- python: "3.3" | ||
env: DJANGO=1.7 | ||
- python: "3.4" | ||
env: DJANGO=1.7 | ||
env: DJANGO="Django>=1.7,<1.8" | ||
- python: "2.6" | ||
env: DJANGO="Django>=1.8,<1.9" | ||
env: | ||
- DJANGO=1.5 | ||
- DJANGO=1.6 | ||
- DJANGO=1.7 | ||
- DJANGO="Django>=1.5,<1.6" | ||
- DJANGO="Django>=1.6,<1.7" | ||
- DJANGO="Django>=1.7,<1.8" | ||
- DJANGO="Django>=1.8,<1.9" | ||
# - DJANGO="Django>=1.9a" | ||
install: | ||
- pip install django==$DJANGO --use-mirrors | ||
- pip install pep8 coveralls --use-mirrors | ||
- pip install -e . --use-mirrors | ||
- pip install $DJANGO | ||
- pip install -e .[test] | ||
script: | ||
- coverage run --source=advanced_filters setup.py test | ||
- coverage run -m py.test advanced_filters | ||
- pep8 --exclude=*urls.py advanced_filters -v | ||
after_success: | ||
coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.1b' | ||
__version__ = '1.0.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.