User Settings
Sourcery reads user settings from these locations:
Operating System | Path |
---|---|
Linux | ~/.config/sourcery/sourcery.yaml |
Mac | ~/.config/sourcery/sourcery.yaml |
Windows | %APPDATA%\sourcery\sourcery.yaml |
The config file uses YAML syntax. If you are new to YAML checkout "Learn YAML in 5 minutes".
Here is the default set of values set for the file. If a config file isn't set or if a setting isn't specified then Sourcery will use these values:
proxy:
url: null
ssl_certs_file: null
no_ssl_verify: false
Proxy Configuration
You can set Sourcery up so it uses a proxy. The config will be the same as your browser's proxy settings.
Here are the defaults:
proxy:
url: null
ssl_certs_file: null
no_ssl_verify: false
Configure a proxy:
proxy:
url: https://user:pass@host:port
Use a custom CA Cert bundle file:
proxy:
ssl_certs_file: /path/to/cafile.pem
Disable SSL Cert verification completely (dangerous):
proxy:
no_ssl_verify: true