chore: migrate app/.coveragerc to -> pyproject.toml

ref: #731
This commit is contained in:
2025-04-23 18:33:35 +09:30
parent daf30de835
commit d904ce7100
2 changed files with 24 additions and 17 deletions

View File

@ -1,17 +0,0 @@
[run]
source = .
omit =
*migrations/*
*tests/*/*
[report]
omit =
*/tests/*/*
*/migrations/*
*apps.py
*manage.py
*__init__.py
*asgi*
*wsgi*
*admin.py
*urls.py

View File

@ -1,3 +1,27 @@
[tool.coverage.run]
source = [ "./app" ]
omit = [
"*migrations/*",
"*tests/*/*",
]
[tool.coverage.report]
omit = [
"*/tests/*/*",
"*/migrations/*",
"*apps.py",
"*conftest.py",
"*manage.py",
"*__init__.py",
"*asgi*",
"*wsgi*",
"*admin.py",
"*urls.py",
]
[tool.pylint.main]
disable = [
"all"