mirror of
https://github.com/yyhuni/xingrin.git
synced 2026-01-31 11:46:16 +08:00
28 lines
636 B
TOML
28 lines
636 B
TOML
[tool.pytest.ini_options]
|
|
DJANGO_SETTINGS_MODULE = "config.settings"
|
|
python_files = ["test_*.py", "*_test.py"]
|
|
python_classes = ["Test*"]
|
|
python_functions = ["test_*"]
|
|
testpaths = ["apps"]
|
|
addopts = "-v --reuse-db"
|
|
|
|
[tool.pylint]
|
|
django-settings-module = "config.settings"
|
|
load-plugins = "pylint_django"
|
|
|
|
[tool.pylint.messages_control]
|
|
disable = [
|
|
"missing-docstring",
|
|
"invalid-name",
|
|
"too-few-public-methods",
|
|
"no-member",
|
|
"import-error",
|
|
"no-name-in-module",
|
|
]
|
|
|
|
[tool.pylint.format]
|
|
max-line-length = 120
|
|
|
|
[tool.pylint.basic]
|
|
good-names = ["i", "j", "k", "ex", "Run", "_", "id", "pk", "ip", "url", "db", "qs"]
|