Skip to content
Closed
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ repos:
- id: taplo-lint
args: ["--no-schema"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.18.1
rev: v2.19.0
hooks:
- id: pyproject-fmt
files: ^pyproject\.toml$
# ** validate (schema-store)
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2026.03.10
rev: 2026.03.15
hooks:
- id: validate-pyproject
name: validate-pyproject-schema-store
Expand Down Expand Up @@ -109,7 +109,7 @@ repos:

# * Linting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.5
rev: v0.15.6
hooks:
- id: ruff-check
alias: ruff
Expand All @@ -129,7 +129,7 @@ repos:
- "--command"
- "ruff format"
additional_dependencies:
- ruff==0.15.5
- ruff==0.15.6

# * Spelling
# ** typos
Expand All @@ -151,7 +151,7 @@ repos:
- "--custom-command=prek run pyproject2conda-project --all-files"
# ** uv
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.10.9
rev: 0.10.10
hooks:
- id: uv-lock
alias: requirements
Expand Down
98 changes: 49 additions & 49 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,55 +165,6 @@ CPY = "CPY"
# only check file name for notebooks. Use nbaq for contents.
check-file = false

# * Testing --------------------------------------------------------------------
[tool.pytest.ini_options]
addopts = [
"--cov-config=pyproject.toml",
"--doctest-glob=*.md",
"--doctest-modules",
"--pyargs",
"--strict-config",
"--strict-markers",
"-ra",
]
testpaths = [
"README.md",
"pyproject2conda",
"tests",
]
# options
filterwarnings = [ "error" ]
log_cli_level = "INFO"
log_level = "INFO"
minversion = "8"
strict_xfail = "true"

[tool.coverage]
run.branch = true
run.source = [
"pyproject2conda",
]
paths.source = [
"src/",
# needed for testing source if not editable install
".nox/**/site-packages/",
"*/.nox/**/site-packages",
"*/src",
]
report.exclude_also = [
"@overload",
"if TYPE_CHECKING:",
]
report.include = [
"src/*",
]
report.omit = [
"*/__main__.py",
"*/_typing.py",
"*/vendored/*",
]
report.show_missing = true

# * typecheck ---------------------------------------------------------------------
[tool.mypy]
exclude = [
Expand Down Expand Up @@ -302,6 +253,55 @@ reportUnusedCallResult = false
analysis.respect-type-ignore-comments = false
src.include = [ "src", "tests" ]

# * Testing --------------------------------------------------------------------
[tool.pytest.ini_options]
addopts = [
"--cov-config=pyproject.toml",
"--doctest-glob=*.md",
"--doctest-modules",
"--pyargs",
"--strict-config",
"--strict-markers",
"-ra",
]
testpaths = [
"README.md",
"pyproject2conda",
"tests",
]
# options
filterwarnings = [ "error" ]
log_cli_level = "INFO"
log_level = "INFO"
minversion = "8"
strict_xfail = "true"

[tool.coverage]
run.branch = true
run.source = [
"pyproject2conda",
]
paths.source = [
"src/",
# needed for testing source if not editable install
".nox/**/site-packages/",
"*/.nox/**/site-packages",
"*/src",
]
report.exclude_also = [
"@overload",
"if TYPE_CHECKING:",
]
report.include = [
"src/*",
]
report.omit = [
"*/__main__.py",
"*/_typing.py",
"*/vendored/*",
]
report.show_missing = true

[tool.pytype]
inputs = [
"src",
Expand Down
Loading