@@ -28,21 +28,13 @@ main = [
2828 " validators>=0.34"
2929]
3030pre-commit = [" pre-commit>=4.0" , { include-group = " lint-format" }]
31- test = [" pytest>=9" , " pytest-cov>=6.1" ]
31+ test = [" pytest-cov>=7" , { include-group = " test-core" }]
32+ test-core = [" gitpython>=3.1.45" , " pytest>=9" ]
3233type-check = [
3334 " django-stubs[compatible-mypy]>=5.1" ,
3435 " mypy>=1.18.2" ,
3536 " types-beautifulsoup4>=4.12" ,
36- { include-group = " test" }
37- ]
38- pre-commit = [" pre-commit>=4.0" ]
39- test = [" pytest-cov>=6.1.1" , { include-group = " test-core" }]
40- test-core = [" gitpython>=3.1.44" , " pytest>=8.3" ]
41- type-check = [
42- " django-stubs[compatible-mypy]>=5.1" ,
43- " mypy>=1.13" ,
44- " types-beautifulsoup4>=4.12" ,
45- { include-group = " test-core" },
37+ { include-group = " test-core" }
4638]
4739
4840[tool .coverage .report ]
@@ -193,10 +185,7 @@ aliases = { }
193185banned-aliases = { "regex" = [" re" ], "numpy" = [" np" ], "matplotlib" = [" mpl" ], "matplotlib.pyplot" = [
194186 " plt"
195187] }
196- banned-from = [" abc" , " re" , " regex" ]
197-
198- [tool .ruff .lint .per-file-ignores ]
199- "tests/**/test_*.py" = [" S101" , " S311" , " SLF001" ]
188+ banned-from = [" abc" , " date" , " datetime" , " re" , " regex" ]
200189
201190[tool .ruff .lint .flake8-self ]
202191extend-ignore-names = [" _base_manager" , " _default_manager" , " _get_wrap_line_width" , " _meta" ]
@@ -217,7 +206,7 @@ extend-ignore-names = ["BROKEN_*_MESSAGE", "INVALID_*_MESSAGE", "NO_*_MESSAGE"]
217206"stubs/**.pyi" = [" N" ]
218207"stubs/discord/**/*.pyi" = [" F403" ]
219208"stubs/discord/commands/__init__.pyi" = [" F405" ]
220- "tests/**/test_*.py" = [" S101" ]
209+ "tests/**/test_*.py" = [" S101" , " S311 " , " SLF001 " ]
221210
222211[tool .ruff .lint .pycodestyle ]
223212ignore-overlong-task-comments = true
@@ -241,27 +230,9 @@ parametrize-values-type = "tuple"
241230[tool .ruff .lint .pyupgrade ]
242231keep-runtime-typing = true
243232
244- [tool .coverage .report ]
245- exclude_also = [" if TYPE_CHECKING:" ]
246- skip_covered = true
247- sort = " cover"
248-
249- [tool .pymarkdown ]
250- extensions.front-matter.enabled = true
251- mode.strict-config = true
252- plugins.code-block-style.style = " fenced"
253- plugins.code-fence-style.style = " backtick"
254- plugins.heading-style.style = " atx"
255- plugins.hr-style.style = " ---"
256- plugins.line-length.enabled = false
257- plugins.no-inline-html.allow_first_image_element = false
258- plugins.no-inline-html.allowed_elements = " !--,br"
259- plugins.no-trailing-spaces.strict = true
260- plugins.ol-prefix.style = " ordered"
261- plugins.ul-indent.indent = 4
262- plugins.ul-start-left.enabled = true
263- plugins.ul-style.style = " asterisk"
264-
233+ [tool .tombi .format .rules ]
234+ indent-width = 4
235+ line-width = 95
265236
266237[tool .uv ]
267238default-groups = [" dev" , " main" ]
0 commit comments