@@ -8,9 +8,9 @@ requires = [
8
8
name = " django-debug-toolbar"
9
9
description = " A configurable set of panels that display various debug information about the current request/response."
10
10
readme = " README.rst"
11
- license = {text = " BSD-3-Clause" }
11
+ license = { text = " BSD-3-Clause" }
12
12
authors = [
13
- { name = " Rob Hudson" },
13
+ { name = " Rob Hudson" },
14
14
]
15
15
requires-python = " >=3.8"
16
16
classifiers = [
@@ -35,15 +35,15 @@ dynamic = [
35
35
" version" ,
36
36
]
37
37
dependencies = [
38
- " Django >=4.2.9" ,
38
+ " django >=4.2.9" ,
39
39
" sqlparse>=0.2" ,
40
40
]
41
- [project .urls ]
42
- Download = " https://pypi.org/project/django-debug-toolbar/"
43
- Homepage = " https://github.com/jazzband/django-debug-toolbar"
44
-
41
+ urls.Download = " https://pypi.org/project/django-debug-toolbar/"
42
+ urls.Homepage = " https://github.com/jazzband/django-debug-toolbar"
45
43
[tool .hatch .build .targets .wheel ]
46
- packages = [" debug_toolbar" ]
44
+ packages = [
45
+ " debug_toolbar" ,
46
+ ]
47
47
48
48
[tool .hatch .version ]
49
49
path = " debug_toolbar/__init__.py"
@@ -53,6 +53,9 @@ fix = true
53
53
show-fixes = true
54
54
target-version = " py38"
55
55
56
+ [tool .ruff .lint .mccabe ]
57
+ max-complexity = 16
58
+
56
59
[tool .ruff .lint ]
57
60
extend-select = [
58
61
" ASYNC" , # flake8-async
@@ -79,29 +82,31 @@ extend-ignore = [
79
82
" SIM108" , # Use ternary operator instead of if-else-block
80
83
]
81
84
82
- [tool .ruff .lint .isort ]
83
- combine-as-imports = true
84
-
85
- [tool .ruff .lint .mccabe ]
86
- max-complexity = 16
87
-
88
85
[tool .ruff .lint .per-file-ignores ]
89
86
"*/migrat*/*" = [
90
- " N806" , # Allow using PascalCase model names in migrations
91
- " N999" , # Ignore the fact that migration files are invalid module names
87
+ " N806" , # Allow using PascalCase model names in migrations
88
+ " N999" , # Ignore the fact that migration files are invalid module names
92
89
]
93
90
91
+ [tool .ruff .lint .isort ]
92
+ combine-as-imports = true
93
+
94
94
[tool .coverage .html ]
95
95
skip_covered = true
96
96
skip_empty = true
97
97
98
98
[tool .coverage .run ]
99
99
branch = true
100
100
parallel = true
101
- source = [" debug_toolbar" ]
101
+ source = [
102
+ " debug_toolbar" ,
103
+ ]
102
104
103
105
[tool .coverage .paths ]
104
- source = [" src" , " .tox/*/site-packages" ]
106
+ source = [
107
+ " src" ,
108
+ " .tox/*/site-packages" ,
109
+ ]
105
110
106
111
[tool .coverage .report ]
107
112
# Update coverage badge link in README.rst when fail_under changes
0 commit comments