Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored May 2, 2024
2 parents 92b102c + 68903bc commit bbeb007
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ jobs:
- run: uv pip install --system -U mkdocs-material mkdocstrings-python
env:
UV_EXTRA_INDEX_URL: ${{ secrets.UV_EXTRA_INDEX_URL }}
- run: mkdocs build
- run: |
if [[ -n "${{ github.head_ref }}" && "${{ github.repository }}" != "${{ github.event.pull_request.head.repo.full_name }}" ]]; then
mkdocs build --no-strict
else
mkdocs build
fi
test:
name: test on ${{ matrix.python-version }}
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,14 @@ allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["logfire"]

[tool.hatch.build.targets.sdist]
include = [
"/README.md",
"/Makefile",
"/logfire",
"/tests",
]

# https://beta.ruff.rs/docs/configuration/
[tool.ruff]
line-length = 120
Expand Down

0 comments on commit bbeb007

Please sign in to comment.