Ignored options

Why do my config options get ignored?

console_palette: dark
  - /home/manu/tmp/example.py
dump_filter: >
  ~c 200 & ~t text/html
view_filter: >
  ~c 200 & ~t text/html

In my config.yaml I’ve set dump_filter but when I call mitmdump it will be ignored.

manu@X220:~/tmp$ mitmdump --conf /home/manu/etc/mitmproxy/config.yaml 
Loading script: /home/manu/tmp/example.py
Ignored options: {'console_palette': 'dark', 'dump_filter': '~c 200 & ~t text/html\n'}
Proxy server listening at http://*:8080
Mitmproxy: 3.0.3 
Python:    3.6.5
OpenSSL:   OpenSSL 1.1.0h  27 Mar 2018
Platform:  Linux-4.16.13-2-ARCH-x86_64-with-arch

Any workaround? Or do they get ignored as soon as I use a script? I would like to use both, a script and config file, otherwise how would I use filters in my script? Also, I don’t understand this example https://github.com/mitmproxy/mitmproxy/blob/master/examples/simple/filter_flows.py