Skip to content
Merged
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
59 changes: 25 additions & 34 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Test and Release

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
pre-commit:
Expand All @@ -30,44 +30,35 @@ jobs:
matrix:
python-version: ["3.9"]
config:
- {
name: "Linux",
os: ubuntu-latest
}
- {
name: "MacOSX",
os: macos-latest
}
- {
name: "Windows",
os: windows-latest
}
- { name: "Linux", os: ubuntu-latest }
- { name: "MacOSX", os: macos-latest }
- { name: "Windows", os: windows-latest }

defaults:
run:
shell: bash

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install and Run Tests
run: |
pip install .
pip install -r tests/requirements.txt
# Run the tests with coverage so we get a coverage report too
pip install coverage
coverage run --source . -m pytest .
# Print the coverage report
coverage report -m

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install and Run Tests
run: |
pip install .
pip install -r tests/requirements.txt
# Run the tests with coverage so we get a coverage report too
pip install coverage
coverage run --source . -m pytest .
# Print the coverage report
coverage report -m

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3

test-npm-build:
runs-on: ubuntu-latest
Expand Down
60 changes: 55 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,61 @@
ci:
autoupdate_commit_msg: "chore: update pre-commit hooks"
autofix_commit_msg: "style: pre-commit fixes"

exclude: ^.cruft.json|.copier-answers.yml$|uv\.lock$|.*md|.*svg|.*rst|LICENSE|(^|/)\.[^/]+$

repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v6.0.0"
hooks:
- id: codespell
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: name-tests-test
args: ["--pytest-test-first"]
- id: requirements-txt-fixer
- id: trailing-whitespace

- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.10.0"
hooks:
- id: rst-backticks
- id: rst-directive-colons
- id: rst-inline-touching-normal

- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.8.3"
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json]
args: [--prose-wrap=always]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: "v0.15.15"
hooks:
- id: ruff
- id: ruff-format
args: ["--fix", "--show-fixes"]
- id: ruff-format

- repo: https://github.com/codespell-project/codespell
rev: "v2.4.2"
hooks:
- id: codespell

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: "v0.11.0.1"
hooks:
- id: shellcheck

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.25"
hooks:
- id: validate-pyproject
additional_dependencies:
- validate-pyproject[all]
- validate-pyproject-schema-store
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# CHANGELOG


## v3.2.2 (2026-04-28)

### Bug Fixes

- **vuetify2**: Add version in URL for vue2
([`62d3de6`](https://github.com/Kitware/trame-vuetify/commit/62d3de668aa2cdb4cb897d808839d49bdd4e6e58))


## v3.2.1 (2026-02-02)

### Bug Fixes
Expand Down
36 changes: 16 additions & 20 deletions docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defineConfig } from 'vitepress'
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
Expand All @@ -8,35 +8,31 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/examples/' }
{ text: "Home", link: "/" },
{ text: "Examples", link: "/examples/" },
],

sidebar: [
{
text: 'Trame',
items: [
{ text: 'What is it ?', link: '/examples/trame' },
]
text: "Trame",
items: [{ text: "What is it ?", link: "/examples/trame" }],
},
{
text: 'Vuetify',
text: "Vuetify",
items: [
{ text: 'Getting started', link: '/examples/' },
{ text: 'Layout', link: '/examples/ui' },
{ text: 'Login', link: '/examples/login' },
]
{ text: "Getting started", link: "/examples/" },
{ text: "Layout", link: "/examples/ui" },
{ text: "Login", link: "/examples/login" },
],
},
{
text: 'Support',
items: [
{ text: 'Need help ?', link: '/examples/support' },
]
text: "Support",
items: [{ text: "Need help ?", link: "/examples/support" }],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/Kitware/trame-vuetify' }
]
}
})
{ icon: "github", link: "https://github.com/Kitware/trame-vuetify" },
],
},
});
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "trame-vuetify"
version = "3.2.1"
version = "3.2.2"
description = "Vuetify widgets for trame"
authors = [
{name = "Kitware Inc."},
Expand Down Expand Up @@ -61,7 +61,7 @@ build_command = """
python -m build .
"""

[semantic_release.publish]
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true

Expand Down Expand Up @@ -91,5 +91,5 @@ docstring-code-line-length = "dynamic"
[tool.ruff.lint.pycodestyle]
max-line-length = 120

[lint.pydocstyle]
[tool.lint.pydocstyle]
convention = "google"
2 changes: 1 addition & 1 deletion trame_vuetify/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.2.1"
__version__ = "3.2.2"
36 changes: 18 additions & 18 deletions trame_vuetify/module/roboto/roboto.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 300;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmUiA8.ttf)
format("truetype");
font-family: "Roboto";
font-style: normal;
font-weight: 300;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWuaabVmUiA8.ttf)
format("truetype");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 400;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiA8.ttf)
format("truetype");
font-family: "Roboto";
font-style: normal;
font-weight: 400;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWubEbVmUiA8.ttf)
format("truetype");
}
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 500;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bVmUiA8.ttf)
format("truetype");
font-family: "Roboto";
font-style: normal;
font-weight: 500;
font-stretch: normal;
src: url(./KFOMCnqEu92Fr1ME7kSn66aGLdTylUAMQXC89YmC2DPNWub2bVmUiA8.ttf)
format("truetype");
}
Loading
Loading