Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ repos:
exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md)

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
rev: v0.15.20
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
- id: ruff-format

- repo: https://github.com/numpy/numpydoc
rev: v1.10.0
rev: v1.11.0rc0
hooks:
- id: numpydoc-validation
exclude: (tests|docs)/.*

- repo: https://github.com/stefmolin/docstringify
rev: 1.1.1
rev: 2.0.0
hooks:
- id: docstringify
files: tests/.*

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.1
rev: v2.25.1
hooks:
- id: pyproject-fmt
args: [--keep-full-version, --no-print-diff]
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ docs = [
]

[tool.setuptools]
dynamic.version = { attr = "data_morph.__version__" }
packages.find.where = [
"src",
]
package-data."data_morph.data.starter_shapes" = [
"*",
]
package-data."data_morph.plotting.config" = [
"*",
]
packages.find.where = [
"src",
]
dynamic.version = { attr = "data_morph.__version__" }

[tool.ruff]
line-length = 88
Expand Down Expand Up @@ -132,6 +132,9 @@ ignore-words-list = "recuse"
ignore-regex = "https://([\\w/\\.])+"

[tool.pytest]
ini_options.testpaths = [
"tests",
]
ini_options.addopts = [
"-ra",
"-l",
Expand All @@ -146,10 +149,6 @@ ini_options.addopts = [
"--no-cov-on-fail",
"--cov-report=term-missing",
]
ini_options.xfail_strict = true
ini_options.testpaths = [
"tests",
]
ini_options.markers = [
"bounds: Run tests on bounds logic.",
"circles: Run tests on circular shapes.",
Expand All @@ -163,6 +162,7 @@ ini_options.markers = [
"polygons: Run tests on polygon shapes.",
"shapes: Run tests related to shapes.",
]
ini_options.xfail_strict = true

[tool.numpydoc_validation]
checks = [
Expand Down
Loading