Skip to content

Commit

Permalink
Fix pre-commit (#25)
Browse files Browse the repository at this point in the history
* Set PyPI name

* simplify pre-commit

* Switch to dynamic versioning

* Fix pre-commit

* Update pre-commit hooks

* fix merge conflict
  • Loading branch information
grst authored Oct 1, 2024
1 parent b15703c commit 1f45ed8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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-cli
url: https://pypi.org/p/dso-cli
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
# - id: prettier
# exclude: '^src/dso/templates/.*\.yaml$' # prettier messes with jinja2 templating here
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.7
rev: v0.6.8
hooks:
- id: ruff
types_or: [python, pyi, jupyter]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling", "hatch-vcs" ]
requires = [ "hatch-vcs", "hatchling" ]

[project]
name = "dso"
dynamic = ["version"]
description = "Data Science Operations on top of dvc"
readme = "README.md"
license = { file = "LICENSE" }
Expand All @@ -23,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = [ "version" ]
dependencies = [
"dvc",
"jinja2",
Expand Down

0 comments on commit 1f45ed8

Please sign in to comment.