@@ -133,11 +133,7 @@ build = "mkdocs build --config-file=docs/mkdocs.yml"
133133serve = " mkdocs serve --verbose --config-file=docs/mkdocs.yml"
134134deploy = " mike deploy --push --update-aliases $(hatch version) latest --config-file=docs/mkdocs.yml"
135135
136- # ruff
137- # Ref: https://docs.astral.sh/ruff/configuration/
138- # ------------------------------------------------------------------------------
139-
140- [tool .ruff ]
136+ [tool .ruff ] # Ref: https://docs.astral.sh/ruff/configuration/
141137line-length = 120
142138src = [
143139 " src" ,
@@ -168,6 +164,10 @@ lint.extend-select = [
168164 " W" , # pycodestyle
169165 " YTT" , # flake8-2020
170166]
167+ lint.ignore = [
168+ " D105" , # undocumented-magic-method
169+ " D107" , # undocumented-public-init
170+ ]
171171lint.per-file-ignores."src/re3data/__about__.py" = [
172172 " D100" , # undocumented-public-module
173173]
@@ -183,16 +183,8 @@ lint.isort.known-first-party = [
183183 " re3data" ,
184184]
185185lint.pydocstyle.convention = " google"
186- lint.ignore = [
187- " D105" , # undocumented-magic-method
188- " D107" , # undocumented-public-init
189- ]
190-
191- # sp-repo-review
192- # Ref: https://github.com/scientific-python/cookie/tree/main#list-of-checks
193- # ------------------------------------------------------------------------------
194186
195- [tool .repo-review ]
187+ [tool .repo-review ] # Ref: https://github.com/scientific-python/cookie/tree/main#list-of-checks
196188ignore = [
197189 # PC is Pre-commit
198190 " PC111" , # blacken-docs
@@ -202,11 +194,7 @@ ignore = [
202194 " RTD" , # read the docs
203195]
204196
205- # pytest
206- # Ref: https://docs.pytest.org/en/stable/customize.html
207- # ------------------------------------------------------------------------------
208-
209- [tool .pytest .ini_options ]
197+ [tool .pytest .ini_options ] # Ref: https://docs.pytest.org/en/stable/customize.html
210198minversion = " 8.0"
211199addopts = [
212200 " -ra" ,
@@ -221,11 +209,7 @@ log_cli_level = "INFO"
221209xfail_strict = true
222210testpaths = " tests"
223211
224- # coverage.py
225- # Ref: https://coverage.readthedocs.io/en/latest/config.html
226- # ------------------------------------------------------------------------------
227-
228- [tool .coverage .run ]
212+ [tool .coverage .run ] # Ref: https://coverage.readthedocs.io/en/latest/config.html
229213branch = true
230214parallel = true
231215source = [
@@ -245,11 +229,7 @@ show_missing = true
245229skip_covered = true
246230skip_empty = true
247231
248- # mypy
249- # Ref: https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file
250- # ------------------------------------------------------------------------------
251-
252- [tool .mypy ]
232+ [tool .mypy ] # Ref: https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file
253233python_version = " 3.10"
254234strict = true
255235pretty = true
@@ -262,19 +242,11 @@ enable_error_code = [
262242]
263243warn_unreachable = true
264244
265- # licensecheck
266- # Ref: https://github.com/FHPythonUtils/LicenseCheck/#example-1-pyprojecttoml
267- # ------------------------------------------------------------------------------
268-
269- [tool .licensecheck ]
245+ [tool .licensecheck ] # Ref: https://github.com/FHPythonUtils/LicenseCheck/#example-1-pyprojecttoml
270246using = " PEP631"
271247format = " ansi"
272248
273- # python-semantic-release
274- # Ref: https://python-semantic-release.readthedocs.io/en/latest/configuration.html#settings
275- # ------------------------------------------------------------------------------
276-
277- [tool .semantic_release ]
249+ [tool .semantic_release ] # Ref: https://python-semantic-release.readthedocs.io/en/latest/configuration.html#settings
278250commit_author = " github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
279251commit_message = " chore: release {version}\n\n Automatically generated by python-semantic-release [skip ci]"
280252major_on_zero = false
@@ -292,11 +264,7 @@ python -m build --installer=uv
292264changelog.template_dir = " .github/templates"
293265changelog.environment.keep_trailing_newline = true
294266
295- # typos
296- # Ref: https://github.com/crate-ci/typos/blob/master/docs/reference.md
297- # ------------------------------------------------------------------------------
298-
299- [tool .typos ]
267+ [tool .typos ] # Ref: https://github.com/crate-ci/typos/blob/master/docs/reference.md
300268# add "spellchecker:disable-line" to ignore specific lines
301269default.extend-ignore-re = [
302270 " (?Rm)^.*# spellchecker:disable-line$" ,
0 commit comments