currentfeature/docs
Last change
on this file since 5ec3a0b was
5ec3a0b,
checked in by borja <borja@…>, 5 years ago
|
Imported sources from the old python2-only repository:
- Modified the code so it is python 3.6 compatible
- Fixed deprecation warnings, pyramid 1.10.x supported now
- Fixed deprecation warnings about some libraries, like pyramid-simpleform
- Added pytest-pycodestyle and pytest-flakes for automatic checks on the
source code files when running tests.
- Added default pytest.ini setup to enforce some default parameters when
running tests.
- Cleaned up the code a bit, catched up with tests coverage.
|
-
Property mode set to
100644
|
File size:
981 bytes
|
Rev | Line | |
---|
[5ec3a0b] | 1 | ### |
---|
| 2 | # app configuration |
---|
| 3 | # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/environment.html |
---|
| 4 | ### |
---|
| 5 | |
---|
| 6 | [app:main] |
---|
| 7 | use = egg:ow |
---|
| 8 | |
---|
| 9 | pyramid.reload_templates = false |
---|
| 10 | pyramid.debug_authorization = false |
---|
| 11 | pyramid.debug_notfound = false |
---|
| 12 | pyramid.debug_routematch = false |
---|
| 13 | pyramid.default_locale_name = en |
---|
| 14 | |
---|
| 15 | zodbconn.uri = file://%(here)s/Data.fs?connection_cache_size=20000 |
---|
| 16 | |
---|
| 17 | retry.attempts = 3 |
---|
| 18 | |
---|
| 19 | ### |
---|
| 20 | # wsgi server configuration |
---|
| 21 | ### |
---|
| 22 | |
---|
| 23 | [server:main] |
---|
| 24 | use = egg:waitress#main |
---|
| 25 | listen = *:6543 |
---|
| 26 | |
---|
| 27 | ### |
---|
| 28 | # logging configuration |
---|
| 29 | # https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html |
---|
| 30 | ### |
---|
| 31 | |
---|
| 32 | [loggers] |
---|
| 33 | keys = root, ow |
---|
| 34 | |
---|
| 35 | [handlers] |
---|
| 36 | keys = console |
---|
| 37 | |
---|
| 38 | [formatters] |
---|
| 39 | keys = generic |
---|
| 40 | |
---|
| 41 | [logger_root] |
---|
| 42 | level = WARN |
---|
| 43 | handlers = console |
---|
| 44 | |
---|
| 45 | [logger_ow] |
---|
| 46 | level = WARN |
---|
| 47 | handlers = |
---|
| 48 | qualname = ow |
---|
| 49 | |
---|
| 50 | [handler_console] |
---|
| 51 | class = StreamHandler |
---|
| 52 | args = (sys.stderr,) |
---|
| 53 | level = NOTSET |
---|
| 54 | formatter = generic |
---|
| 55 | |
---|
| 56 | [formatter_generic] |
---|
| 57 | format = %(asctime)s %(levelname)-5.5s [%(name)s:%(lineno)s][%(threadName)s] %(message)s |
---|
Note: See
TracBrowser
for help on using the repository browser.