@@ -56,16 +56,16 @@ dependencies = [
56
56
" packaging>=23.1" ,
57
57
" platformdirs>=3.5.3" ,
58
58
" pluggy>=1" ,
59
- " pyproject-api>=1.5.1 " ,
59
+ " pyproject-api>=1.5.2 " ,
60
60
' tomli>=2.0.1; python_version < "3.11"' ,
61
61
' typing-extensions>=4.6.3; python_version < "3.8"' ,
62
- " virtualenv>=20.23" ,
62
+ " virtualenv>=20.23.1 " ,
63
63
]
64
64
optional-dependencies.docs = [
65
65
" furo>=2023.5.20" ,
66
66
" sphinx>=7.0.1" ,
67
- " sphinx-argparse-cli>=1.11" ,
68
- " sphinx-autodoc-typehints!=1.23.4,>=1.23" ,
67
+ " sphinx-argparse-cli>=1.11.1 " ,
68
+ " sphinx-autodoc-typehints!=1.23.4,>=1.23.2 " ,
69
69
" sphinx-copybutton>=0.5.2" ,
70
70
" sphinx-inline-tabs>=2023.4.21" ,
71
71
" sphinxcontrib-towncrier>=0.2.1a0" ,
@@ -75,7 +75,7 @@ optional-dependencies.testing = [
75
75
" build[virtualenv]>=0.10" ,
76
76
" covdefaults>=2.3" ,
77
77
" detect-test-pollution>=1.1.1" ,
78
- " devpi-process>=0.3" ,
78
+ " devpi-process>=0.3.1 " ,
79
79
" diff-cover>=7.6" ,
80
80
" distlib>=0.3.6" ,
81
81
" flaky>=3.7" ,
@@ -84,10 +84,10 @@ optional-dependencies.testing = [
84
84
" psutil>=5.9.5" ,
85
85
" pytest>=7.3.2" ,
86
86
" pytest-cov>=4.1" ,
87
- " pytest-mock>=3.10 " ,
87
+ " pytest-mock>=3.11.1 " ,
88
88
" pytest-xdist>=3.3.1" ,
89
89
" re-assert>=1.1" ,
90
- ' time-machine>=2.9 ; implementation_name != "pypy"' ,
90
+ ' time-machine>=2.10 ; implementation_name != "pypy"' ,
91
91
" wheel>=0.40" ,
92
92
]
93
93
urls.Documentation = " https://tox.wiki"
@@ -106,6 +106,31 @@ version.source = "vcs"
106
106
[tool .black ]
107
107
line-length = 120
108
108
109
+ [tool .ruff ]
110
+ select = [" ALL" ]
111
+ line-length = 120
112
+ target-version = " py37"
113
+ isort = {known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ]}
114
+ ignore = [
115
+ " INP001" , # no implicit namespaces here
116
+ " D" , # ignore documentation for now
117
+ " ANN401" , # Dynamically typed expressions (typing.Any) are disallowed in `arg`"
118
+ " ANN101" , # Missing type annotation for `self` in method
119
+ " ANN102" , # Missing type annotation for `cls` in classmethod"
120
+ " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
121
+ " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
122
+ " S104" , # Possible binding to all interface
123
+ ]
124
+ [tool .ruff .per-file-ignores ]
125
+ "tests/**/*.py" = [
126
+ " S101" , # asserts allowed in tests...
127
+ " FBT" , # don"t care about booleans as positional arguments in tests
128
+ " INP001" , # no implicit namespace
129
+ " D" , # don"t care about documentation in tests
130
+ " S603" , # `subprocess` call: check for execution of untrusted input
131
+ " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
132
+ ]
133
+
109
134
[tool .pytest .ini_options ]
110
135
testpaths = [" tests" ]
111
136
addopts = " --tb=auto -ra --showlocals --no-success-flaky-report"
@@ -152,28 +177,3 @@ title_format = false
152
177
issue_format = " :issue:`{issue}`"
153
178
template = " docs/changelog/template.jinja2"
154
179
# possible types, all default: feature, bugfix, doc, removal, misc
155
-
156
- [tool .ruff ]
157
- select = [" ALL" ]
158
- line-length = 120
159
- target-version = " py37"
160
- isort = {known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ]}
161
- ignore = [
162
- " INP001" , # no implicit namespaces here
163
- " D" , # ignore documentation for now
164
- " ANN401" , # Dynamically typed expressions (typing.Any) are disallowed in `arg`"
165
- " ANN101" , # Missing type annotation for `self` in method
166
- " ANN102" , # Missing type annotation for `cls` in classmethod"
167
- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
168
- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
169
- " S104" , # Possible binding to all interface
170
- ]
171
- [tool .ruff .per-file-ignores ]
172
- "tests/**/*.py" = [
173
- " S101" , # asserts allowed in tests...
174
- " FBT" , # don"t care about booleans as positional arguments in tests
175
- " INP001" , # no implicit namespace
176
- " D" , # don"t care about documentation in tests
177
- " S603" , # `subprocess` call: check for execution of untrusted input
178
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
179
- ]
0 commit comments