-
Notifications
You must be signed in to change notification settings - Fork 51
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
1 parent
ef5f627
commit 00c4bfd
Showing
23 changed files
with
209 additions
and
118 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 |
---|---|---|
@@ -1,12 +1,25 @@ | ||
doc-warnings: true | ||
test-warnings: false | ||
strictness: veryhigh | ||
|
||
uses: | ||
- django | ||
python-targets: | ||
- 3 | ||
pep8: | ||
full: true | ||
max-line-length: 119 | ||
|
||
ignore-paths: | ||
- manage.py | ||
- runserver | ||
ignore-patterns: | ||
- ^openach/migrations/.*\.py$ | ||
|
||
requirements: | ||
- requirements.txt | ||
autodetect: true | ||
|
||
max-line-length: 119 | ||
pep8: | ||
full: true | ||
pep257: | ||
disable: | ||
- D203 |
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,2 +1,7 @@ | ||
"""Configuration for the gunicorn server. | ||
For more information, please see: | ||
http://docs.gunicorn.org/en/stable/configure.html#configuration-file | ||
""" | ||
import gunicorn | ||
gunicorn.SERVER_SOFTWARE = 'gunicorn' |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Analysis of Competing Hypotheses Django application module.""" |
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,9 +1,9 @@ | ||
"""Django template context processors""" | ||
"""Django template context processors.""" | ||
from django.contrib.sites.models import Site | ||
|
||
|
||
def site(dummy_request): | ||
"""Returns a template context with the current site as 'site'""" | ||
"""Return a template context with the current site as 'site'.""" | ||
# NOTE: get_current caches the result from the db | ||
# See: https://docs.djangoproject.com/en/1.10/ref/contrib/sites/#caching-the-current-site-object | ||
return {'site': Site.objects.get_current()} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Analysis of Competing Hypotheses Django application management features.""" |
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 @@ | ||
"""Analysis of Competing Hypotheses Django application management commands.""" |
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.