-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
41 lines (39 loc) · 1.97 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Important notes regarding this .env-file:
#
# - For more information about .env-files, please see
# https://smartmob-rfc.readthedocs.io/en/latest/2-dotenv.html
#
# - Use blank lines for spacing.
#
# - Comments start with # and always start beginning-of-line (BOL).
# Inline comments are NOT supported and will break the syntax.
#
# - Place your secrets and passwords here, but do not commit this file back to any repository.
# Also avoid transmitting these secrets to other people in plain-text.
#
# - Most python-interpreter related env-variables will need to be set/sourced *before* the python-interpreter starts
# Reading them via sitecustomize.py comes too late, since the python-process has already started.
#
# - Use bash-compatible variable-assigment-syntax: FOO='BAR'
# To preserve bash-compatibility, never use spaces around the equal-operator, so don't use FOO = 'BAR'.
# Always single-quote the values to preserve the literal value of each character. For example if a
# password contains backslashes, those should be treated as literal values, and not as escape-characters
# like when double-quoting. So always use FOO='BAR', not FOO=BAR nor FOO="BAR".
# TODO: docker breaks when using quotes.
#
# - Standard env-variables only support string-types. However in python we can easily parse strings into
# other types like lists. For example FOO='BAR|BAZ', we can string-parse into FOO=["BAR", "BAZ"].
#
# - In bash, you can directly source this file to load all these env-var in your current bash-session:
# >>> set -a && source .env && set +a
# Usability-tip: Add following alias to your ~/.bashrc
# >> alias source-env='set -a && source .env && set +a'
BASE_DIR="__CWD__"
BLACK_CACHE_DIR="__CWD__/var/cache/black"
PRE_COMMIT_HOME="__CWD__/var/cache/pre-commit"
PYLINTHOME="__CWD__/var/cache/pylint"
TMP="__CWD__/var/tmp"
TMPDIR="__CWD__/var/tmp"
TEMP="__CWD__/var/tmp"
# unit-testing of sitecustomize -> autoread_dotenv
FOO='foo'