Skip to content

Commit

Permalink
Merge pull request #64 from stefanofusai/63-move-development-dependen…
Browse files Browse the repository at this point in the history
…cies-to-dependency-groups
  • Loading branch information
stefanofusai authored Dec 6, 2024
2 parents 733e815 + 296a05d commit 9244651
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ STATS_CLASS = "scrapy_influxdb_exporter.InfluxDBStatsCollector"
## 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 @@ -12,8 +12,6 @@ maintainers = [
requires-python = ">=3.12"
dependencies = [
"influxdb3-python==0.10.0",
"pre-commit==4.0.1",
"ruff==0.8.2",
"scrapy==2.12.0",
]

Expand All @@ -25,6 +23,12 @@ Repository = "https://github.com/stefanofusai/scrapy-influxdb-exporter"
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
12 changes: 10 additions & 2 deletions uv.lock

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

0 comments on commit 9244651

Please sign in to comment.