Skip to content

Commit e6dd9a6

Browse files
committed
Fix some ci/doc issues and bump precommit.
1 parent c518422 commit e6dd9a6

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exclude: '^(.tox/|ci/templates/|src/hunter.(pth|embed)$|src/hunter/vendor/|.bump
66
# Note the order is intentional to avoid multiple passes of the hooks
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.12.9
9+
rev: v0.12.10
1010
hooks:
1111
- id: ruff
1212
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 2-Clause License
22

3-
Copyright (c) 2015-2024, Ionel Cristian Mărieș. All rights reserved.
3+
Copyright (c) 2015-2025, Ionel Cristian Mărieș. All rights reserved.
44

55
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
66
following conditions are met:

ci/bootstrap.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ def exec_in_env():
2020
else:
2121
bin_path = env_path / 'bin'
2222
if not env_path.exists():
23-
import subprocess
24-
2523
print(f'Making bootstrap env in: {env_path} ...')
2624
try:
2725
check_call([sys.executable, '-m', 'venv', env_path])

ci/templates/.github/workflows/github-actions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,6 @@ jobs:
136136
name: all-wheels
137137
- uses: codecov/codecov-action@v5
138138
with:
139-
CODECOV_TOKEN: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
139+
verbose: true
140+
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
140141
{{ '' }}

docs/conf.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,18 @@
3939

4040
html_theme = 'furo'
4141
html_theme_options = {
42-
'githuburl': 'https://github.com/ionelmc/python-hunter/',
42+
'source_repository': 'https://github.com/ionelmc/python-hunter/',
43+
'source_branch': 'master',
44+
'source_directory': 'docs/',
45+
'footer_icons': [
46+
{
47+
'url': 'https://github.com/ionelmc/python-hunter/',
48+
'html': 'github.com/ionelmc/python-hunter',
49+
},
50+
],
4351
}
4452

53+
4554
html_use_smartypants = True
4655
html_last_updated_fmt = '%b %d, %Y'
4756
html_split_index = False

0 commit comments

Comments
 (0)