Skip to content

Commit

Permalink
Merge pull request #48 from stefanofusai/42-switch-to-uv-projects
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanofusai authored Dec 6, 2024
2 parents f1c598e + abeb406 commit 4a55bed
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ HTTPCACHE_STORAGE = "scrapy_redis_httpcache.RedisCacheStorage"
## Development

```bash
uv sync
uv sync --group=development
uv run pre-commit install --install-hooks
uv run pre-commit install --hook-type=commit-msg
```
Expand Down
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ maintainers = [
]
requires-python = ">=3.12"
dependencies = [
"pre-commit==4.0.1",
"redis==5.2.0",
"ruff==0.8.2",
"scrapy==2.12.0",
]

Expand All @@ -25,6 +23,12 @@ Repository = "https://github.com/stefanofusai/scrapy-redis-httpcache"
requires = ["hatchling"]
build-backend = "hatchling.build"

[dependency-groups]
development = [
"pre-commit==4.0.1",
"ruff==0.8.2",
]

[tool.mypy]
python_version = "3.12"
strict = true
Expand Down
16 changes: 12 additions & 4 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a55bed

Please sign in to comment.