Skip to content

Commit 3522120

Browse files
committed
🔧 Update project from python-template v0.25.0
1 parent 139ce93 commit 3522120

File tree

6 files changed

+23
-31
lines changed

6 files changed

+23
-31
lines changed

‎.copier-answers.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
2-
_commit: v0.24.3
2+
_commit: v0.25.0
33
_src_path: gh:tsvikas/python-template
44
cli_framework: cyclopts
55
format_tool: black

‎.pre-commit-config.yaml‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,11 @@ repos:
170170
types: [jupyter]
171171

172172
# pyproject.toml
173-
- repo: https://github.com/henryiii/validate-pyproject-schema-store
174-
rev: 2025.10.25
175-
hooks:
176-
- id: validate-pyproject
173+
# the following hook fails for some new pyproject configs.
174+
# - repo: https://github.com/henryiii/validate-pyproject-schema-store
175+
# rev: <placeholder_until_update_deps>
176+
# hooks:
177+
# - id: validate-pyproject
177178

178179
# YAML files
179180
- repo: https://github.com/adrienverge/yamllint

‎justfile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,7 @@ serve-docs: build-docs-ref
154154
uv run --exact --python 3.14 --only-group docs -- \
155155
mkdocs serve
156156
uv run --exact true
157+
158+
# Print the help of the CLI command
159+
print-cli-help:
160+
uv run sync-with-uv --help

‎mkdocs.yml‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,3 @@ plugins:
2626
nav:
2727
- Home: index.md
2828
- Code Reference: reference/
29-
30-
markdown_extensions:
31-
# TODO: choose relevant options
32-
# https://python-markdown.github.io/extensions/
33-
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/
34-
# - admonition
35-
# https://facelessuser.github.io/pymdown-extensions/extensions
36-
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/
37-
# - pymdownx.highlight
38-
# - pymdownx.superfences
39-
# https://oprypin.github.io/markdown-callouts/
40-
# - callouts

‎pyproject.toml‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ dev = [
7474
"ipython >=8",
7575
]
7676
test = [
77-
"pytest ~=8.0",
77+
"pytest ~=9.0",
7878
## running
7979
"pytest-reverse ~=1.0",
8080
"pytest-xdist[psutil] ~=3.0",
@@ -112,17 +112,15 @@ version.source = "vcs"
112112
build.hooks.vcs.version-file = "src/sync_with_uv/_version.py"
113113

114114

115-
[tool.pytest.ini_options]
116-
minversion = "7.0"
115+
[tool.pytest]
116+
minversion = "9.0"
117117
testpaths = [
118118
"src/",
119119
"tests/",
120120
]
121121
addopts = [
122-
## testing
122+
## collection
123123
"--doctest-modules",
124-
"--strict-markers",
125-
"--strict-config",
126124
## reporting
127125
"-ra",
128126
## addons: pytest-benchmark
@@ -139,13 +137,14 @@ addopts = [
139137
# this enable parallel execution, but hides filenames in output
140138
# "--numprocesses=auto", # pytest-xdist
141139
]
142-
xfail_strict = true
140+
## testing
141+
strict = true
142+
empty_parameter_set_mark = "xfail" # The default value in future releases
143143
filterwarnings = [
144144
"error",
145145
"default::DeprecationWarning",
146146
"error::DeprecationWarning:sync_with_uv",
147147
]
148-
log_cli_level = "INFO"
149148

150149

151150
[tool.coverage]
@@ -158,12 +157,12 @@ run.omit = [
158157
[tool.mypy]
159158
files = ["src", "tests"]
160159
mypy_path = "stubs"
161-
# ENABLE WHEN SCHEMA UPDATES: fixed_format_cache = true
160+
fixed_format_cache = true
162161
# set the platform
163162
python_version = "3.10"
164163
# enable checks [last updated: mypy 1.18]
165164
strict = true
166-
# ENABLE WHEN SCHEMA UPDATES: strict_equality_for_none = true
165+
strict_equality_for_none = true
167166
local_partial_types = true
168167
disallow_any_unimported = true
169168
warn_unreachable = true

‎uv.lock‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)