Sourcery reads configuration settings from three sources:
- Personal configuration from a
sourcery.yamlfile on your system (see locations below)
- Project configuration from a
.sourcery.yamlfile in the root of your project directory
- Per-function inline configuration from your source code
Inline configuration takes precedence over project configuration, and project configuration takes precedence over user configuration.
See Reference: Inline Refactorings for per-function inline configuration options.
User Configuration File System Locations¶
Personal configuration is stored in a
.sourcery.yaml file on your system. Its
location is platform-dependent: