Skip to content

Commit

Permalink
Use more new features in uv
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmo385 committed Aug 21, 2024
1 parent 5a311af commit a1bafef
Show file tree
Hide file tree
Showing 4 changed files with 638 additions and 1,230 deletions.
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ dependencies = [
"textual-dev",
]

[project.optional-dependencies]
checks = [
"pyright",
"ruff",
]

[project.scripts]
lazy-github = "lazy_github.__main__:main"

Expand Down
4 changes: 1 addition & 3 deletions run_checks.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash

source ./.venv/bin/activate
uv run --extra=checks pyright
uv run --extra=checks ruff check
uvx ruff check
4 changes: 1 addition & 3 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash

uv venv --quiet
uv pip sync --quiet requirements.txt
.venv/bin/python -m lazy_github
uv run lazy_github/__main__.py
Loading

0 comments on commit a1bafef

Please sign in to comment.