File tree Expand file tree Collapse file tree 3 files changed +240
-222
lines changed Expand file tree Collapse file tree 3 files changed +240
-222
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ dependencies = [
39
39
]
40
40
optional-dependencies.tests = [
41
41
" coverage" ,
42
+ " pytest" ,
43
+ " pytest-django" ,
42
44
]
43
45
urls.Homepage = " https://github.com/matthiask/django-content-editor/"
44
46
@@ -83,12 +85,12 @@ lint.extend-select = [
83
85
" PGH" ,
84
86
# flake8-pie
85
87
" PIE" ,
88
+ " PLC" ,
86
89
# pylint
87
- " PL" ,
90
+ " PLE" ,
91
+ " PLW" ,
88
92
# unused noqa
89
93
" RUF100" ,
90
- # flake8-simplify
91
- " SIM" ,
92
94
# pyupgrade
93
95
" UP" ,
94
96
" W" ,
@@ -110,3 +112,8 @@ lint.per-file-ignores."*/migrat*/*" = [
110
112
lint.isort.combine-as-imports = true
111
113
lint.isort.lines-after-imports = 2
112
114
lint.mccabe.max-complexity = 15
115
+
116
+ [tool .pytest .ini_options ]
117
+ DJANGO_SETTINGS_MODULE = " testapp.settings"
118
+ python_files = [ " tests.py" , " test_*.py" ]
119
+ addopts = " --reuse-db"
You can’t perform that action at this time.
0 commit comments