Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/235/support makemmigration customisation #266

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rsmith013
Copy link

Harmonises the makemigrations and lintmigrations config loading code and sorts the priority order.
As it was before, only Falsy default values could be overwritten by config options. I would also expect the command line to take priority over the config files.

This PR makes an opinionated preference for ordering of config sources where higher priority sources override lower priority settings. Open to discussion:

1. Command line
2. Django Settings
3. Config files
4. pyproject.toml

closes #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--lint not loading sql_analyser option
2 participants