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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.21.2"
rev: "v2.23.0"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/uv-pre-commit
Expand Down
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,23 @@ keep_full_version = true
max_supported_python = "3.14"

[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
mypy_path = "src/"
no_implicit_optional = true
show_error_codes = true
warn_unreachable = true
warn_unused_ignores = true
exclude = [
"setup.py",
]
disallow_any_generics = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
warn_unused_ignores = true
warn_unreachable = true
overrides = [
{ module = "tests.*", allow_untyped_defs = true },
]
no_implicit_optional = true
show_error_codes = true

[tool.pytest]
minversion = "9.0"
addopts = [
"-Wonce",
"--cov=camacqplugins",
Expand All @@ -108,6 +107,7 @@ addopts = [
]
asyncio_default_fixture_loop_scope = "function"
asyncio_mode = "auto"
minversion = "9.0"
pythonpath = [ "src" ]

[tool.coverage]
Expand All @@ -126,20 +126,23 @@ report.exclude_lines = [
]

[tool.semantic_release]
major_on_zero = false
allow_zero_version = true
version_toml = [ "pyproject.toml:project.version" ]
version_variables = [
"src/camacqplugins/__init__.py:__version__",
]
version_toml = [ "pyproject.toml:project.version" ]
build_command = """
pip install uv
uv lock
git add uv.lock
uv build
"""
commit_parser_options.parse_squash_commits = false
branches.main.match = "main"
branches.noop.match = "(?!main$)"
branches.noop.prerelease = true
changelog.environment.keep_trailing_newline = true
changelog.exclude_commit_patterns = [
"chore(?:\\([^)]*?\\))?: .+",
"ci(?:\\([^)]*?\\))?: .+",
Expand All @@ -151,6 +154,3 @@ changelog.exclude_commit_patterns = [
"Initial [Cc]ommit.*", # codespell:ignore
]
changelog.mode = "update"
changelog.environment.keep_trailing_newline = true
major_on_zero = false
commit_parser_options.parse_squash_commits = false
Loading