settings: Use python3-compatible octal literals (E396)
Fixes old-octal-literal (E396) pylint error. Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>merge-requests/846/head
parent
bfc0fd639b
commit
c70bf410a0
|
@ -13,7 +13,6 @@ disable=
|
||||||
W0201, # attribute-defined-outside-init
|
W0201, # attribute-defined-outside-init
|
||||||
W0703, # broad-except
|
W0703, # broad-except
|
||||||
# py3k transition issues:
|
# py3k transition issues:
|
||||||
E1608, # old-octal-literal
|
|
||||||
W1612, # unicode-builtin
|
W1612, # unicode-builtin
|
||||||
W1619, # old-divison
|
W1619, # old-divison
|
||||||
W1633, # round-builtin
|
W1633, # round-builtin
|
||||||
|
|
|
@ -395,4 +395,4 @@ if ENVIRONMENT == 'dev':
|
||||||
backend['APP_DIRS'] = True
|
backend['APP_DIRS'] = True
|
||||||
|
|
||||||
# needed to ensure data_obs files can be read by nginx
|
# needed to ensure data_obs files can be read by nginx
|
||||||
FILE_UPLOAD_PERMISSIONS = 0644
|
FILE_UPLOAD_PERMISSIONS = 0o0644
|
||||||
|
|
Loading…
Reference in New Issue