Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set PyPI name #24

Merged
merged 3 commits into from
Oct 1, 2024
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
18 changes: 10 additions & 8 deletions .github/workflows/pre_commit.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
name: "DSO lint"
on:
push:
branches: [main]
pull_request:
branches: [main]

name: pre-commit

jobs:
pre_commit:
name: "pre-commit"
pre-commit:
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"

- uses: pre-commit/[email protected]

- uses: stefanzweifel/git-auto-commit-action@v5
if: '!cancelled()'
with:
commit_message: pre-commit autofixes
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/dso # TODO update once settled on a name
url: https://pypi.org/p/dso-cli
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling" ]
requires = [ "hatchling", "hatch-vcs" ]

[project]
name = "dso"
version = "0.8.2"
dynamic = ["version"]
description = "Data Science Operations on top of dvc"
readme = "README.md"
license = { file = "LICENSE" }
Expand Down Expand Up @@ -68,6 +68,9 @@ urls.Source = "https://github.com/Boehringer-Ingelheim/dso"
scripts.dso = "dso:cli"
scripts.dso_pandocfilter = "dso.pandocfilter:main"

[tool.hatch.version]
source = "vcs"

[tool.ruff]
line-length = 120
src = [ "src" ]
Expand Down
Loading