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
8 changes: 4 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
run: |
pytest --cov --cov-report=xml --cov-report=term --tb=line

- name: Sonar scan
uses: SonarSource/sonarqube-scan-action@v6.0.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# - name: Sonar scan
# uses: SonarSource/sonarqube-scan-action@v6.0.0
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}


mypy:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ _tmp*
tests/od/extra-compare*
*.od
*.json
!/src/objdictgen/schema/*.json
*.jsonc
24 changes: 16 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[build-system]
requires = ["uv_build>=0.9.5,<0.10.0"]
build-backend = "uv_build"
requires = ["hatchling"]
build-backend = "hatchling.build"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to some quick research, this build engine is supported in scarthgap. ive not yet had a chance to test


[project]
name = "objdictgen"
version = "3.5.4"
version = "3.5.5"
description = "CanFestival Object Dictionary tool"
authors = [
{name = "Svein Seldal", email = "sveinse@laerdal.com"},
{name = "Svein Seldal", email = "svein.seldal@laerdal.com"},
]
description = "CanFestival Object Dictionary tool"
readme = "README.md"
license = "LGPL-2.1-or-later"
requires-python = ">=3.10,<4"
Expand Down Expand Up @@ -56,9 +56,17 @@ Repository = "https://github.com/Laerdal/python-objdictgen"
[project.scripts]
odg = "objdictgen.__main__:main"

[tool.uv.build-backend]
source-include = [
"tests/**",
[tool.hatch.build.targets.wheel]
packages = ["src/objdictgen"]

[tool.hatch.build.targets.sdist]
include = [
"/packaging",
"/src/objdictgen",
"/tests",
]
exclude = [
"/tests/od/extra-compare",
]

[tool.pytest.ini_options]
Expand Down
Loading