- Add mypy.ini configuration to exclude migration scripts - Rename migration files to proper snake_case (post-migration.py → post_migration.py) - Add __init__.py to migration directories for proper Python package structure - Add new portal access tests for website_sale_aplicoop - Code formatting improvements (black, isort) - Update copilot instructions and project configuration Related to previous code quality refactoring work.
5 lines
205 B
INI
5 lines
205 B
INI
[mypy]
|
|
# Exclude migration scripts (post-migrate.py etc.) from mypy checks to avoid
|
|
# duplicate module name errors when multiple addons include scripts with the
|
|
# same filename.
|
|
exclude = .*/migrations/.*
|