django-lint-migrations@2.5.0 fails after update
See original GitHub issueTraceback:
+ python manage.py lintmigrations --exclude-apps=axes --warnings-as-errors
Traceback (most recent call last):
File "manage.py", line 31, in <module>
main()
File "manage.py", line 27, in main
management.execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.8/site-packages/django_migration_linter/management/commands/lintmigrations.py", line 133, in handle
config_parser.read(DEFAULT_CONFIG_FILES)
File "/usr/local/lib/python3.8/configparser.py", line 697, in read
self._read(fp, filename)
File "/usr/local/lib/python3.8/configparser.py", line 1082, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '.editorconfig', line: 3
'root = true\n'
CI link: https://github.com/wemake-services/wemake-django-template/pull/1455/checks?check_run_id=1803497890 Reproduction: https://github.com/wemake-services/wemake-django-template/pull/1455
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Issue migrating with version 2.5.0 #245 - GitHub
I just upgraded to version 2.5.0, removed the entry in MIGRATION_MODULES, and ran migrate. I got this strange error.
Read more >Problem in panel of Django3.0 after migrations - Stack Overflow
i create a django project; enable (venv); makemigrations; migrate; pip install -r requirements.txt; copy to settinigs_local project; python ...
Read more >Migrations - Django documentation
Migrations ¶. Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your...
Read more >Katello 3.15 upgrade failure with "python3-django-admin ...
Tried updating Katello 3.14 installation to 3.15. “foreman-installer --scenario katello --upgrade” run ended with: 'python3-django-admin migrate ...
Read more >django-linear-migrations - PyPI
txt file to determine which migration to rebase. It will then rename the migration, edit it to depend on the new migration in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it works now! Thanks @David-Wobrock https://github.com/wemake-services/wemake-django-template/pull/1462
@skarzi just to be clear: this is a valid
.editorconfig
format. https://editorconfig.org/