Skip to content

Commit

Permalink
Updated configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rozza committed May 29, 2012
1 parent 56c531f commit d438e2a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ dist/
*.egg-info/
env/
._*
.DS_Store
.DS_Store
.coverage
2 changes: 1 addition & 1 deletion flask_mongoengine/templates/panels/mongo-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,5 @@ <h4>{{ title }}</h4>
$(this).closest('table').find('tr.mongo-stack-trace-hide').toggle();
});

})(jQuery.noConflict(true));;
})(jQuery.noConflict(true));
</script>
2 changes: 1 addition & 1 deletion flask_mongoengine/wtf/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def _wrapper(o, n):
'unset': lambda o, n: None,
'inc': lambda o, n: o + n,
'dec': lambda o, n: o - n,
'push': _get_list(lambda o, n: not o and [n] or o.appned(n)),
'push': _get_list(lambda o, n: not o and [n] or o.append(n)),
'push_all': _get_list(lambda o, n: not o and n or o.extend(n)),
'pull': _get_list(lambda o, n: n in o and o.remove(n)),
'pull_all': _get_list(lambda o, n: reduce(lambda x, y: y in o and o.remove(y), n, False)),
Expand Down
9 changes: 9 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

[nosetests]
verbosity = 2
detailed-errors = 1
with-coverage = 1
#cover-html = 1
#cover-html-dir = ../htmlcov
cover-package = flask_mongoengine
cover-erase = 1
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
packages=['flask_mongoengine',
'flask_mongoengine.wtf'],
include_package_data=True,
tests_require=[
'nose',
],
setup_requires=['nose', 'coverage'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
Expand Down

0 comments on commit d438e2a

Please sign in to comment.